Skip to main content

resolveValidators

Executes validator functions that have been attached to an interaction to perform validation checks.

Import​

You can import the entire package and access the function:


_10
import * as sdk from "@onflow/sdk"
_10
_10
sdk.resolveValidators(ix)

Or import directly the specific function:


_10
import { resolveValidators } from "@onflow/sdk"
_10
_10
resolveValidators(ix)

Parameters​

ix​

  • Type: Interaction
  • Description: The interaction object containing validators to execute

Returns​

Promise<Interaction>

The interaction after running all validators


Rate this page