List XRP (Ripple) Transactions By Block Height

This endpoint will list transactions by an attribute blockHeight. The transactions listed will detail additional information such as hash, addresses, time of creation in Unix timestamp, etc.

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

List of Results - This endpoint returns multiple objects which means pagination is applicable. GET /blockchain-data/xrp-specific/{network}/blocks/height/{blockHeight}/transactions

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
    blockHeight integer
    Example : 15971358

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

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

    Default : 50
    Example : 50
  • Optional
    offset integer

    The starting index of the response items, i.e. where the response should start listing the returned items.

    Default : 0
    Example : 0

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 : 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
      limit integer

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

      Example : 50
    • Required
      offset integer

      The starting index of the response items, i.e. where the response should start listing the returned items.

      Example : 0
    • Required
      total integer

      Defines the total number of items returned in the response.

      Example : 100
    • Required
      items array
      Example : Array ( )
      • Optional
        additionalData string
        Example : r4CmvbkDWGt9AZmkfuubmiSdsxGZFxAKBY
      • Optional
        destinationTag integer
        Example : 3999472835
      • Required
        index integer
        Example : 3
      • Required
        minedInBlockHash string
        Example : 14754656235f865a74eba27791fd41a47bdfe07fe811ff6d78f53db32e129e39
      • Required
        recipients array

        Object Array representation of transaction receivers

        • Required
          address string

          String representation of the receiver address

          Example : rNUY3X3HovAXuTesTbMh8PAX6CM5V2RzMY
        • Required
          amount string

          String representation of the amount

          Example : 0.0001
      • Required
        senders array

        Object Array representation of transaction senders

        • Required
          address string

          String array representation of the sender address

          Example : rPmPErQe4g9725pcNxJpuvKkdqTESTQ6Tu
        • Required
          amount string

          String representation of the amount

          Example : 0.0001
      • Required
        sequence integer
        Example : 32568
      • Required
        status string
        Example : tesSUCCESS
      • 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 : 236589
      • Required
        transactionHash string
        Example : ba3bc1337071c8e73b441fe12a1911f4365d7ea82cace7c8ecba3ee9f364978b
      • Required
        type string
        Example : Payment
      • Required
        fee object
        • Required
          amount string
          Example : 2.0325
        • Required
          unit string
          Example : XRP
      • Required
        offer object
        • Required
          amount string
          Example : 8.2365
        • Required
          unit string
          Example : XRP
      • Required
        receive object
        • Required
          amount string
          Example : 6.2354
        • Required
          unit string
          Example : XRP
      • Required
        value object
        • Required
          amount string
          Example : 22.023
        • Required
          unit string
          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/blocks/height/15971358/transactions?context=yourExampleString&limit=50&offset=0
Headers
Content-Type: application/json
X-API-Key: my-api-key

Response Example

{
    "apiVersion": "2023-04-25",
    "requestId": "601c1710034ed6d407996b30",
    "context": "yourExampleString",
    "data": {
        "limit": 50,
        "offset": 0,
        "total": 100,
        "items": [
            {
                "additionalData": "r4CmvbkDWGt9AZmkfuubmiSdsxGZFxAKBY",
                "destinationTag": 3999472835,
                "index": 3,
                "minedInBlockHash": "14754656235f865a74eba27791fd41a47bdfe07fe811ff6d78f53db32e129e39",
                "recipients": [
                    {
                        "address": "rNUY3X3HovAXuTesTbMh8PAX6CM5V2RzMY",
                        "amount": "0.0001"
                    }
                ],
                "senders": [
                    {
                        "address": "rPmPErQe4g9725pcNxJpuvKkdqTESTQ6Tu",
                        "amount": "0.0001"
                    }
                ],
                "sequence": 32568,
                "status": "tesSUCCESS",
                "timestamp": 236589,
                "transactionHash": "ba3bc1337071c8e73b441fe12a1911f4365d7ea82cace7c8ecba3ee9f364978b",
                "type": "Payment",
                "fee": {
                    "amount": "2.0325",
                    "unit": "XRP"
                },
                "offer": {
                    "amount": "8.2365",
                    "unit": "XRP"
                },
                "receive": {
                    "amount": "6.2354",
                    "unit": "XRP"
                },
                "value": {
                    "amount": "22.023",
                    "unit": "XRP"
                }
            }
        ]
    }
}