Parameters
Returns
TokenMetadata[]
Array of all token metadata entries
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
function getAllTokens(environment): TokenMetadata[];
| Parameter | Type | Description |
|---|---|---|
environment | "sandbox" | "production" | The environment (‘sandbox’ for devnet, ‘production’ for mainnet) |
TokenMetadata[]
Array of all token metadata entries
const tokens = getAllTokens('production');
console.log(tokens.map(t => t.symbol));
Was this page helpful?