Get XRP (Ripple) Transaction Details By Transaction ID

Through this endpoint customers can obtain details about a XRP transaction by the transaction's unique identifier.

Since XRP is a different blockchain than Bitcoin and Ethereum, it isn't unified.

Single Result - This endpoint returns only one single result. GET /blockchain-data/xrp-specific/{network}/transactions/{transactionHash}

Path Parameters

  • 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", "ropsten" are test networks.

    Example : testnet
    Possible Values : mainnet testnet
  • Required
    transactionHash string

    Represents the same as transactionId for account-based protocols like Ethereum, while it could be different in UTXO-based protocols like Bitcoin. E.g., in UTXO-based protocols hash is different from transactionId for SegWit transactions.

    Example : 36a1737481edec87bacc3101dfb752ae2c76f9171e7edebe587e330c1ea77c8d

Query parameters

  • 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 : 2023-04-25
  • Required
    requestId string

    Defines the ID of the request. The requestId is generated by Crypto APIs 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
        additionalData string

        Represents additional data that may be needed.

        Example : rPmPErQe4g9725pcNxJpuvKkdqTESTQ6Tu
      • Optional
        destinationTag integer
        Example : 3999472835
      • Required
        index string

        Defines the index of the transaction, i.e. the consecutive place it takes in the blockchain.

        Example : 2
      • Required
        minedInBlockHash string

        Represents the hash of the block where this transaction was mined/confirmed for first time. The hash is defined as a cryptographic digital fingerprint made by hashing the block header twice through the SHA256 algorithm.

        Example : 3f7af58d6cf1cd9020fb285d8e3e215131800d5109e42647ffd9b3aeae59df33
      • Required
        minedInBlockHeight string

        Represents the hight of the block where this transaction was mined/confirmed for first time. The height is defined as the number of blocks in the blockchain preceding this specific block.

        Example : 15973802
      • Required
        offer object

        Defines the specific offer.

        • Required
          amount string

          Defines the amount of the offer.

          Example : 3.0154
        • Required
          unit string

          Defines the unit of the offer.

          Example : XRP
      • Required
        receive object

        Defines on object array of the funds for which an offer is made.

        • Required
          amount string

          Defines the amount of the funds for which an offer is made.

          Example : 2.1256
        • Required
          unit string

          Defines the unit of the funds for which an offer is made.

          Example : XRP
      • Required
        recipients array

        Represents an object of addresses that receive the transactions.

        • Required
          address string

          Represents the hash of the address that receives the funds.

          Example : rNUY3X3HovAXuTesTbMh8PAX6CM5V2RzMY
        • Required
          amount string

          Defines the amount of the received funds as a string.

          Example : 0.00001
      • Required
        senders array

        Represents an object of addresses that provide the funds.

        • Required
          address string

          Represents the hash of the address that provides the funds.

          Example : rNUY3X3HovAXuTesTbMh8PAX6CM5V2RzMY
        • Required
          amount string

          Represents the total amount sent by this address including the fee.

          Example : 0.00001
      • Required
        sequence integer

        Defines the transaction input's sequence as an integer, which is is used when transactions are replaced with newer versions before LockTime.

        Example : 4294967295
      • Optional
        status string

        Defines the status of the transaction.

      • Required
        timestamp integer

        Defines the exact date/time in Unix Timestamp when this transaction was mined, confirmed or first seen in Mempool, if it is unconfirmed.

        Example : 1582202940
      • Required
        transactionHash string

        Represents the same as transactionId for account-based protocols like Ethereum, while it could be different in UTXO-based protocols like Bitcoin. E.g., in UTXO-based protocols hash is different from transactionId for SegWit transactions.

        Example : 36a1737481edec87bacc3101dfb752ae2c76f9171e7edebe587e330c1ea77c8d
      • Required
        type string

        Defines the type of the transaction.

        Example : Payment
      • Required
        fee object
        • Required
          amount string

          Defines the amount of the fee.

          Example : 0.0021
        • Required
          unit string

          Defines the unit of the fee.

          Example : XRP
      • Required
        value object
        • Required
          amount string

          Defines the amount of the value.

          Example : 3.0254
        • Required
          unit string

          Defines the unit of the value.

          Example : XRP

Credits Cost : 100 Credits For 1 Result(s)

Try it out

Request Example

GET
https://rest.cryptoapis.io/blockchain-data/xrp-specific/testnet/transactions/36a1737481edec87bacc3101dfb752ae2c76f9171e7edebe587e330c1ea77c8d?context=yourExampleString
Headers
Content-Type: application/json
X-API-Key: my-api-key

Response Example

{
    "apiVersion": "2023-04-25",
    "requestId": "601c1710034ed6d407996b30",
    "context": "yourExampleString",
    "data": {
        "item": {
            "additionalData": "rPmPErQe4g9725pcNxJpuvKkdqTESTQ6Tu",
            "destinationTag": 3999472835,
            "index": "2",
            "minedInBlockHash": "3f7af58d6cf1cd9020fb285d8e3e215131800d5109e42647ffd9b3aeae59df33",
            "minedInBlockHeight": "15973802",
            "offer": {
                "amount": "3.0154",
                "unit": "XRP"
            },
            "receive": {
                "amount": "2.1256",
                "unit": "XRP"
            },
            "recipients": [
                {
                    "address": "rNUY3X3HovAXuTesTbMh8PAX6CM5V2RzMY",
                    "amount": "0.00001"
                }
            ],
            "senders": [
                {
                    "address": "rNUY3X3HovAXuTesTbMh8PAX6CM5V2RzMY",
                    "amount": "0.00001"
                }
            ],
            "sequence": 4294967295,
            "status": "",
            "timestamp": 1582202940,
            "transactionHash": "36a1737481edec87bacc3101dfb752ae2c76f9171e7edebe587e330c1ea77c8d",
            "type": "Payment",
            "fee": {
                "amount": "0.0021",
                "unit": "XRP"
            },
            "value": {
                "amount": "3.0254",
                "unit": "XRP"
            }
        }
    }
}