Trustlines

This endpoint retrieves information about an account's trust lines, which contain balances in all non-XRP currencies and assets. All information retrieved is relative to a last validated ledger.

Request

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

Example

curl https://api.xrpscan.com/api/v1/account/rf1BiGeXwwQoi8Z2ueFYTEXSwuJYfV2Jpn/trustlines2

Response

{
  "account": "rf1BiGeXwwQoi8Z2ueFYTEXSwuJYfV2Jpn",
  "ledger_current_index": 81505485,
  "lines": [
    {
      "account": "rJF9txJpy3RG7XkXsiL72us5X5txbQDFgA",
      "balance": "0",
      "currency": "VGB",
      "limit": "0",
      "limit_peer": "100000000",
      "no_ripple": false,
      "no_ripple_peer": true,
      "quality_in": 0,
      "quality_out": 0
    },
    {
      "account": "rvYAfWj5gh67oV6fW32ZzP3Aw4Eubs59B",
      "balance": "0",
      "currency": "USD",
      "limit": "1000000000",
      "limit_peer": "0",
      "no_ripple": true,
      "no_ripple_peer": false,
      "quality_in": 0,
      "quality_out": 0
    },
    {
      "account": "r9qheokwreSsfdFqvYzYerrTa6xGpD8N5r",
      "balance": "0",
      "currency": "USD",
      "limit": "0",
      "limit_peer": "10000",
      "no_ripple": false,
      "no_ripple_peer": false,
      "quality_in": 0,
      "quality_out": 0
    },
    {
      "account": "ra5nK24KXen9AHvsdFTKHSANinZseWnPcX",
      "balance": "-14.0301",
      "currency": "USD",
      "limit": "0",
      "limit_peer": "100",
      "no_ripple": false,
      "no_ripple_peer": false,
      "quality_in": 0,
      "quality_out": 0
    },
    {
      "account": "rMwjYedjc7qqtKYVLiAccJSmCwih4LnE2q",
      "balance": "0.0001",
      "currency": "USD",
      "limit": "110",
      "limit_peer": "0",
      "no_ripple": true,
      "no_ripple_peer": false,
      "quality_in": 0,
      "quality_out": 0
    },
    {
      "account": "rsA2LpzuawewSBQXkiju3YQTMzW13pAAdW",
      "balance": "0",
      "currency": "USD",
      "freeze": true,
      "limit": "110",
      "limit_peer": "0",
      "peer_authorized": true,
      "quality_in": 0,
      "quality_out": 0
    },
    {
      "account": "rKaSUCRdBL5tnjEfbnA67JfbzHtCKsyNyE",
      "balance": "0",
      "currency": "USD",
      "limit": "0",
      "limit_peer": "10000000",
      "no_ripple": false,
      "no_ripple_peer": false,
      "quality_in": 0,
      "quality_out": 0
    }
  ],
  "validated": false
}

Response format

Additional properties may be available in the response based on rippled account_lines command.

Last updated