Skip to main content

Interface: GalaChainTokenBalance

GalaChain core SDK 1.0.0-rc.8


GalaChain core SDK 1.0.0-rc.8 / index / GalaChainTokenBalance

Interface: GalaChainTokenBalance

Defined in: packages/gala-core-sdk/dist/index.d.ts:2713

One balance record of FetchBalances: an owner's holding of one token class.

Extends​

Properties​

additionalKey​

additionalKey: string

Defined in: packages/gala-core-sdk/dist/index.d.ts:2167

Inherited from​

GalaChainTokenClassKey.additionalKey


category​

category: string

Defined in: packages/gala-core-sdk/dist/index.d.ts:2165

Inherited from​

GalaChainTokenClassKey.category


collection​

collection: string

Defined in: packages/gala-core-sdk/dist/index.d.ts:2164

Inherited from​

GalaChainTokenClassKey.collection


instanceIds​

readonly instanceIds: readonly string[]

Defined in: packages/gala-core-sdk/dist/index.d.ts:2718

The instance ids held, for a non-fungible token; empty for a fungible one.


inUseHolds​

readonly inUseHolds: readonly GalaChainTokenHold[]

Defined in: packages/gala-core-sdk/dist/index.d.ts:2722

The legacy in-use holds (older balances only).


lockedHolds​

readonly lockedHolds: readonly GalaChainTokenHold[]

Defined in: packages/gala-core-sdk/dist/index.d.ts:2720

Locks on the holding.


owner​

readonly owner: string

Defined in: packages/gala-core-sdk/dist/index.d.ts:2714


quantity​

readonly quantity: string

Defined in: packages/gala-core-sdk/dist/index.d.ts:2716

The holding in whole tokens, as the chain's decimal string (never scaled).


type​

type: string

Defined in: packages/gala-core-sdk/dist/index.d.ts:2166

Inherited from​

GalaChainTokenClassKey.type