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.
Last updated