validateTransfer
Callable
Parameters
connection: Connection
A connection to the cluster.
signature: string
The signature of the transaction to validate.
fields: ValidateTransferFields
Fields of a Solana Pay transfer request to validate.
optionaloptions: { commitment?: Finality }
Options for
getTransaction
.
Returns Promise<TransactionResponse>
Check that a given transaction contains a valid Solana Pay transfer.
{ValidateTransferError}