Skip to main content

index/interfaces/TokenQuantityInput.md

One token and amount of a write. Name the token with exactly one of tokenClassKey (plus an optional instance) or tokenName (needs a TokenNameResolver).

Extended by​

Properties​

PropertyTypeDescription
instance?stringThe instance of tokenClassKey to move, a decimal string; default "0" (fungible).
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").
tokenClassKey?TokenClassKeyInputThe token's class key.
tokenName?stringA product token name, resolved by the configured TokenNameResolver.