From 1ffb0acc3bc58e9ff3c5a56d3bfb81947b4cd1e6 Mon Sep 17 00:00:00 2001 From: ryanio Date: Wed, 15 May 2024 22:53:17 +0000 Subject: [PATCH] =?UTF-8?q?Deploying=20to=20gh-pages=20from=20@=20ProjectO?= =?UTF-8?q?penSea/opensea-js@3f5f4e5e4acd0c89076687f6aa1b197a66b816a8=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 ba476f034..21d1026df 100644 --- a/classes/OpenSeaSDK.html +++ b/classes/OpenSeaSDK.html @@ -1,5 +1,5 @@ OpenSeaSDK | opensea-js - v7.1.9

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;
        }
        • 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.

          @@ -85,7 +85,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;
        }
        • 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.

          @@ -100,7 +100,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"

          @@ -110,12 +110,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.

      @@ -123,7 +123,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 6f1efef08..f2a4ef6d0 100644 --- a/enums/Chain.html +++ b/enums/Chain.html @@ -1,6 +1,6 @@ Chain | opensea-js - v7.1.9

    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

    -
    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

    +
    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 a7fb6f848..9c8e41a06 100644 --- a/enums/CollectionOrderByOption.html +++ b/enums/CollectionOrderByOption.html @@ -1,7 +1,7 @@ -CollectionOrderByOption | opensea-js - v7.1.9

    Enumeration CollectionOrderByOption

    Enumeration Members

    CREATED_DATE +CollectionOrderByOption | opensea-js - v7.1.9

    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 5b69dc6ec..e20e6860d 100644 --- a/enums/EventType.html +++ b/enums/EventType.html @@ -1,6 +1,6 @@ EventType | opensea-js - v7.1.9

    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 d887031d9..4ec8af105 100644 --- a/enums/OrderSide.html +++ b/enums/OrderSide.html @@ -1,4 +1,4 @@ OrderSide | opensea-js - v7.1.9

    Enumeration OrderSide

    Order side: ask (sell, listing) or bid (buy, offer)

    -

    Enumeration Members

    ASK +

    Enumeration Members

    Enumeration Members

    ASK: "ask"
    BID: "bid"
    \ No newline at end of file +

    Enumeration Members

    ASK: "ask"
    BID: "bid"
    \ No newline at end of file diff --git a/enums/OrderType.html b/enums/OrderType.html index b45822716..81b8c7fc0 100644 --- a/enums/OrderType.html +++ b/enums/OrderType.html @@ -1,4 +1,4 @@ -OrderType | opensea-js - v7.1.9

    Enumeration OrderType

    Enumeration Members

    BASIC +OrderType | opensea-js - v7.1.9

    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 ace518512..bdf7afc92 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 8ff71be87..32f9e39dd 100644 --- a/enums/TokenStandard.html +++ b/enums/TokenStandard.html @@ -1,5 +1,5 @@ TokenStandard | opensea-js - v7.1.9

    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 c76608be9..21a34a227 100644 --- a/enums/TraitDisplayType.html +++ b/enums/TraitDisplayType.html @@ -1,9 +1,9 @@ TraitDisplayType | opensea-js - v7.1.9

    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 53ff5f190..1bc844134 100644 --- a/interfaces/Asset.html +++ b/interfaces/Asset.html @@ -1,12 +1,12 @@ Asset | opensea-js - v7.1.9

    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 16ced2995..af5baf23b 100644 --- a/interfaces/AssetWithTokenId.html +++ b/interfaces/AssetWithTokenId.html @@ -1,12 +1,12 @@ AssetWithTokenId | opensea-js - v7.1.9

    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 28f844adc..60d196c6f 100644 --- a/interfaces/AssetWithTokenStandard.html +++ b/interfaces/AssetWithTokenStandard.html @@ -1,12 +1,12 @@ AssetWithTokenStandard | opensea-js - v7.1.9

    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 18c12c2ab..05a108dcb 100644 --- a/interfaces/EventData.html +++ b/interfaces/EventData.html @@ -1,14 +1,14 @@ EventData | opensea-js - v7.1.9

    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 ec554dc43..55ea6ee44 100644 --- a/interfaces/Fee.html +++ b/interfaces/Fee.html @@ -1,5 +1,5 @@ Fee | opensea-js - v7.1.9

    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 499c71a13..a52b711f8 100644 --- a/interfaces/GetCollectionsArgs.html +++ b/interfaces/GetCollectionsArgs.html @@ -1,8 +1,8 @@ GetCollectionsArgs | opensea-js - v7.1.9

    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 6eb15ad21..92e3e5db9 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 6783333e6..91e51feb4 100644 --- a/interfaces/OpenSeaAccount.html +++ b/interfaces/OpenSeaAccount.html @@ -1,5 +1,5 @@ OpenSeaAccount | opensea-js - v7.1.9

    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 a7ed8d9e2..f96008144 100644 --- a/interfaces/OpenSeaCollection.html +++ b/interfaces/OpenSeaCollection.html @@ -1,5 +1,5 @@ OpenSeaCollection | opensea-js - v7.1.9

    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 4f86736fb..182473c32 100644 --- a/interfaces/OpenSeaCollectionStats.html +++ b/interfaces/OpenSeaCollectionStats.html @@ -1,4 +1,4 @@ OpenSeaCollectionStats | opensea-js - v7.1.9

    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 7c2528858..aaf373941 100644 --- a/interfaces/OpenSeaPaymentToken.html +++ b/interfaces/OpenSeaPaymentToken.html @@ -1,5 +1,5 @@ OpenSeaPaymentToken | opensea-js - v7.1.9

    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 fe75feee3..7a131e0ae 100644 --- a/interfaces/OpenSeaPaymentTokensQuery.html +++ b/interfaces/OpenSeaPaymentTokensQuery.html @@ -1,6 +1,6 @@ OpenSeaPaymentTokensQuery | opensea-js - v7.1.9

    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 f8d1ef005..913bcf021 100644 --- a/interfaces/RarityStrategy.html +++ b/interfaces/RarityStrategy.html @@ -1,6 +1,6 @@ -RarityStrategy | opensea-js - v7.1.9

    Interface RarityStrategy

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

    Properties

    calculatedAt +RarityStrategy | opensea-js - v7.1.9

    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 d17e9a042..e30c872dc 100644 --- a/interfaces/SocialMediaAccount.html +++ b/interfaces/SocialMediaAccount.html @@ -1,4 +1,4 @@ SocialMediaAccount | opensea-js - v7.1.9

    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 3192d1801..695b94648 100644 --- a/types/BuildOfferResponse.html +++ b/types/BuildOfferResponse.html @@ -1,3 +1,3 @@ BuildOfferResponse | opensea-js - v7.1.9

    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 ccd0434c5..b4cee7316 100644 --- a/types/CancelOrderResponse.html +++ b/types/CancelOrderResponse.html @@ -1,2 +1,2 @@ CancelOrderResponse | opensea-js - v7.1.9

    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 4ce60d496..2d623be64 100644 --- a/types/CollectionOffer.html +++ b/types/CollectionOffer.html @@ -1,2 +1,2 @@ CollectionOffer | opensea-js - v7.1.9

    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 ce951b297..b0404e302 100644 --- a/types/FulfillmentDataResponse.html +++ b/types/FulfillmentDataResponse.html @@ -1 +1 @@ -FulfillmentDataResponse | opensea-js - v7.1.9

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

    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 afa7c34b9..e007c81a6 100644 --- a/types/GetBestListingResponse.html +++ b/types/GetBestListingResponse.html @@ -1,2 +1,2 @@ GetBestListingResponse | opensea-js - v7.1.9

    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 e0ba7f409..a2441b918 100644 --- a/types/GetBestOfferResponse.html +++ b/types/GetBestOfferResponse.html @@ -1,2 +1,2 @@ GetBestOfferResponse | opensea-js - v7.1.9

    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 846eb81aa..932affe33 100644 --- a/types/GetCollectionResponse.html +++ b/types/GetCollectionResponse.html @@ -1,3 +1,3 @@ GetCollectionResponse | opensea-js - v7.1.9

    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 a3290c219..5bfedac95 100644 --- a/types/GetCollectionsResponse.html +++ b/types/GetCollectionsResponse.html @@ -1,3 +1,3 @@ GetCollectionsResponse | opensea-js - v7.1.9

    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 5b603b5e3..c1095cfaf 100644 --- a/types/GetListingsResponse.html +++ b/types/GetListingsResponse.html @@ -1,2 +1,2 @@ GetListingsResponse | opensea-js - v7.1.9

    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 90365e18c..d9178b87b 100644 --- a/types/GetNFTResponse.html +++ b/types/GetNFTResponse.html @@ -1,3 +1,3 @@ GetNFTResponse | opensea-js - v7.1.9

    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 80a1f0a92..c03db8038 100644 --- a/types/GetOffersResponse.html +++ b/types/GetOffersResponse.html @@ -1,2 +1,2 @@ GetOffersResponse | opensea-js - v7.1.9

    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 c8ed23eb1..11a753d17 100644 --- a/types/GetOrdersResponse.html +++ b/types/GetOrdersResponse.html @@ -1,3 +1,3 @@ GetOrdersResponse | opensea-js - v7.1.9

    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 d26f9f3e8..77cff7e60 100644 --- a/types/ListCollectionOffersResponse.html +++ b/types/ListCollectionOffersResponse.html @@ -1,3 +1,3 @@ ListCollectionOffersResponse | opensea-js - v7.1.9

    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 ce87eb1c2..630f92618 100644 --- a/types/ListNFTsResponse.html +++ b/types/ListNFTsResponse.html @@ -1,4 +1,4 @@ ListNFTsResponse | opensea-js - v7.1.9

    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 9bcfd1079..642a381c5 100644 --- a/types/Listing.html +++ b/types/Listing.html @@ -1,3 +1,3 @@ Listing | opensea-js - v7.1.9

    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 902de97cd..89bcebd7d 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 548100f58..589de98cd 100644 --- a/types/Offer.html +++ b/types/Offer.html @@ -1,3 +1,3 @@ Offer | opensea-js - v7.1.9

    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 dc94138e1..a39b0e4f9 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 50c0ccc84..d607b7e66 100644 --- a/types/OrderAPIOptions.html +++ b/types/OrderAPIOptions.html @@ -1 +1 @@ -OrderAPIOptions | opensea-js - v7.1.9

    Type alias OrderAPIOptions

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

    Type declaration

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

    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 55e8753e1..268290de6 100644 --- a/types/OrderProtocol.html +++ b/types/OrderProtocol.html @@ -1 +1 @@ -OrderProtocol | opensea-js - v7.1.9

    Type alias OrderProtocol

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

    Type alias OrderProtocol

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

    The side of the order. Ask/Bid

  • 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 b7be973ae..f90a8208e 100644 --- a/types/OrdersPostQueryResponse.html +++ b/types/OrdersPostQueryResponse.html @@ -1 +1 @@ -OrdersPostQueryResponse | opensea-js - v7.1.9

    Type alias OrdersPostQueryResponse

    OrdersPostQueryResponse: {
        order: SerializedOrderV2;
    }

    Type declaration

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

    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 696a1a9a0..8c70d686e 100644 --- a/types/OrdersQueryOptions.html +++ b/types/OrdersQueryOptions.html @@ -1 +1 @@ -OrdersQueryOptions | opensea-js - v7.1.9

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

    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 0a4c144df..a822eaea9 100644 --- a/types/OrdersQueryResponse.html +++ b/types/OrdersQueryResponse.html @@ -1 +1 @@ -OrdersQueryResponse | opensea-js - v7.1.9

    Type alias OrdersQueryResponse

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

    Type declaration

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

    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 b476b872d..df26b3114 100644 --- a/types/Price.html +++ b/types/Price.html @@ -1,2 +1,2 @@ Price | opensea-js - v7.1.9

    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 46d572894..b11890e90 100644 --- a/types/ProtocolData.html +++ b/types/ProtocolData.html @@ -1 +1 @@ -ProtocolData | opensea-js - v7.1.9

    Type alias ProtocolData

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

    Type alias ProtocolData

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

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

    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 80322ea2f..80f568ebc 100644 --- a/types/QueryCursorsV2.html +++ b/types/QueryCursorsV2.html @@ -1,2 +1,2 @@ QueryCursorsV2 | opensea-js - v7.1.9

    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 4ac4cc1a1..327e93301 100644 --- a/types/SerializedOrderV2.html +++ b/types/SerializedOrderV2.html @@ -1 +1 @@ -SerializedOrderV2 | opensea-js - v7.1.9

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

    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 4bb856d7b..cef0fc007 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