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.

List of Results - This endpoint returns multiple objects which means pagination is applicable. 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", "ropsten" 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.

    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
  • Optional
    transactionType string
    Example : payment
    Possible Values : account-set account-delete check-cancel check-cash check-create deposit-preauth escrow-cancel escrow-create escrow-finish offer-cancel offer-create payment payment-channel-claim payment-channel-create payment-channel-fund set-regular-key signer-list-set ticket-create trust-set

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
        destinationTag integer
        Example : 3999472835
      • 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.

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

        Represents the hash of the XRP transaction.

        Example : 33684d38ccf56f5b10a25e60b11b251abe6288f41aadd03c7596dced895b282a
      • Required
        type string

        Specifies the type of the transaction.

        Example : OfferCreate
      • 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

Credits Cost : 100 Credits For 1 Result(s)

Try it out

Request Example

GET
https://rest.cryptoapis.io/blockchain-data/xrp-specific/testnet/addresses/rA9bXGJcXvZKaWofrRphdJsBWzhyCfH3z/transactions?context=yourExampleString&limit=50&offset=0&transactionType=payment
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": [
            {
                "destinationTag": 3999472835,
                "index": 3,
                "minedInBlockHash": "3dff3ab3697a0a3116062a92a499dc7b5c9c777b2035f79bb906894972d4573d",
                "minedInBlockHeight": 15949067,
                "recipients": [
                    {
                        "address": "rNUY3X3HovAXuTesTbMh8PAX6CM5V2RzMY",
                        "amount": "0.00001"
                    }
                ],
                "senders": [
                    {
                        "address": "rNUY3X3HovAXuTesTbMh8PAX6CM5V2RzMY",
                        "amount": "0.00001"
                    }
                ],
                "sequence": 39673,
                "status": "tesSUCCESS",
                "timestamp": 4256894,
                "transactionHash": "33684d38ccf56f5b10a25e60b11b251abe6288f41aadd03c7596dced895b282a",
                "type": "OfferCreate",
                "fee": {
                    "amount": "0.000024",
                    "unit": "XRP"
                },
                "offer": {
                    "amount": "5.256",
                    "unit": "XRP"
                },
                "receive": {
                    "amount": "4.236",
                    "unit": "XRP"
                },
                "value": {
                    "amount": "22",
                    "unit": "XRP"
                }
            }
        ]
    }
}