signMessage
evm.signMessage(params) ⇒
Signs an EVM message using a provider connection.
Kind: static method of evm
Returns: Promise with the signed message response
Throws:
ArmorySdkException
If there's an error signing the message
params
Parameters for signing the message
params.connectionId
Unique identifier of the provider connection
params.accessToken
Optional access token for authentication
params.data
Message signing request data
params.data.data
The message to sign, can be a string or an object with 'raw' property
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