Skip to main content

Doc autogenerated from onflow/sdk/src/build/build-arguments.ts

arg

A utility builder to be used with fcl.args[...] to create FCL supported arguments for interactions

Import


_10
import { arg } from "@onflow/sdk"

Parameters

value

  • Type: TypeDescriptorInput
  • Description: The value of the argument

xform

  • Type: T
  • Description: A function to transform the value

Returns

CadenceArgument


_10
type CadenceArgument<T extends TypeDescriptor<any, any>> = {
_10
value: TypeDescriptorInput<T>
_10
xform: T
_10
}


Rate this page