API documentationLedger APIFunctionsencodeTokenTypeOn this pageExplore with… ▾encodeTokenType@midnight-ntwrk/ledger v3.0.2 • Readme | API @midnight-ntwrk/ledger v3.0.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