BuildReference documentationMidnight APIsCompact runtime APIfunctionsdecodeTokenTypeOn this page@midnight-ntwrk/compact-runtime v0.7.0 • Readme | API @midnight-ntwrk/compact-runtime v0.7.0 / decodeTokenType Function: decodeTokenType() decodeTokenType(tt): TokenType Decode a TokenType from a Uint8Array originating from Compact's TokenType type Parameters • tt: Uint8Array Returns TokenType