Skip to main content
GET
/
v1
/
account
/
sign-request
Get Sign Request
curl --request GET \
  --url https://api.example.com/v1/account/sign-request
{
  "typedData": {
    "typedData.domain": {},
    "typedData.types": {},
    "typedData.primaryType": "<string>",
    "typedData.message": {}
  },
  "chainId": 123,
  "sessionKeyAddress": "<string>",
  "smartAddress": "<string>"
}

Overview

Request a typed data message to sign for deploying your smart wallet. This is the first step in the smart wallet deployment process.
This endpoint requires authentication. Include your JWT token in the Authorization header.

Query Parameters

chainId
number
Optional chain ID for deployment. If not provided, uses the default configured chain.

Response

typedData
object
required
EIP-712 typed data structure to sign
chainId
number
required
The chain ID for deployment
sessionKeyAddress
string
required
The session key address that will be configured
smartAddress
string
required
Your smart wallet address
{
  "typedData": {
    "domain": {
      "name": "ZeroDev",
      "version": "1",
      "chainId": 8453,
      "verifyingContract": "0x..."
    },
    "types": {
      "Permission": [...]
    },
    "primaryType": "Permission",
    "message": {
      "sessionKey": "0x...",
      "permissions": [...]
    }
  },
  "chainId": 8453,
  "sessionKeyAddress": "0x...",
  "smartAddress": "0xabcdef1234567890..."
}