Skip to main content
GET
/
v1
/
tokens
/
{id}
Get Token Metadata
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..."
  }
}

Path Parameters

id
string
required

The ERC-1155 token ID

Response

200 - application/json
name
string
required

Token name

Example:

"Bitcoin $100K by Dec 31 - YES"

description
string
required

Token description

Example:

"Prediction market token for Bitcoin reaching $100,000"

properties
object
required

Extended token properties