# README
openseaapi
An SDK for OpenSea API.
Supported API
NFT Endpoints
- Get Account
- Get NFTs (by account)
- Get Contract
- Get NFTs (by contract)
- Get an NFT
- Refresh NFT Metadata
- Get NFTs (by collection)
- Get Collections
- Get a Collection
- Get Traits
Analytics Endpoints
OpenSea Marketplace Endpoints
- Build an Offer
- Get Collection Offers
- Create Criteria Offer
- Create Individual Offer
- Create Listing
- Fulfill a Listing
- Fullfill an Offer
- Get All Listings (by collection)
- Get All Offers (by collection)
- Get Individual Offers
- Get Listings
- Get Order
- Get Trait Offers
Getting Started
Get it
go get -ugithub.com/xTransact/openseaapi
Examples
cli := NewClient(
WithApiKey(os.Getenv("OPENSEA_API_KEY")),
)
// Get account on mainnet by wallet address
resp, err := cli.GetAccount(ctx, addr)
// Get account on sepolia testnet by wallet address
resp, err := cli.GetAccount(ctx, addr,UseTestnets())
# Packages
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Functions
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author