List all Assets

This endpoint lists all assets.

This method will use 20 Compute Units.


Reference: Here

List all Assets

This endpoint lists all assets.

GEThttps://mainnet.stellar.validationcloud.io/v1/<YOUR_API_KEY_HERE>/assets
Query parameters
Response

Success

Body
_linksobject
_embeddedobject
Request
const response = await fetch('https://mainnet.stellar.validationcloud.io/v1/<YOUR_API_KEY_HERE>/assets', {
    method: 'GET',
    headers: {},
});
const data = await response.json();
Response
{
  "_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
        }
      }
    ]
  }
}

Last updated