Get Signature Message
This endpoint retrieves a hexadecimal signature message that must be signed by the sender as part of the account abstraction process. The signed message serves as a critical authorization component for subsequent user operations on the blockchain.
💡 Compute Unit Value: 15 (Fixed)
Request
- Base URLhttps://svc.blockdaemon.com
- URLhttps://svc.blockdaemon.com/defi/v1/aa/getsignaturemessage
- AuthAPI key in header X-API-Key
Query parameters
The unique ID to direct queries or transactions to the correct blockchain. Find more here.
The abbreviated chain name for queries or transactions.
On-chain wallet address.
Anti-replay parameter.
The initCode of the account. (needed if and only if the account is not yet on-chain and needs to be created)
Gas units to compensate the bundler for pre-verification overhead and calldata encoding, as an integer string (ERC-4337).
Maximum gas units for verifying the user operation (signature validation and paymaster logic), as an integer string (ERC-4337).
Maximum gas units for the overall user operation execution, as an integer string (ERC-4337).
Maximum gas units for the main execution call of the user operation, as an integer string (ERC-4337).
Encoded data for executing the primary function call or operation within the user's transaction.
Maximum priority fee (tip) per gas unit in wei to incentivize validators or bundlers, as an integer string (EIP-1559). Example: '1000000000' = 1 gwei.
Maximum total fee per gas unit in wei (base fee + priority fee), as an integer string (EIP-1559). Example: '20000000000' = 20 gwei.
Address of paymaster sponsoring the transaction, followed by extra data to send to the paymaster. (empty for self-sponsored transaction)
Response
Successful response
Example response
{
"status": 200,
"msg": "success",
"data": {
"messageToBeSigned": "0x4617338a3acd06271c356d52f8cfc260519e8e2115f0af41eb79b7ac13b1963c"
}
}Changes
No recorded changes to this operation across all 1 revision of this API.