Skip to main content

Doc autogenerated from onflow/sdk/src/build/build-voucher-intercept.ts

voucherIntercept

A builder function that intercepts and modifies a voucher

Import


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

Parameters

fn

  • Type: VoucherInterceptFn
  • Description: The function to intercept and modify the voucher

_10
type VoucherInterceptFn = (voucher: Voucher) => any | Promise<any>

Returns

InteractionBuilderFn


_10
export type InteractionBuilderFn = (
_10
ix: Interaction
_10
) => Interaction | Promise<Interaction>


Rate this page