Skip to main content

ApiToken

Serializable token representation for API responses.

idstringrequired

Canonical token identifier accepted by the API, e.g. BITCOIN-BTC, LIGHTNING-BTC, STARKNET-STRK.

chainIdstringrequired

Chain identifier, e.g. STARKNET, BITCOIN, LIGHTNING.

tickerstringrequired

Token ticker, e.g. STRK.

namestringrequired

Full token name.

decimalsintegerrequired

Decimal places of the token.

addressstringrequired

Token contract address, or empty string for BTC on Bitcoin/Lightning.

ApiToken
{
"id": "string",
"chainId": "string",
"ticker": "string",
"name": "string",
"decimals": 0,
"address": "string"
}