From b8652d549d432db9b9166c33fb86c2512205a1e3 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" Date: Mon, 29 Jul 2024 04:48:39 +0000 Subject: [PATCH] =?UTF-8?q?Deploying=20to=20gh-pages=20from=20@=20ProjectO?= =?UTF-8?q?penSea/opensea-js@ab11104595ca44db76eaf4ea0d777b5cd2dbdf37=20?= =?UTF-8?q?=F0=9F=9A=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- classes/OpenSeaSDK.html | 46 +++++++++---------- enums/Chain.html | 52 ++++++++++----------- enums/CollectionOrderByOption.html | 4 +- enums/EventType.html | 22 ++++----- enums/OrderSide.html | 4 +- enums/OrderType.html | 4 +- enums/SafelistStatus.html | 4 +- enums/TokenStandard.html | 4 +- enums/TraitDisplayType.html | 6 +-- interfaces/Asset.html | 12 ++--- interfaces/AssetWithTokenId.html | 12 ++--- interfaces/AssetWithTokenStandard.html | 12 ++--- interfaces/EventData.html | 14 +++--- interfaces/Fee.html | 4 +- interfaces/GetCollectionsArgs.html | 4 +- interfaces/OpenSeaAPIConfig.html | 4 +- interfaces/OpenSeaAccount.html | 4 +- interfaces/OpenSeaCollection.html | 56 +++++++++++------------ interfaces/OpenSeaCollectionStats.html | 4 +- interfaces/OpenSeaPaymentToken.html | 4 +- interfaces/OpenSeaPaymentTokensQuery.html | 4 +- interfaces/RarityStrategy.html | 4 +- interfaces/SocialMediaAccount.html | 4 +- types/BuildOfferResponse.html | 2 +- types/CancelOrderResponse.html | 2 +- types/CollectionOffer.html | 2 +- types/FulfillmentDataResponse.html | 2 +- types/GetBestListingResponse.html | 2 +- types/GetBestOfferResponse.html | 2 +- types/GetCollectionResponse.html | 2 +- types/GetCollectionsResponse.html | 2 +- types/GetListingsResponse.html | 2 +- types/GetNFTResponse.html | 2 +- types/GetOffersResponse.html | 2 +- types/GetOrdersResponse.html | 2 +- types/ListCollectionOffersResponse.html | 2 +- types/ListNFTsResponse.html | 2 +- types/Listing.html | 2 +- types/NFT.html | 2 +- types/Offer.html | 2 +- types/Order.html | 2 +- types/OrderAPIOptions.html | 2 +- types/OrderProtocol.html | 2 +- types/OrderV2.html | 2 +- types/OrdersPostQueryResponse.html | 2 +- types/OrdersQueryOptions.html | 2 +- types/OrdersQueryResponse.html | 2 +- types/Price.html | 2 +- types/ProtocolData.html | 2 +- types/QueryCursors.html | 2 +- types/QueryCursorsV2.html | 2 +- types/SerializedOrderV2.html | 2 +- types/Trait.html | 2 +- 53 files changed, 174 insertions(+), 174 deletions(-) diff --git a/classes/OpenSeaSDK.html b/classes/OpenSeaSDK.html index 1116f5bea..7212b72d4 100644 --- a/classes/OpenSeaSDK.html +++ b/classes/OpenSeaSDK.html @@ -1,5 +1,5 @@ OpenSeaSDK | opensea-js - v7.1.12

Class OpenSeaSDK

The OpenSea SDK main class.

-

Constructors

Constructors

Properties

