Goat plugin for OpenSea
Project description
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.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file goat_sdk_plugin_opensea-0.1.1.tar.gz.
File metadata
- Download URL: goat_sdk_plugin_opensea-0.1.1.tar.gz
- Upload date:
- Size: 3.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.7.1 CPython/3.10.16 Linux/6.8.0-1021-azure
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
266b1c157acc41222f6f8f9a04387674bdc73d224903c0d10840f9f77220cb5a
|
|
| MD5 |
39ef07fc5c2165f6d2e5dd2a4aa676f4
|
|
| BLAKE2b-256 |
6211773d71c0aeb77d5d139a7d321ff0813bd39d1207fd8eb0baca0b49e24ee0
|
File details
Details for the file goat_sdk_plugin_opensea-0.1.1-py3-none-any.whl.
File metadata
- Download URL: goat_sdk_plugin_opensea-0.1.1-py3-none-any.whl
- Upload date:
- Size: 3.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.7.1 CPython/3.10.16 Linux/6.8.0-1021-azure
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
fe3f63b3958334c9d8193f0b2dcf4c9da605654971d9b9f8183b2606a3bd0341
|
|
| MD5 |
b0bec5567aae68a9c71a3163eb499531
|
|
| BLAKE2b-256 |
d50872469b61714c06df64e9cc38147eadb8778c583d3915a6b6684caca63577
|