Interface SmartCheckoutParams

Interface representing the parameters for smartCheckout

Hierarchy

  • SmartCheckoutParams

Properties

provider: Web3Provider
itemRequirements: (NativeItemRequirement | ERC20ItemRequirement | ERC721ItemRequirement | ERC1155ItemRequirement)[]
transactionOrGasAmount?: FulfillmentTransaction | GasAmount
routingOptions?: AvailableRoutingOptions

The overrides for funding routes to consider

onComplete?: ((result) => void)

Type declaration

    • (result): void
    • The callback to be executed once all funding routes are found

      Parameters

      Returns void

onFundingRoute?: ((fundingRoute) => void)

Type declaration

    • (fundingRoute): void
    • The callback to be executed on each funding route found

      Parameters

      Returns void

fundingRouteFullAmount?: boolean

A flag to get funding routes based on full or partial amount

Generated using TypeDoc