/v1/testnet/health
Both collectors' head ledger against the network, and whether that is current
Request
https://api.xrpl.to/v1/testnet/healthcurl 'https://api.xrpl.to/v1/testnet/health'
Response
https://api.xrpl.to/v1/testnet/health{ "success": true, "took": 2, "ok": true, "validated": 20930544, "node": { "state": "full", "networkId": 1, "ledgers": "20922978-20930544" }, "stages": { "tokens": { "ledger": 20930544, "at": 1789975899324, "lag": 0 }, "nfts": { "ledger": 20930544, "at": 1789975899322, "lag": 0 } } }
{ ok, validated, node: { state, networkId, ledgers }, stages: { tokens: { ledger, at, lag }, nfts: { ledger, at, lag } } }
What it does
Both collectors' head ledger against the network, and whether that is current