Skip to main content

resolveCadence

Resolves Cadence code by evaluating functions and replacing contract placeholders with addresses.

Import

You can import the entire package and access the function:


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

Or import directly the specific function:


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

Parameters

ix

  • Type: Interaction
  • Description: The interaction object containing Cadence code to resolve

Returns

Promise<Interaction>


Rate this page