Additionally, paste this code immediately after the opening tag:

Get Transaction Details

Through this endpoint customers can obtain details about specific transaction.

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

Path Parameters

  • Required
    blockchain string

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

    Example : bitcoin
  • Required
    transactionId string

    Reference number for a particular transaction on the blockchain.

    Example : 6597ecb67af4772161af22a5
  • Required
    vaultId string

    Represents the specific 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

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
      item object
      • Required
        direction string

        The direction of a transaction, e.g incoming, outgoing, client-internal, vault-internal, internal.

        Example : incoming
      • Optional
        internalTransfers array

        Information about internal transfers within a transaction.

        • Required
          fromAddress string

          The sender's address for the internal transfer.

          Example : 0xdd06a8b5d79fa90cc4417a66de597eaa97eb141e
        • Required
          operationId string

          The ID of the operation.

          Example : call_0_1_0
        • Required
          operationType string

          The type of operation being performed within the transaction. It provides information about the nature of the action being executed.

          Example : CALL
        • Required
          previousTxHash string

          The hash of the transaction that occurred immediately before the current transaction within the blockchain.

          Example : 0xf2c396008015d3331f0ca54247609af92a0b2c442843a69e10965341659d21d4
        • Required
          timestamp integer

          Time when the transaction was recorded on the blockchain.

          Example : 1701435851
        • Required
          toAddress string

          The receiver's address for the internal transfer.

          Example : 0x267be1c1d684f78cb4f6a176c4911b741e4ffdc0
      • Required
        minedInBlockHeight string

        Represents the hash of the block where this transaction was mined/confirmed for first time.

        Example : 1234324
      • Required
        network string

        The specific network, e.g mainnet, testnet, sepolia, nile.

        Example : testnet
      • Required
        recipients array

        Information about recipients.

        • Required
          address string

          Recipient's address.

          Example : mku7JSyfdtKNEQb9J6aegZysX7iPWhWcp7
        • Optional
          addressType string

          Represents the address type, e.g deposit, smart.

          Example : deposit
        • Required
          amount string

          Amount received.

          Example : 0.0000546
        • Required
          isVaultAddress string

          Indicates if the address belongs to the vault (true/false).

          Example : true
        • Optional
          label string

          Label of the address.

          Example : Bitcoin address
        • Required
          unitSymbol string

          Symbol of the unit e.g. BTC, TRX, ETH.

          Example : BTC
      • Required
        senders array

        Information about senders.

        • Required
          address string

          Sender's address.

          Example : n1osMwQ7oy8qr2BrmNZ6mfCBjpfZJQGmEU
        • Required
          addressType string

          Represents the address type, e.g deposit, smart.

          Example : deposit
        • Required
          amount string

          Amount sent.

          Example : 0.0000546
        • Required
          isVaultAddress string

          Indicates if the address belongs to the vault.

          Example : true
        • Optional
          label string

          Label of the address.

          Example : Bitcoin address
        • Required
          unitSymbol string

          Symbol of the unit e.g. BTC, TRX, ETH.

          Example : BTC
      • Required
        status string

        Transaction status, e.g. await approval, pending, broadcasted.

        Example : confirmed
      • Required
        timestamp integer

        Defines the specific UNIX time when the transaction was created.

        Example : 1704881727
      • Optional
        tokensTransfers array

        Information about token transaction, in case it is about token.

        • Required
          amount string

          Amount of tokens transferred.

          Example : 50000
        • Required
          contract string

          Contract address of the token.

          Example : TXLAQ63Xg1NAzckPwKHvzw7CSEmLMEqcdj
        • Required
          decimals integer

          The number of decimal places that a token can be divided into.

          Example : 18
        • Required
          fromAddress string

          Sender's address.

          Example : TVF2Mp9QY7FEGTnr3DBpFLobA6jguHyMvi
        • Required
          symbol string

          Symbol of the token, e.g. JST, USDT, USDC.

          Example : USDT
        • Required
          toAddress string

          Receiver's address.

          Example : TS1nMMDbKMFCNfdCBmQLiaA5VUdrG31kra
        • Required
          tokenName string

          Name of the token, e.g. Tether, JUST, USD Coin.

          Example : Tether
        • Required
          type string

          Type of token e.g. TRC-20, BEP-20,

          Example : TRC-20
      • Required
        transactionFee object

        Transaction fee information.

        • Required
          amount string

          Amount of transaction fee.

          Example : 5.96124
        • Required
          unitSymbol string

          Symbol of the unit e.g. BTC, TRX, ETH, BNB.

          Example : BTC

Request Example

GET
https://rest.vaultody.com/vaults/6565f9a13f8dcd000760d33a/bitcoin/transactions/6597ecb67af4772161af22a5?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": {
            "direction": "incoming",
            "internalTransfers": [
                {
                    "fromAddress": "0xdd06a8b5d79fa90cc4417a66de597eaa97eb141e",
                    "operationId": "call_0_1_0",
                    "operationType": "CALL",
                    "previousTxHash": "0xf2c396008015d3331f0ca54247609af92a0b2c442843a69e10965341659d21d4",
                    "timestamp": 1701435851,
                    "toAddress": "0x267be1c1d684f78cb4f6a176c4911b741e4ffdc0"
                }
            ],
            "minedInBlockHeight": "1234324",
            "network": "testnet",
            "recipients": [
                {
                    "address": "mku7JSyfdtKNEQb9J6aegZysX7iPWhWcp7",
                    "addressType": "deposit",
                    "amount": "0.0000546",
                    "isVaultAddress": "true",
                    "label": "Bitcoin address",
                    "unitSymbol": "BTC"
                }
            ],
            "senders": [
                {
                    "address": "n1osMwQ7oy8qr2BrmNZ6mfCBjpfZJQGmEU",
                    "addressType": "deposit",
                    "amount": "0.0000546",
                    "isVaultAddress": "true",
                    "label": "Bitcoin address",
                    "unitSymbol": "BTC"
                }
            ],
            "status": "confirmed",
            "timestamp": 1704881727,
            "tokensTransfers": [
                {
                    "amount": "50000",
                    "contract": "TXLAQ63Xg1NAzckPwKHvzw7CSEmLMEqcdj",
                    "decimals": 18,
                    "fromAddress": "TVF2Mp9QY7FEGTnr3DBpFLobA6jguHyMvi",
                    "symbol": "USDT",
                    "toAddress": "TS1nMMDbKMFCNfdCBmQLiaA5VUdrG31kra",
                    "tokenName": "Tether",
                    "type": "TRC-20"
                }
            ],
            "transactionFee": {
                "amount": "5.96124",
                "unitSymbol": "BTC"
            }
        }
    }
}