LogoRobo.js
Framework

validateMode()

Function: validateMode()

function validateMode(mode, adapter): ResolvedTransactionMode

Validate that a transaction mode is supported by the adapter.

Parameters

ParameterType
modeTransactionMode
adapterFlashcoreAdapter<string, unknown>

Returns

ResolvedTransactionMode

Throws

FeatureNotSupportedError if the mode is not supported

On this page