XRPSCAN
HomeMetricsValidatorsAmendments
  • 📖Build with XRPSCAN
  • 📘API Documentation
    • Introduction
    • Pricing
      • Pay as you Go (PAYG)
    • API Concepts
      • Pagination
    • Account
      • Account info
      • Activations
      • Ancestry
      • Assets
      • Deposit Preauths
      • DEX Orders
      • Escrows
      • Issued tokens
      • Issued token balance
      • NFTs
      • Settings
      • Trustlines
      • Transactions
      • Xumm KYC status
    • Transaction
      • Transaction info
    • Ledger
      • Ledgers
      • Ledger info
      • Transactions
    • NFT
      • NFT info
    • AMM
      • AMM info
      • Pools
    • Object
      • Object info
    • Amendment
      • Amendments
      • Amendment info
    • Validator
      • Registry
      • Validator info
      • Report
    • Node
      • Nodes
      • Node info
    • Network
      • Fee
      • Server info
      • Server versions
    • Account Name
      • Well known accounts
    • Balance
      • Balances
    • Fact
      • Facts in namespace
      • Fact
    • Metrics
      • Metrics
    • Health
      • Ping
  • 📗Help
    • Integration guide
    • Validator
    • Contribute
    • Privacy policy
    • Contact us
  • 📙FAQs
    • How to report scams
Powered by GitBook
On this page
  • Request
  • Example
  • Response
  1. API Documentation
  2. Account

Assets

PreviousAncestryNextDeposit Preauths

Last updated 1 year ago

This endpoint retrieves IOU tokens owned by a given account.

Tokens can represent any type of value, including "stablecoins" backed by assets that exist outside of the ledger, purely digital tokens created specifically on the XRP Ledger, community credit, and more.

Request

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

Example

curl https://api.xrpscan.com/api/v1/account/rGFuMiw48HdbnrUbkRYuitXTmfrDBNTCnX/assets

Response

[
  {
    "counterparty": "rvYAfWj5gh67oV6fW32ZzP3Aw4Eubs59B",
    "currency": "BTC",
    "value": "36.41805453512676",
    "counterpartyName": {
      "username": "Bitstamp",
      "account": "rvYAfWj5gh67oV6fW32ZzP3Aw4Eubs59B"
    }
  },
  {
    "counterparty": "rvYAfWj5gh67oV6fW32ZzP3Aw4Eubs59B",
    "currency": "EUR",
    "value": "4926372.911025",
    "counterpartyName": {
      "username": "Bitstamp",
      "account": "rvYAfWj5gh67oV6fW32ZzP3Aw4Eubs59B"
    }
  },
  {
    "counterparty": "rvYAfWj5gh67oV6fW32ZzP3Aw4Eubs59B",
    "currency": "USD",
    "value": "4673369.908680244",
    "counterpartyName": {
      "username": "Bitstamp",
      "account": "rvYAfWj5gh67oV6fW32ZzP3Aw4Eubs59B"
    }
  }
]
📘
LogoTokens | XRPL.org
Read more about Tokens on xrpl.org