v1

latestOpenAPI 3.0.32026-07-26184851.6 MB
Addresses

Generate Address

This endpoint allows you to create a new address for a specific wallet.

Body Parameters

KeyRequiredTypeDescription
namefalsestringThe name of the address.
metadatafalseobjectAdditional metadata for the address, this will be part of any transaction tied to this
disableAutoSweepfalsebooleanDisable automatic sweeping of assets sent to the address into your master wallet
enableGaslessWithdrawfalsebooleanEnable gasless transactions from this address
post/v1/wallets/{walletId}/addresses

Request body

disableAutoSweepstring
enableGaslessWithdrawstring
metadatastring
namestring

Example request

{
  "disableAutoSweep": "OPTIONAL_BOOLEAN",
  "enableGaslessWithdraw": "OPTIONAL_BOOLEAN",
  "metadata": "OPTIONAL_METADATA",
  "name": "OPTIONAL_ADDRESS_NAME"
}

Response

200

messagestring
statusCodenumber

Example response

{
  "data": {
    "address": "0xe1037B45b48390285e5067424053fa35c478296b",
    "blockchain": {
      "createdAt": "2024-05-14T11:53:33.095Z",
      "derivationPath": "m/44'/60'/0'/0",
      "id": "85ffc132-3972-4c9e-99a5-5cf0ccb688bf",
      "isActive": true,
      "isEvmCompatible": true,
      "logoUrl": "https://res.cloudinary.com/blockradar/image/upload/v1716800081/crypto-assets/ethereum-eth-logo_idraq2.png",
      "name": "ethereum",
      "slug": "ethereum",
      "symbol": "eth",
      "tokenStandard": "ERC20",
      "updatedAt": "2024-06-14T22:32:11.983Z"
    },
    "configurations": {
      "aml": {
        "message": "Address is not sanctioned",
        "provider": "ofac",
        "status": "success"
      }
    },
    "createdAt": "2024-10-23T11:13:40.446Z",
    "derivationPath": "m/44'/60'/0'/0/87",
    "id": "0a69c48a-6c6f-422c-bd6a-70de3306a3ac",
    "isActive": true,
    "metadata": {
      "user_id": 1
    },
    "name": "Customer 1",
    "network": "testnet",
    "type": "INTERNAL",
    "updatedAt": "2024-10-23T11:13:40.446Z"
  },
  "message": "Address generated successfully",
  "statusCode": 200
}