当前位置: 首页 > 工具软件 > rippled > 使用案例 >

rippled-historical-database

鲁浩言
2023-12-01

ripple data api:

GitHub地址:https://github.com/ripple/rippled-historical-database/releases


{
  "name": "rippled-historical-database",
  "version": "2.4.0",
  "documentation": "https://github.com/ripple/rippled-historical-database",
  "release-notes": "https://github.com/ripple/rippled-historical-database/releases/tag/v2.4.0",
  "endpoints": [
    {
      "action": "Get Account Transactions",
      "route": "/v2/accounts/{:address}/transactions",
      "example": "http://localhost:8080/v2/accounts/r3kmLJN5D28dHuH8vZNUZpMC43pEHpaocV/transactions"
    },
    {
      "action": "Get Account Transactions By Sequence",
      "route": "/v2/accounts/{:address}/transactions/{:sequence}",
      "example": "http://localhost:8080/v2/accounts/r3kmLJN5D28dHuH8vZNUZpMC43pEHpaocV/transactions/112"
    },
    {
      "action": "Get Account Payments",
      "route": "/v2/accounts/{:address}/payments",
      "example": "http://localhost:8080/v2/accounts/r3kmLJN5D28dHuH8vZNUZpMC43pEHpaocV/payments"
    },
    {
      "action": "Get Account Exchanges",
      "route": "/v2/accounts/{:address}/exchanges",
      "example": "http://localhost:8080/v2/accounts/rQaxmmRMasgt1edq8pfJKCfbkEiSp5FqXJ/exchanges"
    },
    {
      "action": "Get Account Balance Changes",
      "route": "/v2/accounts/{:address}/balance_changes",
      "example": "http://localhost:8080/v2/accounts/r3kmLJN5D28dHuH8vZNUZpMC43pEHpaocV/balance_changes"
    },
    {
      "action": "Get Account Reports",
      "route": "/v2/accounts/{:address}/reports/{:date}",
      "example": "http://localhost:8080/v2/accounts/r3kmLJN5D28dHuH8vZNUZpMC43pEHpaocV/reports/2013-02-01"
    },
    {
      "action": "Get Account Balances",
      "route": "/v2/accounts/{:address}/balances",
      "example": "http://localhost:8080/v2/accounts/r3kmLJN5D28dHuH8vZNUZpMC43pEHpaocV/balances"
    },
    {
      "action": "Get Account Orders",
      "route": "/v2/accounts/{:address}/orders",
      "example": "http://localhost:8080/v2/accounts/r3kmLJN5D28dHuH8vZNUZpMC43pEHpaocV/orders"
    },
    {
      "action": "Get Account Transaction Stats",
      "route": "/v2/accounts/{:address}/stats/transactions",
      "example": "http://localhost:8080/v2/accounts/r3kmLJN5D28dHuH8vZNUZpMC43pEHpaocV/stats/transactions"
    },
    {
      "action": "Get Account Value Stats",
      "route": "/v2/accounts/{:address}/stats/value",
      "example": "http://localhost:8080/v2/accounts/r3kmLJN5D28dHuH8vZNUZpMC43pEHpaocV/stats/value"
    },
    {
      "action": "Get Account",
      "route": "/v2/accounts/{:address}",
      "example": "http://localhost:8080/v2/accounts/rB31eWvkfKBAu6FDD9zgnzT4RwSfXGcqPm"
    },
    {
      "action": "Get Accounts",
      "route": "/v2/accounts",
      "example": "http://localhost:8080/v2/accounts?parent=r3kmLJN5D28dHuH8vZNUZpMC43pEHpaocV"
    },
    {
      "action": "Get Ledgers",
      "route": "/v2/ledgers/{:ledger_hash/ledger_index/date}",
      "example": "http://localhost:8080/v2/ledgers"
    },
    {
      "action": "Get Transactions",
      "route": "/v2/transactions",
      "example": "http://localhost:8080/v2/transactions?start=2015-08-01"
    },
    {
      "action": "Get Transaction",
      "route": "/v2/transactions/{:tx_hash}",
      "example": "http://localhost:8080/v2/transactions/3B1A4E1C9BB6A7208EB146BCDB86ECEA6068ED01466D933528CA2B4C64F753EF"
    },
    {
      "action": "Get Payments",
      "route": "/v2/payments/{:currency+issuer}",
      "example": "http://localhost:8080/v2/payments/USD+rvYAfWj5gh67oV6fW32ZzP3Aw4Eubs59B"
    },
    {
      "action": "Get Exchanges",
      "route": "/v2/exchanges/{:base}/{:counter}",
      "example": "http://localhost:8080/v2/exchanges/XRP/USD+rvYAfWj5gh67oV6fW32ZzP3Aw4Eubs59B"
    },
    {
      "action": "Get Active Accounts",
      "route": "/v2/active_accounts/{:base}/{:counter}",
      "example": "http://localhost:8080/v2/active_accounts/XRP/USD+rvYAfWj5gh67oV6fW32ZzP3Aw4Eubs59B"
    },
    {
      "action": "Get Exchange Volume",
      "route": "/v2/network/exchange_volume",
      "example": "http://localhost:8080/v2/network/exchange_volume"
    },
    {
      "action": "Get Payment Volume",
      "route": "/v2/network/payment_volume",
      "example": "http://localhost:8080/v2/network/payment_volume"
    },
    {
      "action": "Get External Market Volume",
      "route": "/v2/network/external_markets",
      "example": "http://localhost:8080/v2/network/external_markets?period=3day"
    },
    {
      "action": "Get XRP Distribution",
      "route": "/v2/network/xrp_distribution",
      "example": "http://localhost:8080/v2/network/xrp_distribution"
    },
    {
      "action": "Get Top Currencies",
      "route": "/v2/network/top_currencies/{:date}",
      "example": "http://localhost:8080/v2/network/top_currencies"
    },
    {
      "action": "Get Top Markets",
      "route": "/v2/network/top_markets/{:date}",
      "example": "http://localhost:8080/v2/network/top_markets"
    },
    {
      "action": "Get Network Topology",
      "route": "/v2/network/topology",
      "example": "http://localhost:8080/v2/network/topology"
    },
    {
      "action": "Get Network Topology Nodes",
      "route": "/v2/network/topology/nodes",
      "example": "http://localhost:8080/v2/network/topology/nodes"
    },
    {
      "action": "Get Network Topology Node by public key",
      "route": "/v2/network/topology/nodes/:",
      "example": "http://localhost:8080/v2/network/topology/nodes/n94JjtkVyx6oTN1Rxs6RyxB9xCQB7NHpv5ibStmNHVQtDAZMJ2LB"
    },
    {
      "action": "Get Network Topology Links",
      "route": "/v2/network/topology/links",
      "example": "http://localhost:8080/v2/network/topology/links"
    },
    {
      "action": "Get Validators",
      "route": "/v2/network/validators",
      "example": "http://localhost:8080/v2/network/validators"
    },
    {
      "action": "Get Validator",
      "route": "/v2/network/validators/{:pubkey}",
      "example": "http://localhost:8080/v2/network/validators/n949f75evCHwgyP4fPVgaHqNHxUVN15PsJEZ3B3HnXPcPjcZAoy7"
    },
    {
      "action": "Get Validator Validations",
      "route": "/v2/network/validators/{:pubkey}/validations",
      "example": "http://localhost:8080/v2/network/validators/n949f75evCHwgyP4fPVgaHqNHxUVN15PsJEZ3B3HnXPcPjcZAoy7/validations"
    },
    {
      "action": "Get Validator Manifests",
      "route": "/v2/network/validators/{:pubkey}/manifests",
      "example": "http://localhost:8080/v2/network/validators/n949f75evCHwgyP4fPVgaHqNHxUVN15PsJEZ3B3HnXPcPjcZAoy7/manifests"
    },
    {
      "action": "Get Validator Reports",
      "route": "/v2/network/validators/{:pubkey}/reports",
      "example": "http://localhost:8080/v2/network/validators/n949f75evCHwgyP4fPVgaHqNHxUVN15PsJEZ3B3HnXPcPjcZAoy7/reports"
    },
    {
      "action": "Get Validator Reports",
      "route": "/v2/network/validator_reports",
      "example": "http://localhost:8080/v2/network/validator_reports"
    },
    {
      "action": "Get Validations",
      "route": "/v2/network/validations",
      "example": "http://localhost:8080/v2/network/validations"
    },
    {
      "action": "Get Rippled Versions",
      "route": "/v2/network/rippled_versions",
      "example": "http://localhost:8080/v2/network/rippled_versions"
    },
    {
      "action": "Get Exchange Rate",
      "route": "/v2/exchange_rates/{:base}/{:counter}",
      "example": "http://localhost:8080/v2/exchange_rates/XRP/USD+rvYAfWj5gh67oV6fW32ZzP3Aw4Eubs59B"
    },
    {
      "action": "Normalize Amount",
      "route": "/v2/normalize",
      "example": "http://localhost:8080/v2/normalize?amount=2000&currency=XRP&exchange_currency=USD&exchange_issuer=rvYAfWj5gh67oV6fW32ZzP3Aw4Eubs59B"
    },
    {
      "action": "Get Daily Summary",
      "route": "/v2/reports/{:date}",
      "example": "http://localhost:8080/v2/reports"
    },
    {
      "action": "Get Transaction Statistics",
      "route": "/v2/stats/{:family}/{:metric}",
      "example": "http://localhost:8080/v2/stats"
    },
    {
      "action": "Check Health",
      "route": "/v2/health/{:component}",
      "example": "http://localhost:8080/v2/health/importer?verbose=true"
    }
  ]
}
 类似资料: