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