Skip to main content

encodeTokenType

For the complete documentation index, see llms.txt

@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