Skip to main content

encodeTokenType

For the complete documentation index, see llms.txt

@midnight-ntwrk/compact-runtime v0.9.0


@midnight-ntwrk/compact-runtime / encodeTokenType

Function: encodeTokenType()

function encodeTokenType(tt): Uint8Array;

Encode a TokenType into a Uint8Array for use in Compact's TokenType type

Parameters

tt

string

Returns

Uint8Array