api chain logger @@ -27,32 +27,32 @@ new ethers.Wallet(privKey, provider)

  • apiConfig: OpenSeaAPIConfig = {}

    configuration options, including chain

  • Optional logger: ((arg) => void)

    optional function for logging debug strings. defaults to no logging

    -
      • (arg): void
      • Parameters

        • arg: string

        Returns void

  • Returns OpenSeaSDK

    Properties

    api: OpenSeaAPI

    API instance

    -
    chain: Chain

    The configured chain

    -
    logger: ((arg) => void)

    Logger function to use when debugging

    -

    Type declaration

      • (arg): void
      • Parameters

        • arg: string

        Returns void

    provider: JsonRpcProvider

    Provider to use for transactions.

    -
    seaport_v1_5: Seaport

    Seaport v1.5 client

    +
      • (arg): void
      • Parameters

        • arg: string

        Returns void

    Returns OpenSeaSDK

    Properties

    api: OpenSeaAPI

    API instance

    +
    chain: Chain

    The configured chain

    +
    logger: ((arg) => void)

    Logger function to use when debugging

    +

    Type declaration

      • (arg): void
      • Parameters

        • arg: string

        Returns void

    provider: JsonRpcProvider

    Provider to use for transactions.

    +
    seaport_v1_5: Seaport

    Seaport v1.5 client

    seaport_v1_6: Seaport

    Seaport v1.6 client

    +
    seaport_v1_6: Seaport

    Seaport v1.6 client

    Methods

    • Add a listener for events emitted by the SDK.

      +

    Methods

    • Add a listener for events emitted by the SDK.

      Parameters

      • event: EventType

        The EventType to listen to.

      • listener: ((data) => void)

        A callback that will accept an object with EventData\

          • (data): void
          • Parameters

            Returns void

      • once: boolean = false

        Whether the listener should only be called once, or continue listening until removed.

        -

      Returns void

    • Instead of signing an off-chain order, this methods allows you to approve an order +

    Returns void

    • Instead of signing an off-chain order, this methods allows you to approve an order with on on-chain transaction.

      Parameters

      • order: OrderV2

        Order to approve

      • Optional domain: string

        An optional domain to be hashed and included at the end of fulfillment calldata. This can be used for on-chain order attribution to assist with analytics.

      Returns Promise<string>

      Transaction hash of the approval transaction

      Throws

      Error if the accountAddress is not available through wallet or provider.

      Throws

      Error if the order's protocol address is not supported by OpenSea. See isValidProtocol.

      -
    • Cancel an order onchain, preventing it from ever being fulfilled.

      +
    • Cancel an order onchain, preventing it from ever being fulfilled.

      Parameters

      • options: {
            accountAddress: string;
            domain?: string;
            order: OrderV2;
        }
        • accountAddress: string

          The account address that will be cancelling the order.

        • Optional domain?: string

          An optional domain to be hashed and included at the end of fulfillment calldata. This can be used for on-chain order attribution to assist with analytics.

        • order: OrderV2

          The order to cancel

      Returns Promise<void>

      Throws

      Error if the accountAddress is not available through wallet or provider.

      Throws

      Error if the order's protocol address is not supported by OpenSea. See isValidProtocol.

      -
    • Create and submit a collection offer.

      Parameters

      • options: {
            accountAddress: string;
            amount: BigNumberish;
            collectionSlug: string;
            domain?: string;
            excludeOptionalCreatorFees?: boolean;
            expirationTime?: string | number;
            offerProtectionEnabled?: boolean;
            paymentTokenAddress: string;
            quantity: number;
            salt?: BigNumberish;
            traitType?: string;
            traitValue?: string;
        }
        • accountAddress: string

          Address of the wallet making the offer.

        • amount: BigNumberish

          Value of the offer in units, not base units e.g. not wei, of the payment token (or WETH if no payment token address specified).

        • collectionSlug: string

          Identifier for the collection.

          @@ -66,7 +66,7 @@

          Throws

          Error if the order's protocol address is not supported by

        • Optional traitType?: string

          If defined, the trait name to create the collection offer for.

        • Optional traitValue?: string

          If defined, the trait value to create the collection offer for.

      Returns Promise<null | CollectionOffer>

      The CollectionOffer that was created.

      -
    • Create and submit a listing for an asset.

      +
    • Create and submit a listing for an asset.

      Parameters

      • options: {
            accountAddress: string;
            asset: AssetWithTokenId;
            buyerAddress?: string;
            domain?: string;
            endAmount?: BigNumberish;
            englishAuction?: boolean;
            excludeOptionalCreatorFees?: boolean;
            expirationTime?: number;
            listingTime?: number;
            paymentTokenAddress?: string;
            quantity?: BigNumberish;
            salt?: BigNumberish;
            startAmount: BigNumberish;
            zone?: string;
        }
        • accountAddress: string

          Address of the wallet making the listing

        • asset: AssetWithTokenId

          The asset to trade. tokenAddress and tokenId must be defined.

        • Optional buyerAddress?: string

          Optional address that's allowed to purchase this item. If specified, no other address will be able to take the order, unless its value is the null address.

          @@ -86,7 +86,7 @@

          Throws

          Error if the order's protocol address is not supported by

          Throws

          Error if the accountAddress is not available through wallet or provider.

          Throws

          Error if the startAmount is not greater than 0.

          Throws

          Error if paymentTokenAddress is not WETH on anything other than Ethereum mainnet.

          -
    • Create and submit an offer on an asset.

      +
    • Create and submit an offer on an asset.

      Parameters

      • options: {
            accountAddress: string;
            asset: AssetWithTokenId;
            domain?: string;
            excludeOptionalCreatorFees?: boolean;
            expirationTime?: BigNumberish;
            paymentTokenAddress?: string;
            quantity?: BigNumberish;
            salt?: BigNumberish;
            startAmount: BigNumberish;
            zone?: string;
        }
        • accountAddress: string

          Address of the wallet making the offer.

        • asset: AssetWithTokenId

          The asset to trade. tokenAddress and tokenId must be defined.

        • Optional domain?: string

          An optional domain to be hashed and included in the first four bytes of the random salt.

          @@ -102,7 +102,7 @@

          Throws

          Error if paymentTokenAddress is not WETH on anything other tha

          Throws

          Error if the accountAddress is not available through wallet or provider.

          Throws

          Error if the startAmount is not greater than 0.

          Throws

          Error if paymentTokenAddress is not WETH on anything other than Ethereum mainnet.

          -
    • Fulfill an order for an asset. The order can be either a listing or an offer.

      +
    • Fulfill an order for an asset. The order can be either a listing or an offer.

      Parameters

      • options: {
            accountAddress: string;
            domain?: string;
            order: OrderV2 | Order;
            overrides?: Overrides;
            recipientAddress?: string;
        }
        • accountAddress: string

          Address of the wallet taking the offer.

        • Optional domain?: string

          An optional domain to be hashed and included at the end of fulfillment calldata. This can be used for on-chain order attribution to assist with analytics.

        • order: OrderV2 | Order

          The order to fulfill, a.k.a. "take"

          @@ -112,12 +112,12 @@

          Throws

          Error if paymentTokenAddress is not WETH on anything other tha

          Throws

          Error if the accountAddress is not available through wallet or provider.

          Throws

          Error if the order's protocol address is not supported by OpenSea. See isValidProtocol.

          Throws

          Error if attempting to fulfill the order with a recipient address which does not match a private listing.

          -
    • Get an account's balance of any Asset. This asset can be an ERC20, ERC1155, or ERC721.

      +
    • Get an account's balance of any Asset. This asset can be an ERC20, ERC1155, or ERC721.

      Parameters

      Returns Promise<bigint>

      The balance of the asset for the account.

      Throws

      Error if the token standard does not support balanceOf.

      -
    • Returns whether an order is fulfillable. +

    • Returns whether an order is fulfillable. An order may not be fulfillable if a target item's transfer function is locked for some reason, e.g. an item is being rented within a game or trading has been locked for an item type.

      @@ -125,7 +125,7 @@

      Throws

      Error if attempting to fulfill the order with a recipient addr

    • order: OrderV2

      Order to check

    Returns Promise<boolean>

    True if the order is fulfillable, else False.

    Throws

    Error if the order's protocol address is not supported by OpenSea. See isValidProtocol.

    -

    Returns void

    Returns void

    Returns Promise<void>

    Returns Promise<void>

    \ No newline at end of file +

    Returns Promise<void>

    \ No newline at end of file diff --git a/enums/Chain.html b/enums/Chain.html index 1d65af829..fead5499e 100644 --- a/enums/Chain.html +++ b/enums/Chain.html @@ -1,6 +1,6 @@ Chain | opensea-js - v7.1.12

    Enumeration Chain

    Each of the possible chains that OpenSea supports. ⚠️NOTE: When adding to this list, also add to the util functions getChainId and getWETHAddress

    -

    Enumeration Members

    Enumeration Members

    Enumeration Members

    Amoy: "amoy"

    Polygon Amoy

    -
    Arbitrum: "arbitrum"

    Arbitrum

    -
    ArbitrumNova: "arbitrum_nova"

    Arbitrum Nova

    -
    ArbitrumSepolia: "arbitrum_sepolia"

    Arbitrum Sepolia

    -
    Avalanche: "avalanche"

    Avalanche

    -
    BNB: "bsc"

    Binance Smart Chain

    -
    BNBTestnet: "bsctestnet"

    Binance Smart Chain Testnet

    -
    Baobab: "baobab"

    Klaytn Baobab

    -
    Base: "base"

    Base

    -
    BaseSepolia: "base_sepolia"

    Base Testnet

    -
    Blast: "blast"

    Blast

    -
    BlastSepolia: "blast_sepolia"

    Blast Testnet

    -
    Fuji: "avalanche_fuji"

    Avalanche Fuji

    -
    Klaytn: "klaytn"

    Klaytn

    -
    Mainnet: "ethereum"

    Ethereum

    -
    Optimism: "optimism"

    Optimism

    -
    OptimismSepolia: "optimism_sepolia"

    Optimism Sepolia

    -
    Polygon: "matic"

    Polygon

    -
    Sei: "sei"

    Sei

    -
    SeiTestnet: "sei_testnet"

    Sei Testnet

    -
    Sepolia: "sepolia"

    Sepolia

    -
    Solana: "solana"

    Solana

    -
    SolanaDevnet: "soldev"

    Solana Devnet

    -
    Zora: "zora"

    Zora

    -
    ZoraSepolia: "zora_sepolia"

    Zora Sepolia

    -
    \ No newline at end of file +
    Arbitrum: "arbitrum"

    Arbitrum

    +
    ArbitrumNova: "arbitrum_nova"

    Arbitrum Nova

    +
    ArbitrumSepolia: "arbitrum_sepolia"

    Arbitrum Sepolia

    +
    Avalanche: "avalanche"

    Avalanche

    +
    BNB: "bsc"

    Binance Smart Chain

    +
    BNBTestnet: "bsctestnet"

    Binance Smart Chain Testnet

    +
    Baobab: "baobab"

    Klaytn Baobab

    +
    Base: "base"

    Base

    +
    BaseSepolia: "base_sepolia"

    Base Testnet

    +
    Blast: "blast"

    Blast

    +
    BlastSepolia: "blast_sepolia"

    Blast Testnet

    +
    Fuji: "avalanche_fuji"

    Avalanche Fuji

    +
    Klaytn: "klaytn"

    Klaytn

    +
    Mainnet: "ethereum"

    Ethereum

    +
    Optimism: "optimism"

    Optimism

    +
    OptimismSepolia: "optimism_sepolia"

    Optimism Sepolia

    +
    Polygon: "matic"

    Polygon

    +
    Sei: "sei"

    Sei

    +
    SeiTestnet: "sei_testnet"

    Sei Testnet

    +
    Sepolia: "sepolia"

    Sepolia

    +
    Solana: "solana"

    Solana

    +
    SolanaDevnet: "soldev"

    Solana Devnet

    +
    Zora: "zora"

    Zora

    +
    ZoraSepolia: "zora_sepolia"

    Zora Sepolia

    +
    \ No newline at end of file diff --git a/enums/CollectionOrderByOption.html b/enums/CollectionOrderByOption.html index 4274d00af..08a4fb28f 100644 --- a/enums/CollectionOrderByOption.html +++ b/enums/CollectionOrderByOption.html @@ -1,7 +1,7 @@ -CollectionOrderByOption | opensea-js - v7.1.12

    Enumeration CollectionOrderByOption

    Enumeration Members

    CREATED_DATE +CollectionOrderByOption | opensea-js - v7.1.12

    Enumeration CollectionOrderByOption

    Enumeration Members

    CREATED_DATE: "created_date"
    MARKET_CAP: "market_cap"
    NUM_OWNERS: "num_owners"
    ONE_DAY_CHANGE: "one_day_change"
    SEVEN_DAY_CHANGE: "seven_day_change"
    SEVEN_DAY_VOLUME: "seven_day_volume"
    \ No newline at end of file +

    Enumeration Members

    CREATED_DATE: "created_date"
    MARKET_CAP: "market_cap"
    NUM_OWNERS: "num_owners"
    ONE_DAY_CHANGE: "one_day_change"
    SEVEN_DAY_CHANGE: "seven_day_change"
    SEVEN_DAY_VOLUME: "seven_day_volume"
    \ No newline at end of file diff --git a/enums/EventType.html b/enums/EventType.html index 89704cad3..77b2c1c55 100644 --- a/enums/EventType.html +++ b/enums/EventType.html @@ -1,6 +1,6 @@ EventType | opensea-js - v7.1.12

    Enumeration EventType

    Events emitted by the SDK which can be used by frontend applications to update state or show useful messages to users.

    -

    Enumeration Members

    Enumeration Members

    ApproveOrder: "ApproveOrder"

    Emitted when the OpenSeaSDK.approveOrder method is called.

    -
    CancelOrder: "CancelOrder"

    Emitted when the OpenSeaSDK.cancelOrder method is called.

    -
    MatchOrders: "MatchOrders"

    Emitted when fulfilling a public or private order.

    -
    TransactionConfirmed: "TransactionConfirmed"

    Emitted when the transaction has succeeded is mined and confirmed.

    -
    TransactionCreated: "TransactionCreated"

    Emitted when the transaction is sent to the network and the application +

    CancelOrder: "CancelOrder"

    Emitted when the OpenSeaSDK.cancelOrder method is called.

    +
    MatchOrders: "MatchOrders"

    Emitted when fulfilling a public or private order.

    +
    TransactionConfirmed: "TransactionConfirmed"

    Emitted when the transaction has succeeded is mined and confirmed.

    +
    TransactionCreated: "TransactionCreated"

    Emitted when the transaction is sent to the network and the application is waiting for the transaction to be mined.

    -
    TransactionDenied: "TransactionDenied"

    Emitted when the transaction has failed to be submitted.

    -
    TransactionFailed: "TransactionFailed"

    Emitted when the transaction has failed to be mined.

    -
    Transfer: "Transfer"

    Emitted when the OpenSeaSDK.transfer method is called.

    -
    UnwrapWeth: "UnwrapWeth"

    Emitted when the OpenSeaSDK.unwrapWeth method is called.

    -
    WrapEth: "WrapEth"

    Emitted when the OpenSeaSDK.wrapEth method is called.

    -
    \ No newline at end of file +
    TransactionDenied: "TransactionDenied"

    Emitted when the transaction has failed to be submitted.

    +
    TransactionFailed: "TransactionFailed"

    Emitted when the transaction has failed to be mined.

    +
    Transfer: "Transfer"

    Emitted when the OpenSeaSDK.transfer method is called.

    +
    UnwrapWeth: "UnwrapWeth"

    Emitted when the OpenSeaSDK.unwrapWeth method is called.

    +
    WrapEth: "WrapEth"

    Emitted when the OpenSeaSDK.wrapEth method is called.

    +
    \ No newline at end of file diff --git a/enums/OrderSide.html b/enums/OrderSide.html index 416ff2938..f2f0a86a5 100644 --- a/enums/OrderSide.html +++ b/enums/OrderSide.html @@ -1,4 +1,4 @@ OrderSide | opensea-js - v7.1.12

    Enumeration OrderSide

    Order side: listing (ask) or offer (bid)

    -

    Enumeration Members

    Enumeration Members

    Enumeration Members

    LISTING: "ask"
    OFFER: "bid"
    \ No newline at end of file +

    Enumeration Members

    LISTING: "ask"
    OFFER: "bid"
    \ No newline at end of file diff --git a/enums/OrderType.html b/enums/OrderType.html index d6de924e4..ea2f2c90a 100644 --- a/enums/OrderType.html +++ b/enums/OrderType.html @@ -1,4 +1,4 @@ -OrderType | opensea-js - v7.1.12

    Enumeration OrderType

    Enumeration Members

    BASIC +OrderType | opensea-js - v7.1.12

    Enumeration OrderType

    Enumeration Members

    Enumeration Members

    BASIC: "basic"
    CRITERIA: "criteria"
    ENGLISH: "english"
    \ No newline at end of file +

    Enumeration Members

    BASIC: "basic"
    CRITERIA: "criteria"
    ENGLISH: "english"
    \ No newline at end of file diff --git a/enums/SafelistStatus.html b/enums/SafelistStatus.html index c8abb3c8e..0fdd5acb7 100644 --- a/enums/SafelistStatus.html +++ b/enums/SafelistStatus.html @@ -6,9 +6,9 @@
  • approved: collections that are approved on our site and can be found in search results
  • verified: verified collections
  • -

    Enumeration Members

    Enumeration Members

    APPROVED: "approved"
    DISABLED_TOP_TRENDING: "disabled_top_trending"
    NOT_REQUESTED: "not_requested"
    REQUESTED: "requested"
    VERIFIED: "verified"
    \ No newline at end of file +

    Enumeration Members

    APPROVED: "approved"
    DISABLED_TOP_TRENDING: "disabled_top_trending"
    NOT_REQUESTED: "not_requested"
    REQUESTED: "requested"
    VERIFIED: "verified"
    \ No newline at end of file diff --git a/enums/TokenStandard.html b/enums/TokenStandard.html index 10f3fcfa5..860472ec9 100644 --- a/enums/TokenStandard.html +++ b/enums/TokenStandard.html @@ -1,5 +1,5 @@ TokenStandard | opensea-js - v7.1.12

    Enumeration TokenStandard

    Token standards

    -

    Enumeration Members

    Enumeration Members

    Enumeration Members

    ERC1155: "ERC1155"
    ERC20: "ERC20"
    ERC721: "ERC721"
    \ No newline at end of file +

    Enumeration Members

    ERC1155: "ERC1155"
    ERC20: "ERC20"
    ERC721: "ERC721"
    \ No newline at end of file diff --git a/enums/TraitDisplayType.html b/enums/TraitDisplayType.html index 6ba501e07..03e0f846d 100644 --- a/enums/TraitDisplayType.html +++ b/enums/TraitDisplayType.html @@ -1,9 +1,9 @@ TraitDisplayType | opensea-js - v7.1.12

    Enumeration TraitDisplayType

    Trait display type returned by OpenSea API.

    -

    Enumeration Members

    Enumeration Members

    AUTHOR: "author"
    BOOST_NUMBER: "boost_number"
    BOOST_PERCENTAGE: "boost_percentage"
    DATE: "date"
    NONE: "None"

    "None" is used for string traits

    -
    NUMBER: "number"
    \ No newline at end of file +

    Enumeration Members

    AUTHOR: "author"
    BOOST_NUMBER: "boost_number"
    BOOST_PERCENTAGE: "boost_percentage"
    DATE: "date"
    NONE: "None"

    "None" is used for string traits

    +
    NUMBER: "number"
    \ No newline at end of file diff --git a/interfaces/Asset.html b/interfaces/Asset.html index 21bf47ce5..37a395206 100644 --- a/interfaces/Asset.html +++ b/interfaces/Asset.html @@ -1,12 +1,12 @@ Asset | opensea-js - v7.1.12

    Interface Asset

    Generic Blockchain Asset.

    -
    interface Asset {
        decimals?: number;
        name?: string;
        tokenAddress: string;
        tokenId: null | string;
        tokenStandard?: TokenStandard;
    }

    Hierarchy (view full)

    Properties

    interface Asset {
        decimals?: number;
        name?: string;
        tokenAddress: string;
        tokenId: null | string;
        tokenStandard?: TokenStandard;
    }

    Hierarchy (view full)

    Properties

    decimals?: number

    Optional for fungible items

    -
    name?: string

    Optional for ENS names

    -
    tokenAddress: string

    The asset's contract address

    -
    tokenId: null | string

    The asset's token ID, or null if ERC-20

    -
    tokenStandard?: TokenStandard

    The token standard (e.g. "ERC721") for this asset

    -
    \ No newline at end of file +
    name?: string

    Optional for ENS names

    +
    tokenAddress: string

    The asset's contract address

    +
    tokenId: null | string

    The asset's token ID, or null if ERC-20

    +
    tokenStandard?: TokenStandard

    The token standard (e.g. "ERC721") for this asset

    +
    \ No newline at end of file diff --git a/interfaces/AssetWithTokenId.html b/interfaces/AssetWithTokenId.html index bc583b7da..00cbcfc11 100644 --- a/interfaces/AssetWithTokenId.html +++ b/interfaces/AssetWithTokenId.html @@ -1,12 +1,12 @@ AssetWithTokenId | opensea-js - v7.1.12

    Interface AssetWithTokenId

    Generic Blockchain Asset, with tokenId required.

    -
    interface AssetWithTokenId {
        decimals?: number;
        name?: string;
        tokenAddress: string;
        tokenId: string;
        tokenStandard?: TokenStandard;
    }

    Hierarchy (view full)

    Properties

    interface AssetWithTokenId {
        decimals?: number;
        name?: string;
        tokenAddress: string;
        tokenId: string;
        tokenStandard?: TokenStandard;
    }

    Hierarchy (view full)

    Properties

    decimals?: number

    Optional for fungible items

    -
    name?: string

    Optional for ENS names

    -
    tokenAddress: string

    The asset's contract address

    -
    tokenId: string

    The asset's token ID

    -
    tokenStandard?: TokenStandard

    The token standard (e.g. "ERC721") for this asset

    -
    \ No newline at end of file +
    name?: string

    Optional for ENS names

    +
    tokenAddress: string

    The asset's contract address

    +
    tokenId: string

    The asset's token ID

    +
    tokenStandard?: TokenStandard

    The token standard (e.g. "ERC721") for this asset

    +
    \ No newline at end of file diff --git a/interfaces/AssetWithTokenStandard.html b/interfaces/AssetWithTokenStandard.html index 9cbbf81fe..aa7d7fc53 100644 --- a/interfaces/AssetWithTokenStandard.html +++ b/interfaces/AssetWithTokenStandard.html @@ -1,12 +1,12 @@ AssetWithTokenStandard | opensea-js - v7.1.12

    Interface AssetWithTokenStandard

    Generic Blockchain Asset, with tokenStandard required.

    -
    interface AssetWithTokenStandard {
        decimals?: number;
        name?: string;
        tokenAddress: string;
        tokenId: null | string;
        tokenStandard: TokenStandard;
    }

    Hierarchy (view full)

    • Asset
      • AssetWithTokenStandard

    Properties

    interface AssetWithTokenStandard {
        decimals?: number;
        name?: string;
        tokenAddress: string;
        tokenId: null | string;
        tokenStandard: TokenStandard;
    }

    Hierarchy (view full)

    • Asset
      • AssetWithTokenStandard

    Properties

    decimals?: number

    Optional for fungible items

    -
    name?: string

    Optional for ENS names

    -
    tokenAddress: string

    The asset's contract address

    -
    tokenId: null | string

    The asset's token ID, or null if ERC-20

    -
    tokenStandard: TokenStandard

    The token standard (e.g. "ERC721") for this asset

    -
    \ No newline at end of file +
    name?: string

    Optional for ENS names

    +
    tokenAddress: string

    The asset's contract address

    +
    tokenId: null | string

    The asset's token ID, or null if ERC-20

    +
    tokenStandard: TokenStandard

    The token standard (e.g. "ERC721") for this asset

    +
    \ No newline at end of file diff --git a/interfaces/EventData.html b/interfaces/EventData.html index a4bee4e4c..c1b513347 100644 --- a/interfaces/EventData.html +++ b/interfaces/EventData.html @@ -1,14 +1,14 @@ EventData | opensea-js - v7.1.12

    Interface EventData

    Data that gets sent with each EventType

    -
    interface EventData {
        accountAddress?: string;
        amount?: BigNumberish;
        error?: unknown;
        event?: EventType;
        orderV2?: OrderV2;
        transactionHash?: string;
    }

    Properties

    interface EventData {
        accountAddress?: string;
        amount?: BigNumberish;
        error?: unknown;
        event?: EventType;
        orderV2?: OrderV2;
        transactionHash?: string;
    }

    Properties

    accountAddress?: string

    Wallet address of the user who initiated the event.

    -
    amount?: BigNumberish

    Amount of ETH sent when wrapping or unwrapping.

    -
    error?: unknown

    Error which occurred when transaction was denied or failed.

    -
    event?: EventType

    The EventType of the event.

    -
    orderV2?: OrderV2

    The OrderV2 object.

    -
    transactionHash?: string

    The transaction hash of the event.

    -
    \ No newline at end of file +
    amount?: BigNumberish

    Amount of ETH sent when wrapping or unwrapping.

    +
    error?: unknown

    Error which occurred when transaction was denied or failed.

    +
    event?: EventType

    The EventType of the event.

    +
    orderV2?: OrderV2

    The OrderV2 object.

    +
    transactionHash?: string

    The transaction hash of the event.

    +
    \ No newline at end of file diff --git a/interfaces/Fee.html b/interfaces/Fee.html index 8dd7032d9..85c046faf 100644 --- a/interfaces/Fee.html +++ b/interfaces/Fee.html @@ -1,5 +1,5 @@ Fee | opensea-js - v7.1.12

    Interface Fee

    Collection fees

    -
    interface Fee {
        fee: number;
        recipient: string;
        required: boolean;
    }

    Properties

    fee +
    interface Fee {
        fee: number;
        recipient: string;
        required: boolean;
    }

    Properties

    Properties

    fee: number
    recipient: string
    required: boolean
    \ No newline at end of file +

    Properties

    fee: number
    recipient: string
    required: boolean
    \ No newline at end of file diff --git a/interfaces/GetCollectionsArgs.html b/interfaces/GetCollectionsArgs.html index 52a6a8854..3082b075e 100644 --- a/interfaces/GetCollectionsArgs.html +++ b/interfaces/GetCollectionsArgs.html @@ -1,8 +1,8 @@ GetCollectionsArgs | opensea-js - v7.1.12

    Interface GetCollectionsArgs

    Query args for Get Collections

    -
    interface GetCollectionsArgs {
        chain?: string;
        creator_username?: string;
        include_hidden?: boolean;
        limit?: number;
        next?: string;
        order_by?: string;
    }

    Properties

    interface GetCollectionsArgs {
        chain?: string;
        creator_username?: string;
        include_hidden?: boolean;
        limit?: number;
        next?: string;
        order_by?: string;
    }

    Properties

    chain?: string
    creator_username?: string
    include_hidden?: boolean
    limit?: number
    next?: string
    order_by?: string
    \ No newline at end of file +

    Properties

    chain?: string
    creator_username?: string
    include_hidden?: boolean
    limit?: number
    next?: string
    order_by?: string
    \ No newline at end of file diff --git a/interfaces/OpenSeaAPIConfig.html b/interfaces/OpenSeaAPIConfig.html index 528bac57a..964e8af83 100644 --- a/interfaces/OpenSeaAPIConfig.html +++ b/interfaces/OpenSeaAPIConfig.html @@ -2,7 +2,7 @@

    Param: chain

    Chain to use. Defaults to Ethereum Mainnet (Chain.Mainnet)

    Param: apiKey

    API key to use. Not required for testnets

    Param: apiBaseUrl

    Optional base URL to use for the API

    -
    interface OpenSeaAPIConfig {
        apiBaseUrl?: string;
        apiKey?: string;
        chain?: Chain;
    }

    Properties

    interface OpenSeaAPIConfig {
        apiBaseUrl?: string;
        apiKey?: string;
        chain?: Chain;
    }

    Properties

    apiBaseUrl?: string
    apiKey?: string
    chain?: Chain
    \ No newline at end of file +

    Properties

    apiBaseUrl?: string
    apiKey?: string
    chain?: Chain
    \ No newline at end of file diff --git a/interfaces/OpenSeaAccount.html b/interfaces/OpenSeaAccount.html index c27bd6b86..d47ca82fd 100644 --- a/interfaces/OpenSeaAccount.html +++ b/interfaces/OpenSeaAccount.html @@ -1,5 +1,5 @@ OpenSeaAccount | opensea-js - v7.1.12

    Interface OpenSeaAccount

    OpenSea Account

    -
    interface OpenSeaAccount {
        address: string;
        bannerImageUrl: string;
        bio: string;
        joinedDate: string;
        profileImageUrl: string;
        socialMediaAccounts: SocialMediaAccount[];
        username: string;
        website: string;
    }

    Properties

    interface OpenSeaAccount {
        address: string;
        bannerImageUrl: string;
        bio: string;
        joinedDate: string;
        profileImageUrl: string;
        socialMediaAccounts: SocialMediaAccount[];
        username: string;
        website: string;
    }

    Properties

    address: string
    bannerImageUrl: string
    bio: string
    joinedDate: string
    profileImageUrl: string
    socialMediaAccounts: SocialMediaAccount[]
    username: string
    website: string
    \ No newline at end of file +

    Properties

    address: string
    bannerImageUrl: string
    bio: string
    joinedDate: string
    profileImageUrl: string
    socialMediaAccounts: SocialMediaAccount[]
    username: string
    website: string
    \ No newline at end of file diff --git a/interfaces/OpenSeaCollection.html b/interfaces/OpenSeaCollection.html index 712e57cbc..3a1fade23 100644 --- a/interfaces/OpenSeaCollection.html +++ b/interfaces/OpenSeaCollection.html @@ -1,5 +1,5 @@ OpenSeaCollection | opensea-js - v7.1.12

    Interface OpenSeaCollection

    OpenSea collection metadata.

    -
    interface OpenSeaCollection {
        bannerImageUrl: string;
        category: string;
        collection: string;
        collectionOffersEnabled: boolean;
        contracts: {
            address: string;
            chain: Chain;
        }[];
        createdDate: string;
        description: string;
        discordUrl: string;
        editors: string[];
        fees: Fee[];
        imageUrl: string;
        instagramUsername: string;
        isDisabled: boolean;
        isNSFW: boolean;
        name: string;
        openseaUrl: string;
        owner: string;
        paymentTokens: OpenSeaPaymentToken[];
        projectUrl: string;
        rarity: null | RarityStrategy;
        requiredZone?: string;
        safelistStatus: SafelistStatus;
        telegramUrl: string;
        totalSupply: number;
        traitOffersEnabled: boolean;
        twitterUsername: string;
        wikiUrl: string;
    }

    Properties

    interface OpenSeaCollection {
        bannerImageUrl: string;
        category: string;
        collection: string;
        collectionOffersEnabled: boolean;
        contracts: {
            address: string;
            chain: Chain;
        }[];
        createdDate: string;
        description: string;
        discordUrl: string;
        editors: string[];
        fees: Fee[];
        imageUrl: string;
        instagramUsername: string;
        isDisabled: boolean;
        isNSFW: boolean;
        name: string;
        openseaUrl: string;
        owner: string;
        paymentTokens: OpenSeaPaymentToken[];
        projectUrl: string;
        rarity: null | RarityStrategy;
        requiredZone?: string;
        safelistStatus: SafelistStatus;
        telegramUrl: string;
        totalSupply: number;
        traitOffersEnabled: boolean;
        twitterUsername: string;
        wikiUrl: string;
    }

    Properties

    bannerImageUrl: string

    Banner image for the collection

    -
    category: string

    The category of the collection

    -
    collection: string

    The identifier (slug) of the collection

    -
    collectionOffersEnabled: boolean

    If collection offers are enabled

    -
    contracts: {
        address: string;
        chain: Chain;
    }[]

    The contracts for the collection

    -

    Type declaration

    • address: string
    • chain: Chain
    createdDate: string

    The created date of the collection

    -
    description: string

    Description of the collection

    -
    discordUrl: string

    The discord url for the collection

    -
    editors: string[]

    Accounts allowed to edit this collection

    -
    fees: Fee[]

    The fees for the collection

    -
    imageUrl: string

    Image for the collection

    -
    instagramUsername: string

    The instagram username for the collection

    -
    isDisabled: boolean

    If the collection is disabled

    -
    isNSFW: boolean

    If the collection is NSFW (not safe for work)

    -
    name: string

    Name of the collection

    -
    openseaUrl: string

    The OpenSea url for the collection

    -
    owner: string

    Owner address of the collection

    -
    paymentTokens: OpenSeaPaymentToken[]

    Payment tokens allowed for orders for this collection

    -
    projectUrl: string

    The project url for the collection

    -
    rarity: null | RarityStrategy

    The rarity strategy for the collection

    -
    requiredZone?: string

    When defined, the zone required for orders for the collection

    -
    safelistStatus: SafelistStatus

    The collection's safelist status

    -
    telegramUrl: string

    The telegram url for the collection

    -
    totalSupply: number

    The total supply of the collection (minted minus burned)

    -
    traitOffersEnabled: boolean

    If trait offers are enabled

    -
    twitterUsername: string

    The twitter username for the collection

    -
    wikiUrl: string

    The wiki url for the collection

    -
    \ No newline at end of file +
    category: string

    The category of the collection

    +
    collection: string

    The identifier (slug) of the collection

    +
    collectionOffersEnabled: boolean

    If collection offers are enabled

    +
    contracts: {
        address: string;
        chain: Chain;
    }[]

    The contracts for the collection

    +

    Type declaration

    • address: string
    • chain: Chain
    createdDate: string

    The created date of the collection

    +
    description: string

    Description of the collection

    +
    discordUrl: string

    The discord url for the collection

    +
    editors: string[]

    Accounts allowed to edit this collection

    +
    fees: Fee[]

    The fees for the collection

    +
    imageUrl: string

    Image for the collection

    +
    instagramUsername: string

    The instagram username for the collection

    +
    isDisabled: boolean

    If the collection is disabled

    +
    isNSFW: boolean

    If the collection is NSFW (not safe for work)

    +
    name: string

    Name of the collection

    +
    openseaUrl: string

    The OpenSea url for the collection

    +
    owner: string

    Owner address of the collection

    +
    paymentTokens: OpenSeaPaymentToken[]

    Payment tokens allowed for orders for this collection

    +
    projectUrl: string

    The project url for the collection

    +
    rarity: null | RarityStrategy

    The rarity strategy for the collection

    +
    requiredZone?: string

    When defined, the zone required for orders for the collection

    +
    safelistStatus: SafelistStatus

    The collection's safelist status

    +
    telegramUrl: string

    The telegram url for the collection

    +
    totalSupply: number

    The total supply of the collection (minted minus burned)

    +
    traitOffersEnabled: boolean

    If trait offers are enabled

    +
    twitterUsername: string

    The twitter username for the collection

    +
    wikiUrl: string

    The wiki url for the collection

    +
    \ No newline at end of file diff --git a/interfaces/OpenSeaCollectionStats.html b/interfaces/OpenSeaCollectionStats.html index 99abb35e6..195519c9f 100644 --- a/interfaces/OpenSeaCollectionStats.html +++ b/interfaces/OpenSeaCollectionStats.html @@ -1,4 +1,4 @@ OpenSeaCollectionStats | opensea-js - v7.1.12

    Interface OpenSeaCollectionStats

    OpenSea Collection Stats

    -
    interface OpenSeaCollectionStats {
        intervals: OpenSeaCollectionStatsIntervalData[];
        total: {
            average_price: number;
            floor_price: number;
            floor_price_symbol: string;
            market_cap: number;
            num_owners: number;
            sales: number;
            volume: number;
        };
    }

    Properties

    interface OpenSeaCollectionStats {
        intervals: OpenSeaCollectionStatsIntervalData[];
        total: {
            average_price: number;
            floor_price: number;
            floor_price_symbol: string;
            market_cap: number;
            num_owners: number;
            sales: number;
            volume: number;
        };
    }

    Properties

    Properties

    intervals: OpenSeaCollectionStatsIntervalData[]
    total: {
        average_price: number;
        floor_price: number;
        floor_price_symbol: string;
        market_cap: number;
        num_owners: number;
        sales: number;
        volume: number;
    }

    Type declaration

    • average_price: number
    • floor_price: number
    • floor_price_symbol: string
    • market_cap: number
    • num_owners: number
    • sales: number
    • volume: number
    \ No newline at end of file +

    Properties

    intervals: OpenSeaCollectionStatsIntervalData[]
    total: {
        average_price: number;
        floor_price: number;
        floor_price_symbol: string;
        market_cap: number;
        num_owners: number;
        sales: number;
        volume: number;
    }

    Type declaration

    • average_price: number
    • floor_price: number
    • floor_price_symbol: string
    • market_cap: number
    • num_owners: number
    • sales: number
    • volume: number
    \ No newline at end of file diff --git a/interfaces/OpenSeaPaymentToken.html b/interfaces/OpenSeaPaymentToken.html index 2df51b79d..0586bc993 100644 --- a/interfaces/OpenSeaPaymentToken.html +++ b/interfaces/OpenSeaPaymentToken.html @@ -1,5 +1,5 @@ OpenSeaPaymentToken | opensea-js - v7.1.12

    Interface OpenSeaPaymentToken

    Full annotated Fungible Token spec with OpenSea metadata

    -
    interface OpenSeaPaymentToken {
        address: string;
        chain: Chain;
        decimals: number;
        ethPrice?: string;
        imageUrl?: string;
        name: string;
        symbol: string;
        usdPrice?: string;
    }

    Properties

    interface OpenSeaPaymentToken {
        address: string;
        chain: Chain;
        decimals: number;
        ethPrice?: string;
        imageUrl?: string;
        name: string;
        symbol: string;
        usdPrice?: string;
    }

    Properties

    Properties

    address: string
    chain: Chain
    decimals: number
    ethPrice?: string
    imageUrl?: string
    name: string
    symbol: string
    usdPrice?: string
    \ No newline at end of file +

    Properties

    address: string
    chain: Chain
    decimals: number
    ethPrice?: string
    imageUrl?: string
    name: string
    symbol: string
    usdPrice?: string
    \ No newline at end of file diff --git a/interfaces/OpenSeaPaymentTokensQuery.html b/interfaces/OpenSeaPaymentTokensQuery.html index 9a4cf8669..5bd1f0fa4 100644 --- a/interfaces/OpenSeaPaymentTokensQuery.html +++ b/interfaces/OpenSeaPaymentTokensQuery.html @@ -1,6 +1,6 @@ OpenSeaPaymentTokensQuery | opensea-js - v7.1.12

    Interface OpenSeaPaymentTokensQuery

    Query interface for payment tokens

    -
    interface OpenSeaPaymentTokensQuery {
        address?: string;
        limit?: number;
        next?: string;
        symbol?: string;
    }

    Properties

    interface OpenSeaPaymentTokensQuery {
        address?: string;
        limit?: number;
        next?: string;
        symbol?: string;
    }

    Properties

    address?: string
    limit?: number
    next?: string
    symbol?: string
    \ No newline at end of file +

    Properties

    address?: string
    limit?: number
    next?: string
    symbol?: string
    \ No newline at end of file diff --git a/interfaces/RarityStrategy.html b/interfaces/RarityStrategy.html index 49b6cbd14..703c86ac1 100644 --- a/interfaces/RarityStrategy.html +++ b/interfaces/RarityStrategy.html @@ -1,6 +1,6 @@ -RarityStrategy | opensea-js - v7.1.12

    Interface RarityStrategy

    interface RarityStrategy {
        calculatedAt: string;
        maxRank: number;
        strategyId: string;
        strategyVersion: string;
        tokensScored: number;
    }

    Properties

    calculatedAt +RarityStrategy | opensea-js - v7.1.12

    Interface RarityStrategy

    interface RarityStrategy {
        calculatedAt: string;
        maxRank: number;
        strategyId: string;
        strategyVersion: string;
        tokensScored: number;
    }

    Properties

    calculatedAt: string
    maxRank: number
    strategyId: string
    strategyVersion: string
    tokensScored: number
    \ No newline at end of file +

    Properties

    calculatedAt: string
    maxRank: number
    strategyId: string
    strategyVersion: string
    tokensScored: number
    \ No newline at end of file diff --git a/interfaces/SocialMediaAccount.html b/interfaces/SocialMediaAccount.html index 43e65106c..0698557c1 100644 --- a/interfaces/SocialMediaAccount.html +++ b/interfaces/SocialMediaAccount.html @@ -1,4 +1,4 @@ SocialMediaAccount | opensea-js - v7.1.12

    Interface SocialMediaAccount

    Social media account

    -
    interface SocialMediaAccount {
        platform: string;
        username: string;
    }

    Properties

    interface SocialMediaAccount {
        platform: string;
        username: string;
    }

    Properties

    Properties

    platform: string
    username: string
    \ No newline at end of file +

    Properties

    platform: string
    username: string
    \ No newline at end of file diff --git a/types/BuildOfferResponse.html b/types/BuildOfferResponse.html index 1a093e52f..8d7702a45 100644 --- a/types/BuildOfferResponse.html +++ b/types/BuildOfferResponse.html @@ -1,3 +1,3 @@ BuildOfferResponse | opensea-js - v7.1.12

    Type alias BuildOfferResponse

    BuildOfferResponse: {
        partialParameters: PartialParameters;
    }

    Response from OpenSea API for building an offer.

    Type declaration

    • partialParameters: PartialParameters

      A portion of the parameters needed to submit a criteria offer, i.e. collection offer.

      -
    \ No newline at end of file +
    \ No newline at end of file diff --git a/types/CancelOrderResponse.html b/types/CancelOrderResponse.html index 652be5880..7e0e874ce 100644 --- a/types/CancelOrderResponse.html +++ b/types/CancelOrderResponse.html @@ -1,2 +1,2 @@ CancelOrderResponse | opensea-js - v7.1.12

    Type alias CancelOrderResponse

    CancelOrderResponse: {
        last_signature_issued_valid_until: string | null;
    }

    Response from OpenSea API for offchain canceling an order.

    -

    Type declaration

    • last_signature_issued_valid_until: string | null
    \ No newline at end of file +

    Type declaration

    \ No newline at end of file diff --git a/types/CollectionOffer.html b/types/CollectionOffer.html index 040969c6d..ce249f281 100644 --- a/types/CollectionOffer.html +++ b/types/CollectionOffer.html @@ -1,2 +1,2 @@ CollectionOffer | opensea-js - v7.1.12

    Type alias CollectionOffer

    CollectionOffer: Required<Pick<Offer, "criteria">> & Offer

    Collection Offer type.

    -
    \ No newline at end of file +
    \ No newline at end of file diff --git a/types/FulfillmentDataResponse.html b/types/FulfillmentDataResponse.html index 2579b8034..3d6afb888 100644 --- a/types/FulfillmentDataResponse.html +++ b/types/FulfillmentDataResponse.html @@ -1 +1 @@ -FulfillmentDataResponse | opensea-js - v7.1.12

    Type alias FulfillmentDataResponse

    FulfillmentDataResponse: {
        fulfillment_data: FulfillmentData;
        protocol: string;
    }

    Type declaration

    • fulfillment_data: FulfillmentData
    • protocol: string
    \ No newline at end of file +FulfillmentDataResponse | opensea-js - v7.1.12

    Type alias FulfillmentDataResponse

    FulfillmentDataResponse: {
        fulfillment_data: FulfillmentData;
        protocol: string;
    }

    Type declaration

    • fulfillment_data: FulfillmentData
    • protocol: string
    \ No newline at end of file diff --git a/types/GetBestListingResponse.html b/types/GetBestListingResponse.html index dddf7a0ce..f870f77fe 100644 --- a/types/GetBestListingResponse.html +++ b/types/GetBestListingResponse.html @@ -1,2 +1,2 @@ GetBestListingResponse | opensea-js - v7.1.12

    Type alias GetBestListingResponse

    GetBestListingResponse: Listing

    Response from OpenSea API for fetching a best listing.

    -
    \ No newline at end of file +
    \ No newline at end of file diff --git a/types/GetBestOfferResponse.html b/types/GetBestOfferResponse.html index 433d04a0b..86576bf3f 100644 --- a/types/GetBestOfferResponse.html +++ b/types/GetBestOfferResponse.html @@ -1,2 +1,2 @@ GetBestOfferResponse | opensea-js - v7.1.12

    Type alias GetBestOfferResponse

    GetBestOfferResponse: Offer | CollectionOffer

    Response from OpenSea API for fetching a best offer.

    -
    \ No newline at end of file +
    \ No newline at end of file diff --git a/types/GetCollectionResponse.html b/types/GetCollectionResponse.html index 997008c26..658096314 100644 --- a/types/GetCollectionResponse.html +++ b/types/GetCollectionResponse.html @@ -1,3 +1,3 @@ GetCollectionResponse | opensea-js - v7.1.12

    Type alias GetCollectionResponse

    GetCollectionResponse: {
        collection: OpenSeaCollection;
    }

    Response from OpenSea API for fetching a single collection.

    Type declaration

    \ No newline at end of file +
    \ No newline at end of file diff --git a/types/GetCollectionsResponse.html b/types/GetCollectionsResponse.html index e893f4ebf..be494d10a 100644 --- a/types/GetCollectionsResponse.html +++ b/types/GetCollectionsResponse.html @@ -1,3 +1,3 @@ GetCollectionsResponse | opensea-js - v7.1.12

    Type alias GetCollectionsResponse

    GetCollectionsResponse: QueryCursorsV2 & {
        collections: OpenSeaCollection[];
    }

    Response from OpenSea API for fetching a list of collections.

    Type declaration

    \ No newline at end of file +
    \ No newline at end of file diff --git a/types/GetListingsResponse.html b/types/GetListingsResponse.html index 62d58e837..7a912ef68 100644 --- a/types/GetListingsResponse.html +++ b/types/GetListingsResponse.html @@ -1,2 +1,2 @@ GetListingsResponse | opensea-js - v7.1.12

    Type alias GetListingsResponse

    GetListingsResponse: QueryCursorsV2 & {
        listings: Listing[];
    }

    Response from OpenSea API for fetching listings.

    -

    Type declaration

    \ No newline at end of file +

    Type declaration

    \ No newline at end of file diff --git a/types/GetNFTResponse.html b/types/GetNFTResponse.html index d13945795..3c788c148 100644 --- a/types/GetNFTResponse.html +++ b/types/GetNFTResponse.html @@ -1,3 +1,3 @@ GetNFTResponse | opensea-js - v7.1.12

    Type alias GetNFTResponse

    GetNFTResponse: {
        nft: NFT;
    }

    Response from OpenSea API for fetching a single NFT.

    Type declaration

    \ No newline at end of file +
    \ No newline at end of file diff --git a/types/GetOffersResponse.html b/types/GetOffersResponse.html index c0d52f236..a5361f801 100644 --- a/types/GetOffersResponse.html +++ b/types/GetOffersResponse.html @@ -1,2 +1,2 @@ GetOffersResponse | opensea-js - v7.1.12

    Type alias GetOffersResponse

    GetOffersResponse: QueryCursorsV2 & {
        offers: Offer[];
    }

    Response from OpenSea API for fetching offers.

    -

    Type declaration

    \ No newline at end of file +

    Type declaration

    \ No newline at end of file diff --git a/types/GetOrdersResponse.html b/types/GetOrdersResponse.html index 91e861fc8..53e5fca95 100644 --- a/types/GetOrdersResponse.html +++ b/types/GetOrdersResponse.html @@ -1,3 +1,3 @@ GetOrdersResponse | opensea-js - v7.1.12

    Type alias GetOrdersResponse

    GetOrdersResponse: QueryCursors & {
        orders: OrderV2[];
    }

    Response from OpenSea API for fetching Orders.

    Type declaration

    \ No newline at end of file +
    \ No newline at end of file diff --git a/types/ListCollectionOffersResponse.html b/types/ListCollectionOffersResponse.html index 8e1e408bb..4c96525f3 100644 --- a/types/ListCollectionOffersResponse.html +++ b/types/ListCollectionOffersResponse.html @@ -1,3 +1,3 @@ ListCollectionOffersResponse | opensea-js - v7.1.12

    Type alias ListCollectionOffersResponse

    ListCollectionOffersResponse: {
        offers: CollectionOffer[];
    }

    Response from OpenSea API for fetching a list of collection offers.

    Type declaration

    \ No newline at end of file +
    \ No newline at end of file diff --git a/types/ListNFTsResponse.html b/types/ListNFTsResponse.html index d30f1f351..67e735f67 100644 --- a/types/ListNFTsResponse.html +++ b/types/ListNFTsResponse.html @@ -1,4 +1,4 @@ ListNFTsResponse | opensea-js - v7.1.12

    Type alias ListNFTsResponse

    ListNFTsResponse: {
        next: string;
        nfts: NFT[];
    }

    Response from OpenSea API for fetching a list of NFTs.

    Type declaration

    • next: string

      Cursor for next page of results.

    • nfts: NFT[]

      List of NFT

      -
    \ No newline at end of file +
    \ No newline at end of file diff --git a/types/Listing.html b/types/Listing.html index 742df4b9e..3f85e58fa 100644 --- a/types/Listing.html +++ b/types/Listing.html @@ -1,3 +1,3 @@ Listing | opensea-js - v7.1.12

    Type alias Listing

    Listing: Order & {
        type: OrderType;
    }

    Listing order type.

    Type declaration

    • type: OrderType

      The order type of the listing.

      -
    \ No newline at end of file +
    \ No newline at end of file diff --git a/types/NFT.html b/types/NFT.html index 721658091..180be106b 100644 --- a/types/NFT.html +++ b/types/NFT.html @@ -15,4 +15,4 @@
  • token_standard: string

    Token standard, i.e. ERC721, ERC1155, etc.

  • traits: Trait[] | null

    Traits for the NFT, returns null if the NFT has than 50 traits

  • updated_at: string

    Date of latest NFT update

    -
  • \ No newline at end of file +
    \ No newline at end of file diff --git a/types/Offer.html b/types/Offer.html index 47cfd97af..f524bc94d 100644 --- a/types/Offer.html +++ b/types/Offer.html @@ -1,3 +1,3 @@ Offer | opensea-js - v7.1.12

    Type alias Offer

    Offer: Order & {
        criteria?: Criteria;
    }

    Offer type.

    Type declaration

    • Optional criteria?: Criteria

      The criteria for the offer if it is a collection or trait offer.

      -
    \ No newline at end of file +
    \ No newline at end of file diff --git a/types/Order.html b/types/Order.html index ba62da11f..8e00ed0aa 100644 --- a/types/Order.html +++ b/types/Order.html @@ -4,4 +4,4 @@
  • price: Price

    The price of the order.

  • protocol_address: string

    The contract address of the protocol.

  • protocol_data: ProtocolData

    The protocol data for the order. Only 'seaport' is currently supported.

    -
  • \ No newline at end of file +
    \ No newline at end of file diff --git a/types/OrderAPIOptions.html b/types/OrderAPIOptions.html index f8436465a..009a06e7f 100644 --- a/types/OrderAPIOptions.html +++ b/types/OrderAPIOptions.html @@ -1 +1 @@ -OrderAPIOptions | opensea-js - v7.1.12

    Type alias OrderAPIOptions

    OrderAPIOptions: {
        protocol?: OrderProtocol;
        protocolAddress?: string;
        side: OrderSide;
    }

    Type declaration

    \ No newline at end of file +OrderAPIOptions | opensea-js - v7.1.12

    Type alias OrderAPIOptions

    OrderAPIOptions: {
        protocol?: OrderProtocol;
        protocolAddress?: string;
        side: OrderSide;
    }

    Type declaration

    \ No newline at end of file diff --git a/types/OrderProtocol.html b/types/OrderProtocol.html index 172c9d3e7..ca4eafc85 100644 --- a/types/OrderProtocol.html +++ b/types/OrderProtocol.html @@ -1 +1 @@ -OrderProtocol | opensea-js - v7.1.12

    Type alias OrderProtocol

    OrderProtocol: keyof OrderProtocolToProtocolData
    \ No newline at end of file +OrderProtocol | opensea-js - v7.1.12

    Type alias OrderProtocol

    OrderProtocol: keyof OrderProtocolToProtocolData
    \ No newline at end of file diff --git a/types/OrderV2.html b/types/OrderV2.html index e99c2eb31..2955f895c 100644 --- a/types/OrderV2.html +++ b/types/OrderV2.html @@ -18,4 +18,4 @@
  • side: OrderSide

    The side of the order. Listing/Offer

  • taker: OpenSeaAccount | null

    The account that filled the order.

  • takerFees: OrderFee[]

    The taker fees for the order.

    -
  • \ No newline at end of file +
    \ No newline at end of file diff --git a/types/OrdersPostQueryResponse.html b/types/OrdersPostQueryResponse.html index 173c1397a..bf77f2fff 100644 --- a/types/OrdersPostQueryResponse.html +++ b/types/OrdersPostQueryResponse.html @@ -1 +1 @@ -OrdersPostQueryResponse | opensea-js - v7.1.12

    Type alias OrdersPostQueryResponse

    OrdersPostQueryResponse: {
        order: SerializedOrderV2;
    }

    Type declaration

    \ No newline at end of file +OrdersPostQueryResponse | opensea-js - v7.1.12

    Type alias OrdersPostQueryResponse

    OrdersPostQueryResponse: {
        order: SerializedOrderV2;
    }

    Type declaration

    \ No newline at end of file diff --git a/types/OrdersQueryOptions.html b/types/OrdersQueryOptions.html index 0b355bab4..77220f84c 100644 --- a/types/OrdersQueryOptions.html +++ b/types/OrdersQueryOptions.html @@ -1 +1 @@ -OrdersQueryOptions | opensea-js - v7.1.12

    Type alias OrdersQueryOptions

    OrdersQueryOptions: OrderAPIOptions & {
        assetContractAddress?: string;
        cursor?: string;
        limit?: number;
        listedAfter?: number | string;
        listedBefore?: number | string;
        maker?: string;
        next?: string;
        onlyEnglish?: boolean;
        orderBy?: OpenOrderOrderingOption;
        orderDirection?: OrderByDirection;
        owner?: string;
        paymentTokenAddress?: string;
        taker?: string;
        tokenId?: string;
        tokenIds?: string[];
    }

    Type declaration

    • Optional assetContractAddress?: string
    • Optional cursor?: string
    • Optional limit?: number
    • Optional listedAfter?: number | string
    • Optional listedBefore?: number | string
    • Optional maker?: string
    • Optional next?: string
    • Optional onlyEnglish?: boolean
    • Optional orderBy?: OpenOrderOrderingOption
    • Optional orderDirection?: OrderByDirection
    • Optional owner?: string
    • Optional paymentTokenAddress?: string
    • Optional taker?: string
    • Optional tokenId?: string
    • Optional tokenIds?: string[]
    \ No newline at end of file +OrdersQueryOptions | opensea-js - v7.1.12

    Type alias OrdersQueryOptions

    OrdersQueryOptions: OrderAPIOptions & {
        assetContractAddress?: string;
        cursor?: string;
        limit?: number;
        listedAfter?: number | string;
        listedBefore?: number | string;
        maker?: string;
        next?: string;
        onlyEnglish?: boolean;
        orderBy?: OpenOrderOrderingOption;
        orderDirection?: OrderByDirection;
        owner?: string;
        paymentTokenAddress?: string;
        taker?: string;
        tokenId?: string;
        tokenIds?: string[];
    }

    Type declaration

    • Optional assetContractAddress?: string
    • Optional cursor?: string
    • Optional limit?: number
    • Optional listedAfter?: number | string
    • Optional listedBefore?: number | string
    • Optional maker?: string
    • Optional next?: string
    • Optional onlyEnglish?: boolean
    • Optional orderBy?: OpenOrderOrderingOption
    • Optional orderDirection?: OrderByDirection
    • Optional owner?: string
    • Optional paymentTokenAddress?: string
    • Optional taker?: string
    • Optional tokenId?: string
    • Optional tokenIds?: string[]
    \ No newline at end of file diff --git a/types/OrdersQueryResponse.html b/types/OrdersQueryResponse.html index 3628ccd3d..7c1e878f5 100644 --- a/types/OrdersQueryResponse.html +++ b/types/OrdersQueryResponse.html @@ -1 +1 @@ -OrdersQueryResponse | opensea-js - v7.1.12

    Type alias OrdersQueryResponse

    OrdersQueryResponse: QueryCursors & {
        orders: SerializedOrderV2[];
    }

    Type declaration

    \ No newline at end of file +OrdersQueryResponse | opensea-js - v7.1.12

    Type alias OrdersQueryResponse

    OrdersQueryResponse: QueryCursors & {
        orders: SerializedOrderV2[];
    }

    Type declaration

    \ No newline at end of file diff --git a/types/Price.html b/types/Price.html index 888ca332d..c3f24438a 100644 --- a/types/Price.html +++ b/types/Price.html @@ -1,2 +1,2 @@ Price | opensea-js - v7.1.12

    Type alias Price

    Price: {
        current: {
            currency: string;
            decimals: number;
            value: string;
        };
    }

    Price response.

    -

    Type declaration

    • current: {
          currency: string;
          decimals: number;
          value: string;
      }
      • currency: string
      • decimals: number
      • value: string
    \ No newline at end of file +

    Type declaration

    \ No newline at end of file diff --git a/types/ProtocolData.html b/types/ProtocolData.html index 2f3e5aad4..ea2bdd774 100644 --- a/types/ProtocolData.html +++ b/types/ProtocolData.html @@ -1 +1 @@ -ProtocolData | opensea-js - v7.1.12

    Type alias ProtocolData

    ProtocolData: OrderProtocolToProtocolData[keyof OrderProtocolToProtocolData]
    \ No newline at end of file +ProtocolData | opensea-js - v7.1.12

    Type alias ProtocolData

    ProtocolData: OrderProtocolToProtocolData[keyof OrderProtocolToProtocolData]
    \ No newline at end of file diff --git a/types/QueryCursors.html b/types/QueryCursors.html index 85f0b32b7..90196aa81 100644 --- a/types/QueryCursors.html +++ b/types/QueryCursors.html @@ -1 +1 @@ -QueryCursors | opensea-js - v7.1.12

    Type alias QueryCursors

    QueryCursors: {
        next: string | null;
        previous: string | null;
    }

    Type declaration

    • next: string | null
    • previous: string | null
    \ No newline at end of file +QueryCursors | opensea-js - v7.1.12

    Type alias QueryCursors

    QueryCursors: {
        next: string | null;
        previous: string | null;
    }

    Type declaration

    • next: string | null
    • previous: string | null
    \ No newline at end of file diff --git a/types/QueryCursorsV2.html b/types/QueryCursorsV2.html index 119692f1c..0baae5a22 100644 --- a/types/QueryCursorsV2.html +++ b/types/QueryCursorsV2.html @@ -1,2 +1,2 @@ QueryCursorsV2 | opensea-js - v7.1.12

    Type alias QueryCursorsV2

    QueryCursorsV2: {
        next?: string;
    }

    Base query cursors response from OpenSea API.

    -

    Type declaration

    • Optional next?: string
    \ No newline at end of file +

    Type declaration

    \ No newline at end of file diff --git a/types/SerializedOrderV2.html b/types/SerializedOrderV2.html index f62e6301f..d831ca158 100644 --- a/types/SerializedOrderV2.html +++ b/types/SerializedOrderV2.html @@ -1 +1 @@ -SerializedOrderV2 | opensea-js - v7.1.12

    Type alias SerializedOrderV2

    SerializedOrderV2: {
        cancelled: boolean;
        client_signature: string | null;
        closing_date: string | null;
        created_date: string;
        current_price: string;
        expiration_time: number;
        finalized: boolean;
        listing_time: number;
        maker: unknown;
        maker_fees: {
            account: unknown;
            basis_points: string;
        }[];
        marked_invalid: boolean;
        order_hash: string | null;
        order_type: OrderType;
        protocol_address: string;
        protocol_data: ProtocolData;
        remaining_quantity: number;
        side: OrderSide;
        taker: unknown | null;
        taker_fees: {
            account: unknown;
            basis_points: string;
        }[];
    }

    Type declaration

    • cancelled: boolean
    • client_signature: string | null
    • closing_date: string | null
    • created_date: string
    • current_price: string
    • expiration_time: number
    • finalized: boolean
    • listing_time: number
    • maker: unknown
    • maker_fees: {
          account: unknown;
          basis_points: string;
      }[]
    • marked_invalid: boolean
    • order_hash: string | null
    • order_type: OrderType
    • protocol_address: string
    • protocol_data: ProtocolData
    • remaining_quantity: number
    • side: OrderSide
    • taker: unknown | null
    • taker_fees: {
          account: unknown;
          basis_points: string;
      }[]
    \ No newline at end of file +SerializedOrderV2 | opensea-js - v7.1.12

    Type alias SerializedOrderV2

    SerializedOrderV2: {
        cancelled: boolean;
        client_signature: string | null;
        closing_date: string | null;
        created_date: string;
        current_price: string;
        expiration_time: number;
        finalized: boolean;
        listing_time: number;
        maker: unknown;
        maker_fees: {
            account: unknown;
            basis_points: string;
        }[];
        marked_invalid: boolean;
        order_hash: string | null;
        order_type: OrderType;
        protocol_address: string;
        protocol_data: ProtocolData;
        remaining_quantity: number;
        side: OrderSide;
        taker: unknown | null;
        taker_fees: {
            account: unknown;
            basis_points: string;
        }[];
    }

    Type declaration

    • cancelled: boolean
    • client_signature: string | null
    • closing_date: string | null
    • created_date: string
    • current_price: string
    • expiration_time: number
    • finalized: boolean
    • listing_time: number
    • maker: unknown
    • maker_fees: {
          account: unknown;
          basis_points: string;
      }[]
    • marked_invalid: boolean
    • order_hash: string | null
    • order_type: OrderType
    • protocol_address: string
    • protocol_data: ProtocolData
    • remaining_quantity: number
    • side: OrderSide
    • taker: unknown | null
    • taker_fees: {
          account: unknown;
          basis_points: string;
      }[]
    \ No newline at end of file diff --git a/types/Trait.html b/types/Trait.html index 1be7ee4ac..02576b566 100644 --- a/types/Trait.html +++ b/types/Trait.html @@ -3,4 +3,4 @@
  • max_value: string

    Ceiling for possible numeric trait values

  • trait_type: string

    The name of the trait category (e.g. 'Background')

  • value: string | number | Date

    The value of the trait (e.g. 'Red')

    -
  • \ No newline at end of file +
    \ No newline at end of file