BuildReference documentationMidnight APIsCompact runtime APIfunctionsencodeTokenTypeOn this page@midnight-ntwrk/compact-runtime v0.7.0 • Readme | API @midnight-ntwrk/compact-runtime v0.7.0 / encodeTokenType Function: encodeTokenType() encodeTokenType(tt): Uint8Array Encode a TokenType into a Uint8Array for use in Compact's TokenType type Parameters • tt: string Returns Uint8Array