Persists the data fetched with XRP-Price-Aggregator on the XRP
Ledger. This data is persisted by xrpl-labs.com on rXUMMaPpZqPutoRszR29jtC8amWq3APkx
.
Background info: https://dev.to/wietse/aggregated-xrp-usd-price-info-on-the-xrp-ledger-1087
Fetch the XRP-USD rate live from the XRPL with this command (XXRPL ahau WebSocket Node connection required, eg. using wss://xrplcluster.com)
{
"command": "account_lines",
"account": "rXUMMaPpZqPutoRszR29jtC8amWq3APkx"
}
Want to get the last transaction updating the price data (eg. to compare ledger index / timestamp, or to view the raw data (in the transaction Memos)) simply get the last transaction:
{
"command": "account_tx",
"account": "rXUMMaPpZqPutoRszR29jtC8amWq3APkx",
"limit": 1
}
The account (rXUMMaPpZqPutoRszR29jtC8amWq3APkx
) history will show you the source data (using CSV in Memo's)