Assets & Routes
Read available funding assets, token decimals and Sepolia action routes.
Get funding assets#
GET /api/queue/assets takes no query parameters. It returns funding assets and their availability at the response's blockNumber and stateBlockHash.
Live read requests run through the docs server. Copied examples call api.fuyu.xyz directly. No API key required.
Asset fields#
| Field | Meaning |
|---|---|
| address | Token contract; 0x0000000000000000000000000000000000000000 identifies native ETH |
| symbol / decimals | Display symbol and number of decimal places |
| kind | Asset classification, such as native or core-fungible |
| status | deposit-enabled, publisher-disabled or unavailable |
| reserveAtomic | Pool-accounted reserve in atomic units; null when unavailable |
Handle amounts as integers#
Use the returned address to identify an asset and its decimals to format amounts. ETH uses 18 decimals; the Sepolia USDC in the catalog uses 6. One USDC is 1000000 atomic units.
Keep atomic amounts as decimal strings or BigInt. JavaScript Number can lose precision. reserveAtomic is a Pool value, not the user's private balance.
Read action routes and fees#
The funding catalog does not list every possible action output. Read routes from deployment configuration for swap and Earn routes. Each route identifies its id, assetIn, assetOut and adapterAddress.
The same response contains relayFees: its sponsored flag, free operation names and current fee schedule. Read these values when showing a payment review instead of hard-coding a fee.