ledger-sub-accounts

Check funding address for a sub-account.

Changed on

This operation allows the client to get the address for the sub-account if it exists

get/ledger/subaccounts/{subAccountIdRef}/funding-address

Request

Response

Address Fetched Successfully

availableboolean required

Indicates if the funding address has been generated and is available for use. When false, the fundingAddress field will be null, and the client can create the address. When true, the fundingAddress field will contain the deposit address details.

Example response

{
  "fundingAddress": {
    "address": "0x43e4715ae093a4c86b5ecddb52216c4f879e9672",
    "tokenInfo": {
      "code": "ETH_USDC",
      "decimals": 6,
      "contractAddress": "0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48",
      "minimumDeposit": 5.25,
      "platformFeePercentage": 0.001,
      "networkInfo": {
        "id": "ETH",
        "name": "Ethereum",
        "blockTime": 15,
        "confirmations": 8,
        "coinName": "Ether",
        "coinSymbol": "ETH",
        "alias": "BEP20",
        "addressExplorerUrl": "https://etherscan.io/address",
        "txExplorerUrl": "https://etherscan.io/tx"
      }
    }
  }
}

Changes

    • info

      the endpoint scheme security HMACAuth was added to the API

    • info

      the endpoint scheme security authToken was removed from the API

    • info

      added the optional property // to the response with the status

    • info

      endpoint added