Type alias BuyNowParams<TListingType>

BuyNowParams<TListingType>: TListingType extends ListingType.Direct
    ? {
        buyAmount: BigNumberish;
        buyForWallet?: WalletAddress;
        id: BigNumberish;
        type: ListingType.Direct;
    }
    : {
        id: BigNumberish;
        type: ListingType.Auction;
    }

Type Parameters

  • TListingType = ListingType

Generated using TypeDoc