signTypedData
Signs typed data (EIP-712) using the smart account. This method requests the account associated with the signer and uses it to sign the typed data.
Import
Usage
Parameters
client
InnerWalletApiClient
- The wallet API client to use for the request
signer
SmartAccountSigner
- The signer of the smart account
params
TypedDataDefinition
- The typed data to sign, following EIP-712 format
Returns
Promise<SignTypedDataResult>
A Promise that resolves to the signature as a hex string