validateTransactionSignature
Callable
Parameters
connection: Connection
A connection to the cluster.
signature: string
The signature to validate.
recipient: PublicKey
recipientin the Solana Pay specamount: BigNumber
amountin the Solana Pay specoptionalsplToken: PublicKey
splTokenin the Solana Pay specoptionalreference: PublicKey | PublicKey[]
-
referencein the Solana Pay specoptionalfinality: Finality
A subset of Commitment levels, which are at least optimistically confirmed
Returns Promise<TransactionResponse>
Validate that a given transaction signature corresponds with a transaction containing a valid Solana Pay transfer.