v18

latestOpenAPI 3.1.0raw.githubusercontent.com2026-08-013469188.5 KB
Accounts

Register a new account

Register a new account with factory, factory data, session details, and target. target.chain must use a CAIP-2 chain identifier (for example "eip155:8453").

post/register

Headers

x-api-keystring required

API key for authentication

Example:your-api-key

API key for authentication

x-api-versionstring

API version identifier (e.g. "2026-04.amazon"). Optional today, will become required in a future release.

Example:2026-04.amazon

API version identifier (e.g. "2026-04.amazon"). Optional today, will become required in a future release.

Request body

Example request

{
  "account": {
    "address": "0x742d35Cc6634C0532925a3b844Bc9e7595f5bE91",
    "accountParams": {
      "factory": "0x742d35Cc6634C0532925a3b844Bc9e7595f5bE91",
      "factoryData": "0x1234abcd",
      "sessionDetails": {
        "hashesAndChainIds": [
          {
            "chainId": 1,
            "sessionDigest": "0x1234abcd"
          }
        ],
        "signature": "0x1234abcd"
      }
    },
    "target": {
      "chain": "eip155:8453",
      "token": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "outputTokenRules": [
        {
          "match": {
            "symbol": "USDC"
          },
          "outputToken": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"
        },
        {
          "match": {
            "chain": "eip155:10",
            "symbol": "ETH"
          },
          "outputToken": "0x0000000000000000000000000000000000000000"
        }
      ],
      "rejectUnmapped": true
    }
  }
}

Response

Account registered successfully

evmDepositAddressstring required
solanaDepositAddressstring
tronDepositAddressstring