GET /testnet/amm/{account}
GET

/v1/testnet/amm/{account}

A Testnet AMM pool by its account

AuthNone — works without a key

Request

GEThttps://api.xrpl.to/v1/testnet/amm/rHh8QTC8Jr8dEwzUWTQxdFF3ZBhKGp1gAk
Path parameterValueDescription
accountAn XRPL account, its r-address
curl 'https://api.xrpl.to/v1/testnet/amm/rHh8QTC8Jr8dEwzUWTQxdFF3ZBhKGp1gAk'

Response

200Example response4 ms · just now · 0.6 KB · 23 lines
https://api.xrpl.to/v1/testnet/amm/rHh8QTC8Jr8dEwzUWTQxdFF3ZBhKGp1gAk
{
  "success": true,
  "took": 0,
  "pool": {
    "_id": "rHh8QTC8Jr8dEwzUWTQxdFF3ZBhKGp1gAk",
    "createTx": "36D75A00764A5E778E72B3A70D269B7EC146FF790C0D0F6491101393CDAAF0BC",
    "created": 1793416980000,
    "creator": "rQHiCsu9meFXm8tUADeaucaKGdnn5S4Nbj",
    "deleted": false,
    "fee": 10,
    "firstSeen": 1793416980000,
    "ledger": 21981577,
    "lp": "22406249.12831238",
    "spot": 0.7994417869829618,
    "time": 1793516661000,
    "token": {
      "currency": "524C555344000000000000000000000000000000",
      "issuer": "rKmPxq4hD4m27cVy7kqRmwnV59rXVwWML7",
      "value": 25065.53236930943
    },
    "xrp": 20038.433989
  }
}
Shapeas documented
{ pool }

What it does

A Testnet AMM pool by its account

Start at GET /v1/testnet/fixtures: it names live accounts, a busy token, an NFT with offers and one of every ledger object that xrpl.to keeps alive on Testnet, plus a real transaction of every type. The busiest token gains holders every hour, so its GET /v1/testnet/tokens/{md5}/holders is the place to test paginating a long list. Testnet resets without warning; the data is rebuilt from the chain within minutes, and only objects touched since count. Open the Testnet sandbox →
OpenAPI