Additionally, paste this code immediately after the opening tag:

List Addresses by Vault and Blockchain

key.paginationItemTitle GET /vaults/{vaultId}/{blockchain}/addresses

Path Parameters

  • Required
    blockchain string

    Represents the specific blockchain protocol name, e.g. Bitcoin, Ethereum, Binance Smart Chain, Tron, etc.

    Example : bitcoin
  • Required
    vaultId string

    Defines the unique ID of the Vault.

    Default : 60c9d9921c38030006675ff6
    Example : 60c9d9921c38030006675ff6

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
  • Optional
    limit integer

    Defines how many items should be returned in the response per page basis.

    Default : 50
    Example : 50
  • Optional
    startingAfter string

    Defines the id of the previous listed record id from which the current list should start from.

    Example : 5ca21f92cf5431000105d1a7

Response Schema

200 400 401 402 403 404 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
      limit integer

      Defines how many items should be returned in the response per page basis.

      Example : 50
    • Optional
      startingAfter string

      Defines the id of the previous listed record id from which the current list should start from.

      Example : 5ca21f92cf5431000105d1a7
    • Required
      hasMore boolean

      Defines whether or not there are more elements available after this set.

      Example : true
    • Required
      items array
      Example : Array ( )
      • Required
        address string

        Specifies the specific address.

        Example : tb1qa8jcjyf3nlv33jwu2n55fzvgc5q9gapa02fxlz
      • Required
        createdTimestamp string

        Defines the specific UNIX time when the deposit address was created.

        Example : 1624028267
      • Required
        id string

        The unique ID of the address.

        Example : 654902b79943250007d7bd1d
      • Required
        label string

        Represents a custom label that customers can set up for addresses.

        Example : Address name
      • Required
        type string

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

        Example : deposit

Request Example

GET
https://rest.vaultody.com/vaults/60c9d9921c38030006675ff6/bitcoin/addresses?context=yourExampleString&limit=50&startingAfter=5ca21f92cf5431000105d1a7
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": {
        "limit": 50,
        "startingAfter": "5ca21f92cf5431000105d1a7",
        "hasMore": true,
        "items": [
            {
                "address": "tb1qa8jcjyf3nlv33jwu2n55fzvgc5q9gapa02fxlz",
                "createdTimestamp": "1624028267",
                "id": "654902b79943250007d7bd1d",
                "label": "Address name",
                "type": "deposit"
            }
        ]
    }
}