Docs

EnglishAuction

Represents a new marketplace english-auction.

type EnglishAuction = {
  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;
  bidBufferBps: number;
  buyoutBidAmount: string;
  buyoutCurrencyValue: {
    decimals: number;
    displayValue: string;
    name: string;
    symbol: string;
    value: BigNumber;
  };
  creatorAddress: string;
  currencyContractAddress: string;
  endTimeInSeconds: number;
  id: string;
  minimumBidAmount: string;
  minimumBidCurrencyValue: {
    decimals: number;
    displayValue: string;
    name: string;
    symbol: string;
    value: BigNumber;
  };
  quantity: string;
  startTimeInSeconds: number;
  status: Status;
  timeBufferInSeconds: number;
  tokenId: string;
};