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
  • Example
  • Response
  • Response format
  1. API Documentation
  2. AMM

AMM info

This endpoint retrieves information about a given AMM account

Request

GET /api/v1/amm/{AMM_ACCOUNT}

Example

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

Response

{
  "account": "rs9ineLqrCzeAGS1bxsrW8x2n3bRJYAh3Q",
  "amount": "14679296731",
  "amount2": {
    "currency": "USD",
    "issuer": "rhub8VRN55s94qWKDv6jmDy1pUykJzF3wq",
    "value": "9043.349269355098"
  },
  "asset2_frozen": false,
  "auction_slot": {
    "account": "raBZQW4ZmhbhnjJFc6U7AQkCeTAHkmAP4y",
    "discounted_fee": 29,
    "expiration": "2024-03-25T12:08:50+0000",
    "price": {
      "currency": "03930D02208264E2E40EC1B0C09E4DB96EE197B1",
      "issuer": "rs9ineLqrCzeAGS1bxsrW8x2n3bRJYAh3Q",
      "value": "8670"
    },
    "time_interval": 20
  },
  "lp_token": {
    "currency": "03930D02208264E2E40EC1B0C09E4DB96EE197B1",
    "issuer": "rs9ineLqrCzeAGS1bxsrW8x2n3bRJYAh3Q",
    "value": "11108703.80455174"
  },
  "trading_fee": 290,
  "vote_slots": [
    {
      "account": "rBLPZR37M5rhKMLyeNqJZEHEivJob6ptFm",
      "trading_fee": 1000,
      "vote_weight": 5181
    },
    {
      "account": "rGgzn7VassmMM6vSzb5UqZbYbtegrkg5KB",
      "trading_fee": 100,
      "vote_weight": 19393
    }
  ]
}

Response format

Additional properties may be available in the response based on rippled's amm_info command.

PreviousAMMNextPools

Last updated 1 year ago

📘
amm_info
Logo