Function: detectMessageType()
Detect the type of a BitBadges SDK message or proto message
detectMessageType(
message):MessageType
Defined in: packages/bitbadgesjs-sdk/src/transactions/precompile/type-detector.ts:188
Detect the type of a BitBadges SDK message or proto message
Parameters
message
any
The SDK message or proto message to detect
Returns
The detected message type
Throws
Error if the message type is not supported