Additionally, paste this code immediately after the opening tag:

Get Transaction Request Details

Through this endpoint customers can obtain details on transaction request.

This regards transaction requests, which is not to be confused with transactions. Transaction requests may not be approved due to any reason, hence a transaction may not occur.

key.singleItemTitle GET /transactionRequests/{transactionRequestId}

Path Parameters

  • Required
    transactionRequestId string

    Represents the unique ID of the transaction request.

    Example : 6115126693397c0006f78eb4

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

        Defines an optional note for additional details.

        Example : yourExampleStringHere
      • Required
        blockchain string

        Represents the specific blockchain protocol name, e.g. Ethereum, Bitcoin, etc.

        Example : bitcoin
        Possible Values : bitcoin ethereum binance-smart-chain tron
      • Required
        feePriority string

        Defines the priority for the fee, if it is "slow", "standard" or "fast".

        Example : standard
        Possible Values : slow standard fast
      • Required
        network string

        Represents the name of the blockchain network used; blockchain networks are usually identical as technology and software, but they differ in data, e.g. - "mainnet" is the live network with actual data while networks like "testnet", "sepolia" are test networks.

        Example : testnet
        Possible Values : mainnet testnet mordor sepolia
      • Required
        recipients array

        Represents a list of recipient addresses with the respective amounts. In account-based protocols like Ethereum there is only one address in this list.

        • Required
          address string

          The address which receives this transaction. In UTXO-based protocols like Bitcoin there could be several senders while in account-based protocols like Ethereum there is always only one recipient.

          Example : mr3zKBc7skyDHcVHWww4JzzziPnrdYTscR
        • Optional
          addressTag integer

          Defines a specific Tag that is an additional XRP address feature. It helps identify a transaction recipient beyond a wallet address. The tag that was encoded into the x-Address along with the Classic Address.

          Example : 3999472835
        • Required
          amount string

          Represents the amount received to this address.

          Example : 0.001
        • Optional
          classicAddress string

          Represents the public address, which is a compressed and shortened form of a public key. A classic address is shown when the destination address is an x-Address.

          Example : rA9bXGJcXvZKaWofrRphdJsBWzhyCfH3z
        • Required
          unit string

          Defines the unit of the amount.

          Example : BTC
      • Required
        totalTransactionAmount string

        Defines the total transaction amount.

        Example : 0.001
      • Required
        transactionId string

        Represents the unique identifier of a transaction, i.e. it could be transactionId in UTXO-based protocols like Bitcoin, and transaction hash in Ethereum blockchain.

        Example : 61922aa68f192800067a8404
      • Required
        transactionRequestStatus string

        Defines the status of the transaction request, e.g. pending.

        Example : created
        Possible Values : created await-approval pending prepared signed broadcasted success failed rejected mined mined-with-errors await-approval-l2
      • Required
        transactionType string

        Defines the transaction type, if it is for coins or tokens.

        Example : coin
        Possible Values : coin token
      • Required
        unit string

        Defines the unit of the amount.

        Example : BTC
      • Required
        vaultId string

        Defines the unique ID of the Vault.

        Example : 60c9d9921c38030006675ff6

Request Example

GET
https://rest.vaultody.com/transactionRequests/6115126693397c0006f78eb4?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": {
            "additionalDetails": "yourExampleStringHere",
            "blockchain": "bitcoin",
            "feePriority": "standard",
            "network": "testnet",
            "recipients": [
                {
                    "address": "mr3zKBc7skyDHcVHWww4JzzziPnrdYTscR",
                    "addressTag": 3999472835,
                    "amount": "0.001",
                    "classicAddress": "rA9bXGJcXvZKaWofrRphdJsBWzhyCfH3z",
                    "unit": "BTC"
                }
            ],
            "totalTransactionAmount": "0.001",
            "transactionId": "61922aa68f192800067a8404",
            "transactionRequestStatus": "created",
            "transactionType": "coin",
            "unit": "BTC",
            "vaultId": "60c9d9921c38030006675ff6"
        }
    }
}