Skip to main content

resolveCadence

Import

You can import the entire package and access the function:


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

Or import directly the specific function:


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

Parameters

context

  • Type:

_12
export interface SdkContext {
_12
get accessNodeUrl(): string
_12
get transport(): SdkTransport
_12
get computeLimit(): number
_12
get customResolver(): ((args: any) => Promise<any>) | undefined
_12
get customDecoders(): {[key: string]: (data: any) => any}
_12
get contracts(): {
_12
[contractName: string]: string
_12
}
_12
get debug(): {[key: string]: any}
_12
get legacyContractIdentifiers(): Record<string, string>
_12
}

Returns

Promise<Interaction>


Rate this page