Interface: TransferTokenInput
GalaChain core SDK 1.0.0-rc.8 / index / TransferTokenInput
Interface: TransferTokenInput
Defined in: packages/gala-core-sdk/dist/index.d.ts:2465
transferToken: one token to a recipient.
Extends
Properties
instance?
optionalinstance?:string
Defined in: packages/gala-core-sdk/dist/index.d.ts:2434
The instance of tokenClassKey to move, a decimal string; default "0" (fungible).
Inherited from
quantity
quantity:
string
Defined in: packages/gala-core-sdk/dist/index.d.ts:2442
The amount in WHOLE tokens, as the decimal string the chain is to receive ("1.5" is one and a
half tokens). It is signed exactly as written: never scaled to base units, never re-formatted
("1.50" stays "1.50").
Inherited from
to
to:
string
Defined in: packages/gala-core-sdk/dist/index.d.ts:2467
The recipient (see TransferGalaInput.to).
tokenClassKey?
optionaltokenClassKey?:TokenClassKeyInput
Defined in: packages/gala-core-sdk/dist/index.d.ts:2432
The token's class key.
Inherited from
TokenQuantityInput.tokenClassKey
tokenName?
optionaltokenName?:string
Defined in: packages/gala-core-sdk/dist/index.d.ts:2436
A product token name, resolved by the configured TokenNameResolver.
Inherited from
uniqueKey?
optionaluniqueKey?:string
Defined in: packages/gala-core-sdk/dist/index.d.ts:2450
The write's idempotency key: 1 to 128 characters of A-Za-z0-9._:-. Reuse a key only to retry
the SAME write. Omitted: a fresh <uniqueKeyPrefix><uuid v4> is minted (CSPRNG).