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
Copy GET /api/v1/account/{ACCOUNT}/assets
Example
curl
Copy curl https://api.xrpscan.com/api/v1/account/rGFuMiw48HdbnrUbkRYuitXTmfrDBNTCnX/assets
Response
JSON
Copy [
{
"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"
}
}
]
Last updated 12 months ago