validateTransactionSignature
Callable
Parameters
connection: Connection
A connection to the cluster.
signature: string
The signature to validate.
recipient: PublicKey
recipient
in the Solana Pay specamount: BigNumber
amount
in the Solana Pay specoptionalsplToken: PublicKey
splToken
in the Solana Pay specoptionalreference: PublicKey | PublicKey[]
-
reference
in 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.