signTypedData
connectClient.evm.signTypedData(params) ⇒
Signs EVM typed data (EIP-712) using a provider connection.
Kind: instance method of ConnectClient
Returns: Promise with the signed typed data response
Throws:
ArmorySdkException
If there's an error signing the typed data
params
Parameters for signing typed data
params.connectionId
Unique identifier of the provider connection
params.accessToken
Optional access token for authentication
params.data
Typed data signing request
params.data.data
The typed data to sign (EIP-712 format)
params.data.data.domain
Domain parameters for the typed data
params.data.data.types
Type definitions for the structured data
params.data.data.primaryType
The primary type being signed
params.data.data.message
The data to sign, structured according to types
params.data.source
Source of the signing request
params.data.source.type
Type of source ('account' or 'address')
params.data.source.id
Identifier of the source account or address
params.data.idempotenceId
Unique identifier to ensure idempotence
params.data.requestId
Optional request identifier for tracking
Example
Last updated