createTransfer
Callable
Parameters
connection: Connection
A connection to the cluster.
sender: PublicKey
Account that will send the transfer.
fields: CreateTransferFields
Fields of a Solana Pay transfer request URL.
options: { commitment?: Commitment } = {}
Options for
getRecentBlockhash
.
Returns Promise<Transaction>
Create a Solana Pay transfer transaction.
{CreateTransferError}