getAddress method
- {int index = 0,
- dynamic bytes}
override
Returns the Hex address associated with the signer.
Optional parameters:
index
: The index or position of the signer. Used for multi-signature scenarios.id
: An optional identifier associated with the signing process.
hex string length is 40+2 for Ethereum addresses and 64+2 Passkey compliant addresses
Returns a String representing a valid hex string.
Implementation
@override
String getAddress({int index = 0, bytes}) {
return getEthereumAddress(index: index).hex;
}