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
| Name | Type | Defined in |
|---|---|---|
address | "" | atomiq-sdk/src/types/Token.ts:80 |
chain | "BTC" | atomiq-sdk/src/types/Token.ts:83 |
chainId | L extends true ? "LIGHTNING" : "BITCOIN" | atomiq-sdk/src/types/Token.ts:74 |
decimals | 8 | atomiq-sdk/src/types/Token.ts:77 |
displayDecimals | 8 | atomiq-sdk/src/types/Token.ts:78 |
lightning | L | atomiq-sdk/src/types/Token.ts:84 |
name | L 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 Parameter | Default type |
|---|---|
L | boolean |