Facts in namespace

This endpoint retrieves a list of known facts for a given namespace. List of supported namespaces is available below.

Namespace ID
Description

AMM

AMM facts

ObjectCount

XRP ledger object counts

XRP

XRP distribution facts

Request

GET /api/v1/fact/{NAMESPACE_ID}

Example

curl https://api.xrpscan.com/api/v1/fact/ObjectCount

Response

{
  "AccountRoot": "4720986",
  "DirectoryNode": "2473626",
  "Offer": "136748",
  "NFTokenPage": "84894",
  "RippleState": "6391527",
  "NFTokenOffer": "161814",
  "SignerList": "72683",
  "Ticket": "32063",
  "LedgerHashes": "1245",
  "Escrow": "10015",
  "PayChannel": "2407",
  "Check": "16",
  "DepositPreauth": "51",
  "NegativeUNL": "1",
  "FeeSettings": "1",
  "Amendments": "1"
}

Last updated