verify method
Verifies the given signature against the provided message.
- The signature must be a valid Ed25519, Secp256k1, or Secp256R1 signature.
- This method does not support multisig accounts.
- The message must be exactly what is signed.
Returns true
if the signature is valid, otherwise false
.
Implementation
bool verify({required List<int> message, required List<int> signature}) {
throw DartSuiPluginException(
"Unsuported feature in ${scheme.name} account.");
}