param
Legacy function for setting a single parameter on an interaction.
Import
You can import the entire package and access the function:
_10import * as sdk from "@onflow/sdk"_10_10sdk.param(params)
Or import directly the specific function:
_10import { param } from "@onflow/sdk"_10_10param(params)
Parameters
params
- Type:
never
- Description: The parameter to set
Returns
Promise<void> | ((...args: unknown[]) => Promise<unknown>)