Additionally, paste this code immediately after the opening tag:

List Addresses by Asset ID and Vault ID

This endpoint allows users to retrieve information about their specific asset in a vault.

key.singleItemTitle GET /assets/{assetId}/vaults/{vaultId}/{blockchain}/{network}/addresses

Path Parameters

  • Required
    assetId string

    The specific asset ID.

    Example : 6523e058a06ebf1322d7dd6f
  • Required
    blockchain string

    The specific blockchain - e.g. Bitcoin, Ethereum,Binance Smart Chain, Tron.

    Example : bitcoin
  • Required
    network string

    The specific network - mainnet, testnet, sepolia, nile..

    Example : mainnet
  • Required
    vaultId string

    The specific vault ID.

    Example : 659fafcfe763c900076a0e44

Query Paramaters

  • Optional
    context string

    In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. context is specified by the user.

    Example : yourExampleString

Response Schema

200 400 401 402 403 409 415 422 429 500
Http Status Code: 200
Content Type: application/json

The request has been successful.

  • Object :

  • Required
    apiVersion string

    Specifies the version of the API that incorporates this endpoint.

    Example : 2024-05-09
  • Required
    requestId string

    Defines the ID of the request. The requestId is generated by Vaultody and it's unique for every request.

    Example : 601c1710034ed6d407996b30
  • Optional
    context string

    In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. context is specified by the user.

    Example : yourExampleString
  • Required
    data object
    • Required
      item object
      • Required
        addresses array
        • Required
          address string

          Represents the address associated with the assets.

          Example : tb1qpv55wm7g3cuwyhky0jy82dru4c69p0uuwrnq0w
        • Required
          addressType string

          The type of the address e.g. smart, deposit, change.

          Example : deposit
        • Required
          allocatedAmount string

          Allocated amount of the specific asset in the address.

          Example : 0
        • Required
          availableAmount string

          Available amount of the specific asset in the address.

          Example : 0
        • Required
          blockedAmount string

          Blocked amount of the specific asset in the address.

          Example : 0
        • Required
          label string

          Represents the name of the address.

          Example : yourAddressLabelHere
        • Required
          totalAmount string

          Total amount of the specific asset in the address.

          Example : 0.00006739
      • Required
        exchangeRate string

        The current exchange rate.

        Example : 40022.59732885433

Request Example

GET
https://rest.vaultody.com/assets/6523e058a06ebf1322d7dd6f/vaults/659fafcfe763c900076a0e44/bitcoin/mainnet/addresses?context=yourExampleString
Headers
Content-Type: application/json
x-api-key: cb233681a8ee35665296c1824c1f67bc46691788
x-api-sign: PSqeqRLap8rBc/wogNU1DeGGUPb2VyVtg6GiBOaBnYQ=
x-api-timestamp: 1681885776
x-api-passphrase: zYgKeueoOq

Response Example

{
    "apiVersion": "2024-05-09",
    "requestId": "601c1710034ed6d407996b30",
    "context": "yourExampleString",
    "data": {
        "item": {
            "addresses": [
                {
                    "address": "tb1qpv55wm7g3cuwyhky0jy82dru4c69p0uuwrnq0w",
                    "addressType": "deposit",
                    "allocatedAmount": "0",
                    "availableAmount": "0",
                    "blockedAmount": "0",
                    "label": "yourAddressLabelHere",
                    "totalAmount": "0.00006739"
                }
            ],
            "exchangeRate": "40022.59732885433"
        }
    }
}