Additionally, paste this code immediately after the opening tag:

List Transactions by Vault

Through this endpoint customers can obtain details on transactions by vault id.

key.singleItemTitle GET /vaults/{vaultId}/transactions

Path Parameters

  • Required
    vaultId string

    The sepcific Vault ID.

    Example : 6565f9a13f8dcd000760d33a

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 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
        blockchain string

        The blockchain protoocl, e.g Bitcoin, Ethereum, Tron.

        Example : bitcoin
      • Required
        createdTimestamp integer

        When this transaction was created.

        Example : 1705399159
      • Required
        direction string

        The direction of the transaction in this Vault, incoming or outgoing transaction.

        Example : incoming
      • Required
        hasTokenTransfer string

        If this transaction has any tokens transfers.

        Example : false
      • Required
        id string

        The transaction ID in Vaultody, this is needed for pagination/load more functionality.

        Example : 654ba3af9e8dd80901f17347
      • Required
        isInternal string

        If this transaction has any Internal Transactions.

        Example : false
      • Required
        minedInBlockHeight string

        The block height this transaction was mined in.

        Example : 1234324
      • Required
        network string

        The blockchain network e.g mainnet, testnet, sepolia.

        Example : mainnet
      • Required
        recipients array

        Recipients are all addresses receive assets in this transaction.

        • Required
          address string

          The public address itself.

          Example : TKGMSZh4Wf3pVB2gWkUqzU7vwGhRy4H245
        • Optional
          addressType string

          The address type, e.g deposit, smart.

          Example : deposit
        • Required
          amount string

          The amount received.

          Example : 5.96124
        • Required
          isVaultAddress string

          If this address belongs to this Vault or not.

          Example : true
        • Optional
          label string

          The label of the address.

          Example : Tron address
        • Required
          unitSymbol string

          The unit symbol e.g. BTC, TRX, BNB.

          Example : USDT
      • Required
        senders array

        Senders are all addresses send assets in this transaction.

        • Required
          address string

          The public sender's address.

          Example : TF5mtoWoahGhJiPU4BXXANPvL1kuRwrBoM
        • Optional
          addressType string

          The address type , e.g. Deposit, Smart.

        • Required
          amount string

          The amount sent.

          Example : 0.000001
        • Required
          isVaultAddress string

          If this address belongs to this Vault.

          Example : true
        • Optional
          label string

          The address label.

        • Required
          unitSymbol string

          The symbol, e.g BTC, TRX, BNB, ETH.

          Example : BTC
      • Required
        status string

        The status of the transaction.

        Example : completed
      • Required
        transactionFee object

        The transaction fee details.

        • Required
          amount string

          The transaction fee amount

          Example : 5.96124
        • Required
          unitSymbol string

          The transaction fee symbol.

          Example : TRX
      • Required
        transactionId string

        The blockchain transaction ID.

        Example : 281a63d28ddf6d0d5d78090b7cdf3a8c0be95bbb296544943ef45d9dec44405d

Request Example

GET
https://rest.vaultody.com/vaults/6565f9a13f8dcd000760d33a/transactions?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": [
            {
                "blockchain": "bitcoin",
                "createdTimestamp": 1705399159,
                "direction": "incoming",
                "hasTokenTransfer": "false",
                "id": "654ba3af9e8dd80901f17347",
                "isInternal": "false",
                "minedInBlockHeight": "1234324",
                "network": "mainnet",
                "recipients": [
                    {
                        "address": "TKGMSZh4Wf3pVB2gWkUqzU7vwGhRy4H245",
                        "addressType": "deposit",
                        "amount": "5.96124",
                        "isVaultAddress": "true",
                        "label": "Tron address",
                        "unitSymbol": "USDT"
                    }
                ],
                "senders": [
                    {
                        "address": "TF5mtoWoahGhJiPU4BXXANPvL1kuRwrBoM",
                        "addressType": "",
                        "amount": "0.000001",
                        "isVaultAddress": "true",
                        "label": "",
                        "unitSymbol": "BTC"
                    }
                ],
                "status": "completed",
                "transactionFee": {
                    "amount": "5.96124",
                    "unitSymbol": "TRX"
                },
                "transactionId": "281a63d28ddf6d0d5d78090b7cdf3a8c0be95bbb296544943ef45d9dec44405d"
            }
        ]
    }
}