Skip to main content

List all Assets

GET 

/assets

This endpoint lists all assets.

Request

Query Parameters

    asset_code any

    The code of the asset you would like to filter by.

    asset_issuer any

    The Stellar address of the issuer for the asset you would like to filter by.

    cursor integer

    A number that points to a specific location in a collection of responses and is pulled from the paging_token value of a record.

    order string

    Possible values: [asc, desc]

    A designation of the order in which records should appear. Options include asc (ascending) or desc (descending). If this argument isn’t set, it defaults to asc.

    limit integer

    The maximum number of records returned. The limit can range from 1 to 200 - an upper limit that is hardcoded in Horizon for performance reasons. If this argument isn’t designated, it defaults to 10.

Responses

Success

Schema
    _links object
    self object
    href linkrequired
    templated boolean
    next object
    href linkrequired
    templated boolean
    prev object
    href linkrequired
    templated boolean
    _embedded object
    records object[]
  • Array [
  • _links object
    toml object
    href linkrequired
    templated boolean
    asset_type string
    asset_issuer address (string)

    Possible values: Value must match regular expression G[A-Z0-9]{55}

    paging_token string
    accounts object
    authorized integer
    authorized_to_maintain_liabilities integer
    unauthorized integer
    num_claimable_balances integer
    num_contracts integer
    num_liquidity_pools integer
    balances object
    authorized string
    authorized_to_maintain_liabilities string
    unauthorized string
    claimable_balances_amount string
    contracts_amount string
    liquidity_pools_amount string
    amount string
    num_accounts integer
    flags object
    auth_required boolean
    auth_revocable boolean
    auth_immutable boolean
  • ]
Loading...