Docs

BuyNowParams

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