Docs

AuctionListing

Represents a new marketplace auction listing.

type AuctionListing = {
asset: objectOutputType<
{
animation_url: ZodOptional<ZodNullable<ZodString>>;
attributes: ZodNullable<
ZodOptional<
ZodUnion<
[
ZodArray<
ZodObject<
{},
"strip",
ZodUnion<
[
ZodEffects<
ZodUnion<
[
ZodBigInt,
ZodType<BigNumber, ZodTypeDef, BigNumber>,
ZodType<BN, ZodTypeDef, BN>,
]
>,
string,
bigint | BN | BigNumber
>,
ZodUnknown,
]
>,
objectOutputType<
{},
ZodUnion<
[
ZodEffects<
ZodUnion<
[
ZodBigInt,
ZodType<
BigNumber,
ZodTypeDef,
BigNumber
>,
ZodType<BN, ZodTypeDef, BN>,
]
>,
string,
bigint | BN | BigNumber
>,
ZodUnknown,
]
>,
"strip"
>,
objectInputType<
{},
ZodUnion<
[
ZodEffects<
ZodUnion<
[
ZodBigInt,
ZodType<
BigNumber,
ZodTypeDef,
BigNumber
>,
ZodType<BN, ZodTypeDef, BN>,
]
>,
string,
bigint | BN | BigNumber
>,
ZodUnknown,
]
>,
"strip"
>
>,
"many"
>,
ZodObject<
{},
"strip",
ZodUnion<
[
ZodEffects<
ZodUnion<
[
ZodBigInt,
ZodType<BigNumber, ZodTypeDef, BigNumber>,
ZodType<BN, ZodTypeDef, BN>,
]
>,
string,
bigint | BN | BigNumber
>,
ZodUnknown,
]
>,
objectOutputType<
{},
ZodUnion<
[
ZodEffects<
ZodUnion<
[
ZodBigInt,
ZodType<BigNumber, ZodTypeDef, BigNumber>,
ZodType<BN, ZodTypeDef, BN>,
]
>,
string,
bigint | BN | BigNumber
>,
ZodUnknown,
]
>,
"strip"
>,
objectInputType<
{},
ZodUnion<
[
ZodEffects<
ZodUnion<
[
ZodBigInt,
ZodType<BigNumber, ZodTypeDef, BigNumber>,
ZodType<BN, ZodTypeDef, BN>,
]
>,
string,
bigint | BN | BigNumber
>,
ZodUnknown,
]
>,
"strip"
>
>,
]
>
>
>;
background_color: ZodNullable<
ZodOptional<
ZodUnion<
[
ZodString,
ZodEffects<ZodString, string, string>,
ZodString,
]
>
>
>;
description: ZodNullable<ZodOptional<ZodNullable<ZodString>>>;
external_url: ZodOptional<ZodNullable<ZodString>>;
id: ZodString;
image: ZodOptional<ZodNullable<ZodString>>;
name: ZodNullable<
ZodOptional<ZodUnion<[ZodString, ZodNumber]>>
>;
properties: ZodNullable<
ZodOptional<
ZodUnion<
[
ZodArray<
ZodObject<
{},
"strip",
ZodUnion<
[
ZodEffects<
ZodUnion<
[
ZodBigInt,
ZodType<BigNumber, ZodTypeDef, BigNumber>,
ZodType<BN, ZodTypeDef, BN>,
]
>,
string,
bigint | BN | BigNumber
>,
ZodUnknown,
]
>,
objectOutputType<
{},
ZodUnion<
[
ZodEffects<
ZodUnion<
[
ZodBigInt,
ZodType<
BigNumber,
ZodTypeDef,
BigNumber
>,
ZodType<BN, ZodTypeDef, BN>,
]
>,
string,
bigint | BN | BigNumber
>,
ZodUnknown,
]
>,
"strip"
>,
objectInputType<
{},
ZodUnion<
[
ZodEffects<
ZodUnion<
[
ZodBigInt,
ZodType<
BigNumber,
ZodTypeDef,
BigNumber
>,
ZodType<BN, ZodTypeDef, BN>,
]
>,
string,
bigint | BN | BigNumber
>,
ZodUnknown,
]
>,
"strip"
>
>,
"many"
>,
ZodObject<
{},
"strip",
ZodUnion<
[
ZodEffects<
ZodUnion<
[
ZodBigInt,
ZodType<BigNumber, ZodTypeDef, BigNumber>,
ZodType<BN, ZodTypeDef, BN>,
]
>,
string,
bigint | BN | BigNumber
>,
ZodUnknown,
]
>,
objectOutputType<
{},
ZodUnion<
[
ZodEffects<
ZodUnion<
[
ZodBigInt,
ZodType<BigNumber, ZodTypeDef, BigNumber>,
ZodType<BN, ZodTypeDef, BN>,
]
>,
string,
bigint | BN | BigNumber
>,
ZodUnknown,
]
>,
"strip"
>,
objectInputType<
{},
ZodUnion<
[
ZodEffects<
ZodUnion<
[
ZodBigInt,
ZodType<BigNumber, ZodTypeDef, BigNumber>,
ZodType<BN, ZodTypeDef, BN>,
]
>,
string,
bigint | BN | BigNumber
>,
ZodUnknown,
]
>,
"strip"
>
>,
]
>
>
>;
uri: ZodString;
},
ZodUnion<
[
ZodEffects<
ZodUnion<
[
ZodBigInt,
ZodType<BigNumber, ZodTypeDef, BigNumber>,
ZodType<BN, ZodTypeDef, BN>,
]
>,
string,
bigint | BN | BigNumber
>,
ZodUnknown,
]
>,
"strip"
>;
assetContractAddress: string;
buyoutCurrencyValuePerToken: {
decimals: number;
displayValue: string;
name: string;
symbol: string;
value: BigNumber;
};
buyoutPrice: BigNumber;
currencyContractAddress: string;
endTimeInEpochSeconds: BigNumberish;
id: string;
quantity: BigNumberish;
reservePrice: BigNumber;
reservePriceCurrencyValuePerToken: {
decimals: number;
displayValue: string;
name: string;
symbol: string;
value: BigNumber;
};
sellerAddress: string;
startTimeInEpochSeconds: BigNumberish;
tokenId: BigNumberish;
type: Auction;
};