List XRP (Ripple) Transactions by Address

This endpoint will list XRP transactions by a attribute address. The transactions listed will detail additional information such as hash, height, time of creation in Unix timestamp, etc.

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

GET /blockchain-data/xrp-specific/{network}/addresses/{address}/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", are test networks.

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

    Represents the public address, which is a compressed and shortened form of a public key.

    Example : rA9bXGJcXvZKaWofrRphdJsBWzhyCfH3z

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.

  • 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 : 10

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 : 2.0
  • 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 : You can add any text here
  • Required
    data object
    • Required
      offset integer

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

      Example : 0
    • Required
      limit integer

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

      Example : 50
    • Required
      total integer

      Defines the total number of items returned in the response.

      Example : 100
    • Required
      items array
      Example : Array ( )
      • Required
        additionalData string

        Represents any additional data that may be needed.

      • Required
        index integer

        Represents the index position of the transaction in the block.

        Example : 3
      • 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 : 3dff3ab3697a0a3116062a92a499dc7b5c9c777b2035f79bb906894972d4573d
      • Required
        minedInBlockHeight integer

        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 : 15949067
      • 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 : 39673
      • Required
        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 : 4256894
      • Required
        transactionHash string

        Represents the hash of the XRP transaction.

        Example : 33684d38ccf56f5b10a25e60b11b251abe6288f41aadd03c7596dced895b282a
      • Required
        type string

        Specifies the type of the transaction.

      • Required
        fee object
        • Required
          amount string

          Defines the amount of the transaction fee.

          Example : 0.000024
        • Required
          unit string

          Defines the unit of the transaction fee.

          Example : XRP
      • Required
        offer object
        • Required
          amount string

          Defines the amount of the offer.

          Example : 5.256
        • Required
          unit string

          Defines the unit of the offer.

          Example : XRP
      • Required
        receive object
        • Required
          amount string

          Defines the amount received.

          Example : 4.236
        • Required
          unit string

          Defines the unit of the amount received.

          Example : XRP
      • Required
        value object
        • Required
          amount string

          Defines the specific amount of the value.

          Example : 22
        • Required
          unit string

          Defines the specific unit of the value.

          Example : XRP
Try it out

Request Example

GET
https://rest.cryptoapis.io/v2/blockchain-data/xrp-specific/testnet/addresses/rA9bXGJcXvZKaWofrRphdJsBWzhyCfH3z/transactions?limit=50&offset=10
Headers
Host: https://rest.cryptoapis.io/v2
Content-Type: application/json
X-API-Key: my-api-key

Response Example

{
    "apiVersion": "2.0",
    "requestId": "601c1710034ed6d407996b30",
    "context": "You can add any text here",
    "data": {
        "offset": 0,
        "limit": 50,
        "total": 100,
        "items": [
            {
                "additionalData": "",
                "index": 3,
                "minedInBlockHash": "3dff3ab3697a0a3116062a92a499dc7b5c9c777b2035f79bb906894972d4573d",
                "minedInBlockHeight": 15949067,
                "recipients": [
                    {
                        "address": "rNUY3X3HovAXuTesTbMh8PAX6CM5V2RzMY",
                        "amount": "0.00001"
                    }
                ],
                "senders": [
                    {
                        "address": "rNUY3X3HovAXuTesTbMh8PAX6CM5V2RzMY",
                        "amount": "0.00001"
                    }
                ],
                "sequence": 39673,
                "status": "",
                "timestamp": 4256894,
                "transactionHash": "33684d38ccf56f5b10a25e60b11b251abe6288f41aadd03c7596dced895b282a",
                "type": "",
                "fee": {
                    "amount": "0.000024",
                    "unit": "XRP"
                },
                "offer": {
                    "amount": "5.256",
                    "unit": "XRP"
                },
                "receive": {
                    "amount": "4.236",
                    "unit": "XRP"
                },
                "value": {
                    "amount": "22",
                    "unit": "XRP"
                }
            }
        ]
    }
}