Wallets

Return the EIP-7702 authorization the owner signs

Changed on

AVS-side consent, first of two approvals (delegate, then session grant). Chain-bound: chainId=0 is refused. First production chains are Sepolia and Base, and the SMA-7702 pin must be configured. Partner assertions are refused. Does not broadcast and does not install session hooks.

post/wallets/{address}/delegation:prepare

Request

  • Base URL
    https://api.avaprotocol.org/api/v1
  • Auth
    HTTP bearer

Request body

chainIdinteger

Numeric chain ID (e.g. 11155111 for Sepolia, 8453 for Base). On chain-aware trigger/node configs this is required and must be a configured chain; on query/filter params it is optional.

Example request

{
  "chainId": 11155111
}

Response

Authorization payload to sign.

chainIdinteger required

Numeric chain ID (e.g. 11155111 for Sepolia, 8453 for Base). On chain-aware trigger/node configs this is required and must be a configured chain; on query/filter params it is optional.

delegatestring required

Lowercase or checksummed hex EOA / contract address.

nonceinteger required

Authority (EOA) nonce for the 7702 authorization.

digeststring required

Arbitrary-length hex-encoded byte string.

Example response

{
  "chainId": 11155111,
  "delegate": "0x82F2Dd9a552a69f2ceD7Ff2D05c43aB8430158FB"
}

Changes

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status