Readonlyb256The Fuel B256 address (0x-prefixed, 64-char hex string).
Sign a message using the appropriate personal_sign format.
For Fuel-native accounts: Fuel personalSign
(\x19Fuel Signed Message:\n prefix + SHA-256).
For EVM accounts: Ethereum personalSign
(\x19Ethereum Signed Message:\n prefix + keccak256).
The raw message bytes to sign.
A 64-byte Fuel compact signature.
Interface for objects that can sign messages for the O2 Exchange.
Both built-in wallets (Wallet, EvmWallet) and external signers (ExternalSigner, ExternalEvmSigner) satisfy this interface. For custom signing backends (hardware wallets, AWS KMS, HSMs, etc.), implement this interface directly or use the provided external signer classes.
Example