Ancestry

This endpoint retrieves a recursive ordered list of accounts that activated a given account.

Request

GET /api/v1/account/{ACCOUNT}/ancestry

Example

curl https://api.xrpscan.com/api/v1/account/rrpNnNLKrartuEqfJGpqyDwPj1AFPg9vn1/ancestry

Response

{
  "account": "rrpNnNLKrartuEqfJGpqyDwPj1AFPg9vn1",
  "parent": "rf8kg7r5Fc8cCszGdD2jeUZt2FrgQd76BS",
  "inception": "2013-02-19T02:36:20.000Z",
  "ledger_index": 244032,
  "ancestry": [
    {
      "account": "rf8kg7r5Fc8cCszGdD2jeUZt2FrgQd76BS",
      "inception": "2013-01-01T03:21:10.000Z",
      "ledger_index": 32570,
      "depth": 1,
      "accountName": {
        "username": "ahbritto",
        "account": "rf8kg7r5Fc8cCszGdD2jeUZt2FrgQd76BS"
      }
    },
    {
      "account": "rrpNnNLKrartuEqfJGpqyDwPj1AFPg9vn1",
      "parent": "rf8kg7r5Fc8cCszGdD2jeUZt2FrgQd76BS",
      "inception": "2013-02-19T02:36:20.000Z",
      "ledger_index": 244032,
      "tx_hash": "66F353F9A72178768AB5B03DC2922C30C4E118BEF8758632B7063BDDE512D335",
      "depth": 0,
      "accountName": {
        "username": "Bitstamp-hot",
        "account": "rrpNnNLKrartuEqfJGpqyDwPj1AFPg9vn1"
      }
    }
  ]
}

Last updated