OpenSea Plugin for GOAT SDK
A plugin for the GOAT SDK that provides OpenSea NFT marketplace functionality for querying NFT collections, sales, and metadata.
Installation
# Install the plugin
poetry add goat-sdk-plugin-opensea
# Install required wallet dependency
poetry add goat-sdk-wallet-evm
Usage
from goat_plugins.opensea import opensea, OpenSeaPluginOptions
# Initialize the plugin
options = OpenSeaPluginOptions(
api_key="${ETHERSCAN_API}" # Your OpenSea API key
)
plugin = opensea(options)
# Get NFT collection statistics
stats = await plugin.get_nft_collection_statistics(
collection_slug="doodles-official", # Example collection
chain="ethereum" # Specify the chain
)
# Get recent NFT sales
sales = await plugin.get_nft_sales(
collection_slug="doodles-official",
chain="ethereum",
limit=10 # Number of recent sales to fetch
)
# Get NFT metadata
metadata = await plugin.get_nft_metadata(
contract_address="0x8a90CAb2b38dba80c64b7734e58Ee1dB38B8992e", # Doodles contract
token_id="1234",
chain="ethereum"
)
Features
- NFT collection statistics
- Recent sales tracking
- NFT metadata retrieval
- Collection floor price tracking
- Supported chains:
- Ethereum
- Polygon
- Arbitrum
- Optimism
- Base
- All OpenSea-supported EVM chains
License
This project is licensed under the terms of the MIT license.
Metadata
Release files for goat-sdk-plugin-opensea 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| goat_sdk_plugin_opensea-0.1.1.tar.gz | 3.1 kB | Without provenance | Details for goat_sdk_plugin_opensea-0.1.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| goat_sdk_plugin_opensea-0.1.1-py3-none-any.whl | Python 3 | none | any | Details for goat_sdk_plugin_opensea-0.1.1-py3-none-any.whl |
Total release size: 7.0 kB
Release files / goat_sdk_plugin_opensea-0.1.1.tar.gz
| Download URL | goat_sdk_plugin_opensea-0.1.1.tar.gz |
|---|---|
| Size | 3.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
266b1c157acc41222f6f8f9a04387674bdc73d224903c0d10840f9f77220cb5a
|
|
BLAKE2b-256 checksum How to use checksums |
6211773d71c0aeb77d5d139a7d321ff0813bd39d1207fd8eb0baca0b49e24ee0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.7.1 CPython/3.10.16 Linux/6.8.0-1021-azure
|
Release files / goat_sdk_plugin_opensea-0.1.1-py3-none-any.whl
| Download URL | goat_sdk_plugin_opensea-0.1.1-py3-none-any.whl |
|---|---|
| Size | 3.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
fe3f63b3958334c9d8193f0b2dcf4c9da605654971d9b9f8183b2606a3bd0341
|
|
BLAKE2b-256 checksum How to use checksums |
d50872469b61714c06df64e9cc38147eadb8778c583d3915a6b6684caca63577
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.7.1 CPython/3.10.16 Linux/6.8.0-1021-azure
|
Security for goat-sdk-plugin-opensea 0.1.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.