Skip to main content

encodeRawTokenType

For the complete documentation index, see llms.txt

@midnight-ntwrk/compact-runtime v0.19.0


@midnight-ntwrk/compact-runtime / encodeRawTokenType

Function: encodeRawTokenType()

function encodeRawTokenType(tt): Uint8Array;

Encode a raw RawTokenType into a Uint8Array for use in Compact's RawTokenType type

Parameters​

tt​

string

Returns​

Uint8Array