cURL
curl --request GET \ --url https://swap-api.flux.fun/v1/tokens/{id}
{ "name": "Bitcoin $100K by Dec 31 - YES", "description": "Prediction market token for Bitcoin reaching $100,000", "properties": { "decimals": 0, "marketId": "KXBTC-24DEC31-T100K", "outcome": "yes", "tokenId": "0x123..." } }
Retrieve metadata for a specific ERC-1155 token, including its name, description, image, and associated market information.
The ERC-1155 token ID
Token name
"Bitcoin $100K by Dec 31 - YES"
Token description
"Prediction market token for Bitcoin reaching $100,000"
Extended token properties
Show child attributes