---
title: "Get all assets."
method: GET
path: "/assets"
tags: ["Assets"]
---

# Get all assets.

`GET /assets`

## Request

- Base URL: `https://chainflip-broker.io`
- URL: `https://chainflip-broker.io/assets`
- Auth: none declared

Lists every asset you can swap, with its network, ticker, decimals, minimum swap
amount and current USD price. An asset's `id` is what you pass as
`sourceAsset` or `destinationAsset` on every other endpoint.

## Response `200`

All available assets.

- ChainflipBaasAssetsAssetsResponse: The assets you can swap, ordered by id.
  - `assets` ChainflipBaasAssetsAssetInfo[]: All available assets.
    - `enabled` boolean: Is the asset available for swapping or not?
    - `id` string: The asset id, `ticker.network`: what you pass as `sourceAsset` or `destinationAsset` on every other endpoint.
    - `direction` 'ingress' | 'egress' | 'both': Direction an asset can be used in. Ingress assets can only be used to swap from. Egress assets can only be used to swap to. Assets with both can be used to swap from and to.
    - `ticker` string: Display ticker of the asset.
    - `name` string: Descriptive name of the asset.
    - `network` string: Name of the network where the asset is located.
    - `contractAddress` string, nullable: The contract address for tokens which have one.
    - `networkLogo` string: A url to the logo for the network.
    - `assetLogo` string: A url to the logo for the asset.
    - `decimals` integer: Number of decimals the asset native value contains.
    - `minimalAmount` number, double, nullable: Minimum amount required to swap the asset.
    - `minimalAmountNative` string, nullable: Minimum amount in native units required to swap the asset.
    - `usdPrice` number, double, nullable: Current pool price of the asset in USDC.
    - `usdPriceNative` string, nullable: Current pool price of the asset in USDC native units.
    - `platforms` string[]: The providers that support this asset. Pass one as `platform` to `startSwap`.

## Other responses

- `500`: An error occurred.

---

[API](https://skmtc.dev/chainflip-broker/apis/chainflip-broker-as-a-service.md) · [All operations](https://skmtc.dev/chainflip-broker/apis/chainflip-broker-as-a-service/llms.txt) · [OpenAPI document](https://skmtc.dev/chainflip-broker/apis/chainflip-broker-as-a-service/revisions/3c819d79d6b9?raw)
