Universal Accounts can hold all assets across supported chains.Documentation Index
Fetch the complete documentation index at: https://developers.particle.network/llms.txt
Use this file to discover all available pages before exploring further.
Among these, Primary Assets are special: they have the deepest liquidity and can be used as the basis for cross-chain swaps, liquidity routing, and gas payments.
Why this matters: You can give users a single, unified balance of these spendable assets—regardless of which chain they’re actually on.
The full list of supported Primary Assets is available on the Supported chains and Primary Assets page.
Fetch Unified Balance (quick way)
The easiest way to display the maximum amount a user can spend in one go (the sum of their Primary Assets across chains) is by fetching their Unified Balance:Inspect Primary Assets in Detail
If you need more than just the total,getPrimaryAssets() also returns a detailed list of assets:
AssetInfo entry aggregates a token across chains, including per-chain breakdowns.
Expand to see the full structure
Expand to see the full structure
| Field | Description |
|---|---|
tokenType | Token identifier (e.g., “eth”, “usdt”) |
price | Current USD price |
amount | Total amount across chains (human-readable) |
amountInUSD | Total USD value |
chainAggregation | Per-chain balance breakdowns |
chainAggregation format
Each chainAggregation entry details the balance and metadata of the token on a specific chain:
Expand to see the full structure
Expand to see the full structure
| Field | Description |
|---|---|
token.chainId | Chain ID |
token.address | Token contract address |
amount | Token amount (human-readable float) |
amountInUSD | USD value |
rawAmount | Token amount in raw units (integer, stringified) |
token.decimals | ERC-20 decimals |
token.realDecimals | Adjusted decimals for display |
token.isMultiChain | Part of multi-chain registry |
token.isMultiChainDefault | Default canonical version across chains |
For native assets like
ETH, the token.address field will be 0x0000000000000000000000000000000000000000.Fetch Primary Assets in a Sample App
See how to call
getPrimaryAssets() in a real Next.js app using Particle Auth and Universal Accounts.Parse and Display Asset Balances
Check out how Primary Asset data is parsed and rendered in this sample app.
Next steps
Build a balance widget
Step-by-step guide to rendering a unified balance in your UI.
Transaction History
Fetch a user’s past transactions.
