Categorygithub.com/xTransact/openseaapi
repositorypackage
1.1.5
Repository: https://github.com/xtransact/openseaapi.git
Documentation: pkg.go.dev

# 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

# README

openseaapi

An SDK for OpenSea API.

Supported API

NFT Endpoints

Analytics Endpoints

OpenSea Marketplace Endpoints

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())