Get XRP (Ripple) Address Details

Through this endpoint the customer can receive basic information about a given XRP address based on confirmed/synced blocks only. In the case where there are any incoming or outgoing unconfirmed transactions for the specific address, they will not be counted or calculated here.

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}/addresses/{address}

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.

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
      item object
      • Required
        balance object

        Defines the balance of the account.

        • Required
          amount string

          Represents the total amount of the balance.

          Example : 22.0000
        • Required
          unit string

          Represents the unit used for the balance.

          Example : XRP
      • Required
        incomingTransactionsCount integer

        Defines the count of all confirmed incoming transactions from the address for coins. This applies to coins only, not to tokens transfers

        Example : 1
      • Required
        outgoingTransactionsCount integer

        Defines the count of all confirmed outgoing transactions for coins. This applies to coins only, not to tokens transfers

        Example : 1
      • 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 : 25648975
      • Required
        transactionsCount integer

        Represents the total number of all transactions as part of this block.

        Example : 2

Credits Cost : 5 Credits For 1 Result(s)

Try it out

Request Example

GET
https://rest.cryptoapis.io/v2/blockchain-data/xrp-specific/testnet/addresses/rA9bXGJcXvZKaWofrRphdJsBWzhyCfH3z
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": {
        "item": {
            "balance": {
                "amount": "22.0000",
                "unit": "XRP"
            },
            "incomingTransactionsCount": 1,
            "outgoingTransactionsCount": 1,
            "sequence": 25648975,
            "transactionsCount": 2
        }
    }
}