createTransaction
Callable
Parameters
connection: Connection
A connection to the cluster.
payer: PublicKey
PublicKeyof the payer.recipient: PublicKey
recipientin the Solana Pay specamount: BigNumber
amountin the Solana Pay speccreateTransactionParams: CreateTransactionParams = {}
Additional parameters
Returns Promise<Transaction>
Create a Solana Pay transaction.
Reference implementation for wallet providers.