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