# Solana Token Supply

## GET /solana/tokens

> Get supply information for all tracked Solana tokens

```json
{"openapi":"3.0.0","info":{"title":"Nest API","version":"1.0.0"},"servers":[{"url":"https://api.nest.credit/v1","description":"Nest API Server"}],"paths":{"/solana/tokens":{"get":{"tags":["Solana Token Supply"],"description":"Get supply information for all tracked Solana tokens","responses":{"200":{"description":"List of all token supplies","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"type":"object","properties":{"slug":{"type":"string","description":"Vault slug"},"mintAddress":{"type":"string","description":"Solana SPL token mint address (base58)"},"rawSupply":{"type":"string","description":"Raw token supply as string (to avoid BigInt precision issues)"},"decimals":{"type":"number","description":"Token decimals"},"tokenSupply":{"type":"number","description":"Human-readable token supply (rawSupply / 10^decimals)"}},"required":["slug","mintAddress","rawSupply","decimals","tokenSupply"]}}},"required":["data"]}}}},"500":{"description":"Server error","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"}},"required":["error"]}}}}}}}}}
```

## GET /solana/tokens/{slugOrMintAddress}

> Get supply information for a specific Solana token by slug or mint address

```json
{"openapi":"3.0.0","info":{"title":"Nest API","version":"1.0.0"},"servers":[{"url":"https://api.nest.credit/v1","description":"Nest API Server"}],"paths":{"/solana/tokens/{slugOrMintAddress}":{"get":{"tags":["Solana Token Supply"],"description":"Get supply information for a specific Solana token by slug or mint address","parameters":[{"schema":{"type":"string","description":"Vault slug (e.g., nest-basis-vault) or Solana mint address (base58)"},"required":true,"description":"Vault slug (e.g., nest-basis-vault) or Solana mint address (base58)","name":"slugOrMintAddress","in":"path"}],"responses":{"200":{"description":"Token supply information","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"slug":{"type":"string","description":"Vault slug"},"mintAddress":{"type":"string","description":"Solana SPL token mint address (base58)"},"rawSupply":{"type":"string","description":"Raw token supply as string (to avoid BigInt precision issues)"},"decimals":{"type":"number","description":"Token decimals"},"tokenSupply":{"type":"number","description":"Human-readable token supply (rawSupply / 10^decimals)"}},"required":["slug","mintAddress","rawSupply","decimals","tokenSupply"]}},"required":["data"]}}}},"404":{"description":"Token not found","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"}},"required":["error"]}}}},"500":{"description":"Server error","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"}},"required":["error"]}}}}}}}}}
```
