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/rEc17YM54zCGkzHfnNGtrp1dR31ACUYhep
Path parameterValueDescription
accountAn XRPL account, its r-address
curl 'https://api.xrpl.to/v1/testnet/amm/rEc17YM54zCGkzHfnNGtrp1dR31ACUYhep'

Response

200Example response4 ms · just now · 0.4 KB · 18 lines
https://api.xrpl.to/v1/testnet/amm/rEc17YM54zCGkzHfnNGtrp1dR31ACUYhep
{
  "success": true,
  "took": 1,
  "pool": {
    "_id": "rEc17YM54zCGkzHfnNGtrp1dR31ACUYhep",
    "deleted": false,
    "firstSeen": 1789944340000,
    "ledger": 20930535,
    "spot": 0.6960572959636605,
    "time": 1789975862000,
    "token": {
      "currency": "524C555344000000000000000000000000000000",
      "issuer": "rNuFETH1NSTxZQYmDvPWdMF8dD3FbTzbmP",
      "value": 27814.59723541317
    },
    "xrp": 19360.55334
  }
}
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. Testnet resets without warning; the data is rebuilt from the chain within minutes, and only objects touched since count. Open the Testnet sandbox →
OpenAPI