Skip to main content

index/interfaces/TransferTokenInput.md

transferToken: one token to a recipient.

Extends​

Properties​

PropertyTypeDescriptionInherited from
instance?stringThe instance of tokenClassKey to move, a decimal string; default "0" (fungible).TokenQuantityInput.instance
quantitystringThe 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").TokenQuantityInput.quantity
tostringThe recipient (see TransferGalaInput.to).-
tokenClassKey?TokenClassKeyInputThe token's class key.TokenQuantityInput.tokenClassKey
tokenName?stringA product token name, resolved by the configured TokenNameResolver.TokenQuantityInput.tokenName
uniqueKey?stringThe 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).WriteKeyInput.uniqueKey