Skip to content
docs

symbiosisToken

symbiosisToken(chain, contract): { address: string; ton?: string; } | null

Defined in: protocol-swap2-symbiosis/src/config.ts:182

How Symbiosis names a token: EVM contracts as they are, Tron contracts in 20-byte form, a TON jetton by the last 20 bytes of its master’s hash plus the master itself in attributes.ton (the rule their token list follows for every TON entry), the native coin as an empty string.

SymbiosisChain

string | null | undefined

{ address: string; ton?: string; } | null