Skip to main content

BtcToken<L>

type BtcToken<L> = Token & object;

Defined in: atomiq-sdk/src/types/Token.ts:73

Bitcoin token type (BTC on on-chain or lightning)

Type Declaration

NameTypeDefined in
address""atomiq-sdk/src/types/Token.ts:80
chain"BTC"atomiq-sdk/src/types/Token.ts:83
chainIdL extends true ? "LIGHTNING" : "BITCOIN"atomiq-sdk/src/types/Token.ts:74
decimals8atomiq-sdk/src/types/Token.ts:77
displayDecimals8atomiq-sdk/src/types/Token.ts:78
lightningLatomiq-sdk/src/types/Token.ts:84
nameL extends true ? "Bitcoin (lightning L2)" : "Bitcoin (on-chain L1)"atomiq-sdk/src/types/Token.ts:76
ticker"BTC"atomiq-sdk/src/types/Token.ts:75
toString()() => L extends true ? "BTC-LN" : "BTC"atomiq-sdk/src/types/Token.ts:86

Type Parameters

Type ParameterDefault type
Lboolean