This endpoint lists all assets.
This method will use 20 Compute Units.
20
Last updated 5 months ago
Success
const response = await fetch('https://mainnet.stellar.validationcloud.io/v1/<YOUR_API_KEY_HERE>/assets', { method: 'GET', headers: {}, }); const data = await response.json();
{ "_links": { "self": { "href": "text", "templated": false }, "next": { "href": "text", "templated": false }, "prev": { "href": "text", "templated": false } }, "_embedded": { "records": [ { "_links": { "toml": { "href": "text", "templated": false } }, "asset_type": "text", "asset_issuer": "text", "paging_token": "text", "accounts": {}, "balances": { "authorized": "text", "authorized_to_maintain_liabilities": "text", "unauthorized": "text" }, "claimable_balances_amount": "text", "contracts_amount": "text", "liquidity_pools_amount": "text", "amount": "text", "flags": { "auth_required": false, "auth_revocable": false, "auth_immutable": false } } ] } }