Skip to content

Commit b303612

Browse files
MantisCloneclaude
andauthored
docs: Fix token list structure documentation (#139)
Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
1 parent 1e01e54 commit b303612

File tree

1 file changed

+23
-7
lines changed

1 file changed

+23
-7
lines changed

docs/general/request-network-token-list.md

Lines changed: 23 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -20,16 +20,32 @@ Each token in the list contains the following information:
2020

2121
```json
2222
{
23-
"id": "TKN-mainnet"
24-
"name": "Token Name",
25-
"address": "0x...",
26-
"symbol": "TKN",
27-
"decimals": 18,
28-
"chainId": 1,
29-
"logoURI": "https://..."
23+
"id": "USDC-mainnet",
24+
"name": "USD Coin",
25+
"symbol": "USDC",
26+
"decimals": 6,
27+
"address": "0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48",
28+
"network": "mainnet",
29+
"type": "ERC20",
30+
"hash": "0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48",
31+
"chainId": 1
3032
}
3133
```
3234

35+
| Field | Description |
36+
|-------|-------------|
37+
| `id` | Unique identifier, typically `SYMBOL-network` (e.g., `USDC-mainnet`) |
38+
| `name` | Human-readable token name |
39+
| `symbol` | Token symbol |
40+
| `decimals` | Number of decimal places |
41+
| `address` | Token contract address |
42+
| `network` | Network name (e.g., `mainnet`, `matic`, `bsc`) |
43+
| `type` | Currency type (e.g., `ERC20`, `ETH`, `ISO4217`) |
44+
| `hash` | For ERC20 tokens, same as `address`. For native tokens, a calculated hash. |
45+
| `chainId` | Chain ID of the network |
46+
47+
See the [SDK source code](https://github.com/RequestNetwork/requestNetwork/blob/master/packages/types/src/currency-types.ts) for the full list of supported networks and types.
48+
3349
## Adding a New Token
3450

3551
We welcome community contributions! To add a new token to the list:

0 commit comments

Comments
 (0)