v1

latestOpenAPI 3.0.32026-07-267278168.1 KB
Auth

Get SIWE Address Book Challenge

Get a Sign-In with Ethereum challenge for adding a withdrawal address.

post/v1/auth/erc-4361/address_book/get_challenge

Request body

walletAddressstring required

The wallet address requesting to add a withdrawal address

chainId'1' | '43114' required

EVM chain ID (1=Ethereum, 43114=Avalanche)

withdrawalAddressstring required

The address to add to the withdrawal address book

Example request

{
  "walletAddress": "0x505D602729B932959935C1efd350Cea74527d3D1",
  "chainId": "43114",
  "withdrawalAddress": "0x054A94b753CBf65D1Bc484F6D41897b48251fbfF"
}

Response

Challenge for signing

successboolean required

Whether the request was successful

errorstring

Error message, present only on failure

error_codestring

Semantic error code. See each endpoint's error responses for the specific codes it can return.

deprecatedstring

Deprecation notice, if applicable

Example response

{
  "success": true,
  "result": {
    "id": "abc123"
  }
}