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
_10import { 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
_10type CadenceArgument<T extends TypeDescriptor<any, any>> = {_10 value: TypeDescriptorInput<T>_10 xform: T_10}