A transaction to verify the signature of. (Can be in object or encoded string format).
Optional
publicKey: stringSpecific 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.
Verifies that the given transaction has a valid signature based on public-key encryption.