Interface: GalaChainTokenHold
GalaChain core SDK 1.0.0-rc.8 / index / GalaChainTokenHold
Interface: GalaChainTokenHold
Defined in: packages/gala-core-sdk/dist/index.d.ts:2694
A hold on part of a balance (a lock, or the legacy in-use hold), as GalaChain stores it.
quantity is whole tokens as a decimal string; times are epoch milliseconds.
Properties
created
readonlycreated:number
Defined in: packages/gala-core-sdk/dist/index.d.ts:2696
When the hold was placed.
createdBy
readonlycreatedBy:string
Defined in: packages/gala-core-sdk/dist/index.d.ts:2698
Who placed it.
expires
readonlyexpires:number
Defined in: packages/gala-core-sdk/dist/index.d.ts:2700
When it expires; 0 means never.
instanceId
readonlyinstanceId:string
Defined in: packages/gala-core-sdk/dist/index.d.ts:2702
The token instance held ("0" for a fungible token).
lockAuthority
readonlylockAuthority:string
Defined in: packages/gala-core-sdk/dist/index.d.ts:2704
Who may release it.
name?
readonlyoptionalname?:string
Defined in: packages/gala-core-sdk/dist/index.d.ts:2706
The hold's name, when it has one.
quantity
readonlyquantity:string
Defined in: packages/gala-core-sdk/dist/index.d.ts:2708
How much is held, in whole tokens.
vestingPeriodStart?
readonlyoptionalvestingPeriodStart?:number
Defined in: packages/gala-core-sdk/dist/index.d.ts:2710
Start of a vesting period, when the hold is a vesting hold.