Skip to main content

BuyNowParams type

Signature:

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

References: WalletAddress