XRPSCAN
HomeMetricsValidatorsAmendments
  • 📖Build with XRPSCAN
  • 📘API Documentation
    • Introduction
    • Pricing
      • Pay as you Go (PAYG)
    • API Concepts
      • Pagination
    • Account
      • Account info
      • Activations
      • Ancestry
      • Assets
      • Deposit Preauths
      • DEX Orders
      • Escrows
      • Issued tokens
      • Issued token balance
      • NFTs
      • Settings
      • Trustlines
      • Transactions
      • Xumm KYC status
    • Transaction
      • Transaction info
    • Ledger
      • Ledgers
      • Ledger info
      • Transactions
    • NFT
      • NFT info
    • AMM
      • AMM info
      • Pools
    • Object
      • Object info
    • Amendment
      • Amendments
      • Amendment info
    • Validator
      • Registry
      • Validator info
      • Report
    • Node
      • Nodes
      • Node info
    • Network
      • Fee
      • Server info
      • Server versions
    • Account Name
      • Well known accounts
    • Balance
      • Balances
    • Fact
      • Facts in namespace
      • Fact
    • Metrics
      • Metrics
    • Health
      • Ping
  • 📗Help
    • Integration guide
    • Validator
    • Contribute
    • Privacy policy
    • Contact us
  • 📙FAQs
    • How to report scams
Powered by GitBook
On this page
  • Request
  • Parameters
  • Example
  • Response
  1. API Documentation
  2. AMM

Pools

PreviousAMM infoNextObject

Last updated 3 months ago

This endpoint retrieves available AMM pools

Request

GET /api/v1/amm/pools

Parameters

The endpoint supports custom result limit and pagination via limit and offset query parameters.

Example

curl https://api.xrpscan.com/api/v1/amm/pools

Response

[
  {
    "Account": "rdrBYMcjBo9zVExL7V3DicH48FXgKW5RX",
    "Asset": {
      "currency": "XRP"
    },
    "Asset2": {
      "currency": "5852505300000000000000000000000000000000",
      "issuer": "rN1bCPAxHDvyJzvkUso1L2wvXufgE4gXPL"
    },
    "AuctionSlot": {
      "Account": "rKYZMwA5viogqKYpnSUpLJXag17KM27map",
      "DiscountedFee": 30,
      "Expiration": 764541201,
      "Price": {
        "currency": "036A7A7F2A97B4FA6DC31E9C00A24DF4436A76ED",
        "issuer": "rdrBYMcjBo9zVExL7V3DicH48FXgKW5RX",
        "value": "0"
      }
    },
    "Flags": 0,
    "LPTokenBalance": {
      "currency": "036A7A7F2A97B4FA6DC31E9C00A24DF4436A76ED",
      "issuer": "rdrBYMcjBo9zVExL7V3DicH48FXgKW5RX",
      "value": "895237102.9651812"
    },
    "OwnerNode": "0",
    "TradingFee": 300,
    "VoteSlots": [
      {
        "VoteEntry": {
          "Account": "rKYZMwA5viogqKYpnSUpLJXag17KM27map",
          "TradingFee": 300,
          "VoteWeight": 100000
        }
      }
    ],
    "index": "4147EE9748EC1E13566D445E1B9DB77540E34CA604423C12B1ADCF693C92B307",
    "Balance": 49149000774
  },
  ...
  ...
]
📘
Pagination