SigningCallback typedef
Callback function type for signing transaction payloads.
This function receives the payload to be signed and must return the signature.
Parameters:
payload: The SCALE-encoded signing payload (typically 32 bytes after hashing)
Returns: A Uint8List containing the signature (typically 64 bytes for Sr25519/Ed25519)
Implementation
typedef SigningCallback = Uint8List Function(Uint8List payload);