Variable: INVALID\_TOKEN\_REFERENCE\_REASONS
GalaChain core SDK 1.0.0-rc.8 / index / INVALID_TOKEN_REFERENCE_REASONS
Variable: INVALID_TOKEN_REFERENCE_REASONS
constINVALID_TOKEN_REFERENCE_REASONS: readonly ["missing","ambiguous","bad_class_key","bad_instance"]
Defined in: packages/gala-core-sdk/dist/index.d.ts:89
Why a gateway write refused the token it was asked to move
(INVALID_TOKEN_REFERENCE.params.reason). A token for the app to map to its own text.
missing: neithertokenClassKeynortokenNamewas given.ambiguous: more than one way of naming the token was given (tokenClassKeyandtokenName, or atokenNamewith aninstance: a resolved name decides its own instance).bad_class_key:tokenClassKeyis not a class key: a pipe string needs exactly four non-empty parts, a$string at least four (split from the right), an object four non-empty strings. A bare symbol is never a class key and none is derived from it.bad_instance:instanceis not a string of decimal digits.