Doc autogenerated from onflow/sdk/src/build/build-voucher-intercept.ts
voucherIntercept
A builder function that intercepts and modifies a voucher
Import
_10import { voucherIntercept } from "@onflow/sdk"
Parameters
fn
- Type:
VoucherInterceptFn
- Description: The function to intercept and modify the voucher
_10type VoucherInterceptFn = (voucher: Voucher) => any | Promise<any>
Returns
InteractionBuilderFn
_10export type InteractionBuilderFn = (_10 ix: Interaction_10) => Interaction | Promise<Interaction>