fetchTransaction
Callable
Parameters
connection: Connection
A connection to the cluster.
account: PublicKey
Account that may sign the transaction.
link: string | URL
link
in the Solana Pay spec.options: { commitment?: Commitment } = {}
Options for
getRecentBlockhash
.
Returns Promise<Transaction>
Fetch a transaction from a Solana Pay transaction request link.
{FetchTransactionError}