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