Skip to main content

decodeTokenType

For the complete documentation index, see llms.txt

@midnight-ntwrk/compact-runtime v0.9.0


@midnight-ntwrk/compact-runtime / decodeTokenType

Function: decodeTokenType()

function decodeTokenType(tt): string;

Decode a TokenType from a Uint8Array originating from Compact's TokenType type

Parameters​

tt​

Uint8Array

Returns​

string