aa

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)

get/defi/v1/aa/getsignaturemessage

Request

  • Base URL
    https://svc.blockdaemon.com
  • URL
    https://svc.blockdaemon.com/defi/v1/aa/getsignaturemessage
  • Auth
    API key in header X-API-Key

Query parameters

chainId'1' | '56' | '43114' | '137' | '250' | '10' | '11155420' | '42161' | '421614' | '25' | '338' | '84532' | '8453' | '43113' | '97' | '80002' | '300' | '324'

The unique ID to direct queries or transactions to the correct blockchain. Find more here.

Example:1
chainSymbolstring

The abbreviated chain name for queries or transactions.

Example:ETH
senderstring required

On-chain wallet address.

Example:0x03D3a52d79eeB5014dFe28258e8c0978Ecd8e65c
noncestring

Anti-replay parameter.

Example:0
initCodestring

The initCode of the account. (needed if and only if the account is not yet on-chain and needs to be created)

Example:0x
preVerificationGasstring

Gas units to compensate the bundler for pre-verification overhead and calldata encoding, as an integer string (ERC-4337).

Example:53576
verificationGasLimitstring

Maximum gas units for verifying the user operation (signature validation and paymaster logic), as an integer string (ERC-4337).

Example:362451
gasLimitstring

Maximum gas units for the overall user operation execution, as an integer string (ERC-4337).

Example:10000
callGasLimitstring

Maximum gas units for the main execution call of the user operation, as an integer string (ERC-4337).

Example:260611
callDatastring

Encoded data for executing the primary function call or operation within the user's transaction.

Example:0x38ed173900000000000000000000000000000000000000000000000000038d7ea4c68000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000063056e00436da25bcf48a40dfbbdcc708935100600000000000000000000000000000000000000000000000000000000634d00ee0000000000000000000000000000000000000000000000000000000000000002000000000000000000000000b4fbf271143f4fbf7b91a5ded31805e42b2208d600000000000000000000000011fe4b6ae13d2a6055c8d9cf65c55bac32b5d844
maxPriorityFeePerGasstring

Maximum priority fee (tip) per gas unit in wei to incentivize validators or bundlers, as an integer string (EIP-1559). Example: '1000000000' = 1 gwei.

Example:100000000
maxFeePerGasstring

Maximum total fee per gas unit in wei (base fee + priority fee), as an integer string (EIP-1559). Example: '20000000000' = 20 gwei.

Example:29964445250
paymasterAndDatastring

Address of paymaster sponsoring the transaction, followed by extra data to send to the paymaster. (empty for self-sponsored transaction)

Example:0x

Response

Successful response

statusinteger
msgstring
dataobject

Example response

{
  "status": 200,
  "msg": "success",
  "data": {
    "messageToBeSigned": "0x4617338a3acd06271c356d52f8cfc260519e8e2115f0af41eb79b7ac13b1963c"
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.