Interface BuyParams

Interface representing the parameters for Checkout.buy

interface BuyParams {
    provider: Web3Provider;
    orders: BuyOrder[];
    overrides?: BuyOverrides;
}

Properties

provider: Web3Provider

The provider to use for the buy.

orders: BuyOrder[]

The orders to buy

overrides?: BuyOverrides

The overrides to use for the buy. Currently only processes the first order in the array until batch processing is supported.