From 2a6b5d3b24681d7025d3acee536563f95630e8b8 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" Date: Mon, 23 Sep 2024 03:03:05 +0000 Subject: [PATCH] =?UTF-8?q?Deploying=20to=20gh-pages=20from=20@=20ProjectO?= =?UTF-8?q?penSea/opensea-js@9c390bacb19a7da807d9999ddee60bd690690457=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 | 48 +++++++++---------- 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, 172 insertions(+), 172 deletions(-) diff --git a/classes/OpenSeaSDK.html b/classes/OpenSeaSDK.html index 677cfe1d6..fdb3cd7ba 100644 --- a/classes/OpenSeaSDK.html +++ b/classes/OpenSeaSDK.html @@ -1,5 +1,5 @@ OpenSeaSDK | opensea-js - v7.1.13

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 524d77d6c..2e575b7ec 100644 --- a/enums/Chain.html +++ b/enums/Chain.html @@ -1,6 +1,6 @@ Chain | opensea-js - v7.1.13

    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

    -
    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

    +
    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 ff1d571c9..32c565746 100644 --- a/enums/CollectionOrderByOption.html +++ b/enums/CollectionOrderByOption.html @@ -1,7 +1,7 @@ -CollectionOrderByOption | opensea-js - v7.1.13

    Enumeration CollectionOrderByOption

    Enumeration Members

    CREATED_DATE +CollectionOrderByOption | opensea-js - v7.1.13

    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 fff727df4..3862d9e0b 100644 --- a/enums/EventType.html +++ b/enums/EventType.html @@ -1,6 +1,6 @@ EventType | opensea-js - v7.1.13

    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 0462af51b..50cf10153 100644 --- a/enums/OrderSide.html +++ b/enums/OrderSide.html @@ -1,4 +1,4 @@ OrderSide | opensea-js - v7.1.13

    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 d742124d8..0f3e7a483 100644 --- a/enums/OrderType.html +++ b/enums/OrderType.html @@ -1,4 +1,4 @@ -OrderType | opensea-js - v7.1.13

    Enumeration OrderType

    Enumeration Members

    BASIC +OrderType | opensea-js - v7.1.13

    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 583081a01..05949b968 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 1a6d3da9c..e8234438e 100644 --- a/enums/TokenStandard.html +++ b/enums/TokenStandard.html @@ -1,5 +1,5 @@ TokenStandard | opensea-js - v7.1.13

    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 893da9345..4cc75cfa9 100644 --- a/enums/TraitDisplayType.html +++ b/enums/TraitDisplayType.html @@ -1,9 +1,9 @@ TraitDisplayType | opensea-js - v7.1.13

    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 d43e07184..187a18a60 100644 --- a/interfaces/Asset.html +++ b/interfaces/Asset.html @@ -1,12 +1,12 @@ Asset | opensea-js - v7.1.13

    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 70b67c01c..80fc2bdd7 100644 --- a/interfaces/AssetWithTokenId.html +++ b/interfaces/AssetWithTokenId.html @@ -1,12 +1,12 @@ AssetWithTokenId | opensea-js - v7.1.13

    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 709e00318..adf894963 100644 --- a/interfaces/AssetWithTokenStandard.html +++ b/interfaces/AssetWithTokenStandard.html @@ -1,12 +1,12 @@ AssetWithTokenStandard | opensea-js - v7.1.13

    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 b28c090f4..2549e0375 100644 --- a/interfaces/EventData.html +++ b/interfaces/EventData.html @@ -1,14 +1,14 @@ EventData | opensea-js - v7.1.13

    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 304b65a58..d1c6fcf1a 100644 --- a/interfaces/Fee.html +++ b/interfaces/Fee.html @@ -1,5 +1,5 @@ Fee | opensea-js - v7.1.13

    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 ed92267db..432ca9e87 100644 --- a/interfaces/GetCollectionsArgs.html +++ b/interfaces/GetCollectionsArgs.html @@ -1,8 +1,8 @@ GetCollectionsArgs | opensea-js - v7.1.13

    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 5c277ac35..29428ad63 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 91f99dce4..38105df8d 100644 --- a/interfaces/OpenSeaAccount.html +++ b/interfaces/OpenSeaAccount.html @@ -1,5 +1,5 @@ OpenSeaAccount | opensea-js - v7.1.13

    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 53b98a5bf..a4f130be4 100644 --- a/interfaces/OpenSeaCollection.html +++ b/interfaces/OpenSeaCollection.html @@ -1,5 +1,5 @@ OpenSeaCollection | opensea-js - v7.1.13

    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 e5118e927..9e4fb2358 100644 --- a/interfaces/OpenSeaCollectionStats.html +++ b/interfaces/OpenSeaCollectionStats.html @@ -1,4 +1,4 @@ OpenSeaCollectionStats | opensea-js - v7.1.13

    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 8326c344c..de7c916fa 100644 --- a/interfaces/OpenSeaPaymentToken.html +++ b/interfaces/OpenSeaPaymentToken.html @@ -1,5 +1,5 @@ OpenSeaPaymentToken | opensea-js - v7.1.13

    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 49688ec57..4f71492d4 100644 --- a/interfaces/OpenSeaPaymentTokensQuery.html +++ b/interfaces/OpenSeaPaymentTokensQuery.html @@ -1,6 +1,6 @@ OpenSeaPaymentTokensQuery | opensea-js - v7.1.13

    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 5436202e3..c5c4763ca 100644 --- a/interfaces/RarityStrategy.html +++ b/interfaces/RarityStrategy.html @@ -1,6 +1,6 @@ -RarityStrategy | opensea-js - v7.1.13

    Interface RarityStrategy

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

    Properties

    calculatedAt +RarityStrategy | opensea-js - v7.1.13

    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 d925dd14c..120ca3eb4 100644 --- a/interfaces/SocialMediaAccount.html +++ b/interfaces/SocialMediaAccount.html @@ -1,4 +1,4 @@ SocialMediaAccount | opensea-js - v7.1.13

    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 727a5f92c..0278705a6 100644 --- a/types/BuildOfferResponse.html +++ b/types/BuildOfferResponse.html @@ -1,3 +1,3 @@ BuildOfferResponse | opensea-js - v7.1.13

    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 26af8a3a2..e26757c21 100644 --- a/types/CancelOrderResponse.html +++ b/types/CancelOrderResponse.html @@ -1,2 +1,2 @@ CancelOrderResponse | opensea-js - v7.1.13

    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 ee11a8121..f1c61022b 100644 --- a/types/CollectionOffer.html +++ b/types/CollectionOffer.html @@ -1,2 +1,2 @@ CollectionOffer | opensea-js - v7.1.13

    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 8d0fc1d7c..acd580735 100644 --- a/types/FulfillmentDataResponse.html +++ b/types/FulfillmentDataResponse.html @@ -1 +1 @@ -FulfillmentDataResponse | opensea-js - v7.1.13

    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.13

    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 3584413b6..e71c8665b 100644 --- a/types/GetBestListingResponse.html +++ b/types/GetBestListingResponse.html @@ -1,2 +1,2 @@ GetBestListingResponse | opensea-js - v7.1.13

    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 126f74505..42af9d506 100644 --- a/types/GetBestOfferResponse.html +++ b/types/GetBestOfferResponse.html @@ -1,2 +1,2 @@ GetBestOfferResponse | opensea-js - v7.1.13

    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 afeefff32..33d465e8a 100644 --- a/types/GetCollectionResponse.html +++ b/types/GetCollectionResponse.html @@ -1,3 +1,3 @@ GetCollectionResponse | opensea-js - v7.1.13

    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 00dd9ef87..8b9d3a62e 100644 --- a/types/GetCollectionsResponse.html +++ b/types/GetCollectionsResponse.html @@ -1,3 +1,3 @@ GetCollectionsResponse | opensea-js - v7.1.13

    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 b4d9183c1..758324f17 100644 --- a/types/GetListingsResponse.html +++ b/types/GetListingsResponse.html @@ -1,2 +1,2 @@ GetListingsResponse | opensea-js - v7.1.13

    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 741c24227..6881eafd8 100644 --- a/types/GetNFTResponse.html +++ b/types/GetNFTResponse.html @@ -1,3 +1,3 @@ GetNFTResponse | opensea-js - v7.1.13

    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 e2b77e3fe..d270f9ce9 100644 --- a/types/GetOffersResponse.html +++ b/types/GetOffersResponse.html @@ -1,2 +1,2 @@ GetOffersResponse | opensea-js - v7.1.13

    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 5dcc732f5..38c3c2203 100644 --- a/types/GetOrdersResponse.html +++ b/types/GetOrdersResponse.html @@ -1,3 +1,3 @@ GetOrdersResponse | opensea-js - v7.1.13

    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 9d3be0ec2..b5e032107 100644 --- a/types/ListCollectionOffersResponse.html +++ b/types/ListCollectionOffersResponse.html @@ -1,3 +1,3 @@ ListCollectionOffersResponse | opensea-js - v7.1.13

    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 7a37dcc6c..86b2ad44e 100644 --- a/types/ListNFTsResponse.html +++ b/types/ListNFTsResponse.html @@ -1,4 +1,4 @@ ListNFTsResponse | opensea-js - v7.1.13

    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 b53680144..4e9ee28ec 100644 --- a/types/Listing.html +++ b/types/Listing.html @@ -1,3 +1,3 @@ Listing | opensea-js - v7.1.13

    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 e21c85a22..0258fc19a 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 489ad1ed1..3dc5a2897 100644 --- a/types/Offer.html +++ b/types/Offer.html @@ -1,3 +1,3 @@ Offer | opensea-js - v7.1.13

    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 0483c4615..de43a46de 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 3f0d135e0..989a14b98 100644 --- a/types/OrderAPIOptions.html +++ b/types/OrderAPIOptions.html @@ -1 +1 @@ -OrderAPIOptions | opensea-js - v7.1.13

    Type alias OrderAPIOptions

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

    Type declaration

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

    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 3da10cd81..d052e0410 100644 --- a/types/OrderProtocol.html +++ b/types/OrderProtocol.html @@ -1 +1 @@ -OrderProtocol | opensea-js - v7.1.13

    Type alias OrderProtocol

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

    Type alias OrderProtocol

    OrderProtocol: keyof OrderProtocolToProtocolData
    \ No newline at end of file diff --git a/types/OrderV2.html b/types/OrderV2.html index 3b0ba7829..113f01e7a 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 a5d024642..70779cab6 100644 --- a/types/OrdersPostQueryResponse.html +++ b/types/OrdersPostQueryResponse.html @@ -1 +1 @@ -OrdersPostQueryResponse | opensea-js - v7.1.13

    Type alias OrdersPostQueryResponse

    OrdersPostQueryResponse: {
        order: SerializedOrderV2;
    }

    Type declaration

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

    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 dfd1a7f8c..8f290d2db 100644 --- a/types/OrdersQueryOptions.html +++ b/types/OrdersQueryOptions.html @@ -1 +1 @@ -OrdersQueryOptions | opensea-js - v7.1.13

    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.13

    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 a80ab7169..610ebdd07 100644 --- a/types/OrdersQueryResponse.html +++ b/types/OrdersQueryResponse.html @@ -1 +1 @@ -OrdersQueryResponse | opensea-js - v7.1.13

    Type alias OrdersQueryResponse

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

    Type declaration

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

    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 d6d878315..8774bbe5d 100644 --- a/types/Price.html +++ b/types/Price.html @@ -1,2 +1,2 @@ Price | opensea-js - v7.1.13

    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 f5ff33c34..744fbd025 100644 --- a/types/ProtocolData.html +++ b/types/ProtocolData.html @@ -1 +1 @@ -ProtocolData | opensea-js - v7.1.13

    Type alias ProtocolData

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

    Type alias ProtocolData

    ProtocolData: OrderProtocolToProtocolData[keyof OrderProtocolToProtocolData]
    \ No newline at end of file diff --git a/types/QueryCursors.html b/types/QueryCursors.html index b5ff800f4..741fed2b6 100644 --- a/types/QueryCursors.html +++ b/types/QueryCursors.html @@ -1 +1 @@ -QueryCursors | opensea-js - v7.1.13

    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.13

    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 0ed590186..b163a6382 100644 --- a/types/QueryCursorsV2.html +++ b/types/QueryCursorsV2.html @@ -1,2 +1,2 @@ QueryCursorsV2 | opensea-js - v7.1.13

    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 d33d844e2..3f01eb5d7 100644 --- a/types/SerializedOrderV2.html +++ b/types/SerializedOrderV2.html @@ -1 +1 @@ -SerializedOrderV2 | opensea-js - v7.1.13

    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.13

    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 6723e7d20..cb96e4c32 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