Verifies that the given transaction has a valid signature based on public-key encryption.
A transaction to verify the signature of. (Can be in object or encoded string format).
Optional publicKey: string
Specific public key to use to verify. If not specified the
SigningPublicKey of tx will be used.
Returns true if tx has a valid signature, and returns false otherwise.
Error when transaction is missing TxnSignature
Error when publicKey is not provided and transaction is missing SigningPubKey
Generated using TypeDoc