Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.yieldo.xyz/llms.txt

Use this file to discover all available pages before exploring further.

List Chains

Returns supported blockchain networks.
GET /v1/chains

Query Parameters

ParameterTypeRequiredDefaultDescription
sourcebooleanNofalseIf true, returns all source chains. If false, returns vault chains only.

Example Request

# Vault chains (where deposits land)
curl https://api.yieldo.xyz/v1/chains

# Source chains (where users can deposit from)
curl "https://api.yieldo.xyz/v1/chains?source=true"

Response

[
  {
    "chain_id": 1,
    "name": "Ethereum",
    "key": "eth",
    "explorer": "https://etherscan.io"
  },
  {
    "chain_id": 8453,
    "name": "Base",
    "key": "base",
    "explorer": "https://basescan.org"
  }
]

Response Fields

FieldTypeDescription
chain_idintEVM chain ID
namestringHuman-readable chain name
keystringShort chain identifier
explorerstringBlock explorer base URL

List Tokens

Returns the major tokens available on a given chain. These are the tokens users can deposit from.
GET /v1/tokens

Query Parameters

ParameterTypeRequiredDescription
chain_idintegerYesChain ID to get tokens for

Example Request

curl "https://api.yieldo.xyz/v1/tokens?chain_id=42161"

Response

[
  {
    "address": "0xaf88d065e77c8cC2239327C5EDb3A432268e5831",
    "symbol": "USDC",
    "decimals": 6,
    "chain_id": 42161,
    "name": "USD Coin",
    "logo_uri": "https://..."
  },
  {
    "address": "0xFd086bC7CD5C481DCC9C85ebE478A1C0b69FCbb9",
    "symbol": "USDT",
    "decimals": 6,
    "chain_id": 42161,
    "name": "Tether USD",
    "logo_uri": "https://..."
  }
]

Response Fields

FieldTypeDescription
addressstringToken contract address
symbolstringToken symbol
decimalsintToken decimals
chain_idintChain ID
namestring/nullFull token name
logo_uristring/nullToken logo image URL

Supported Token Symbols

The API returns a curated list of major tokens: USDC USDT DAI WETH ETH WBTC BTC AVAX WAVAX BNB WBNB OP ARB LINK UNI AAVE stETH wstETH rETH cbETH