BuildReference documentationMidnight APIsLedger APIfunctionsencodeTokenTypeOn this page@midnight/ledger v3.0.2 • Readme | API @midnight/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