blur

package
v1.0.6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 2, 2024 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	tlsClient.HttpClient
}

func NewClient

func NewClient() (*Client, error)

func (*Client) GetCollectionNameByAddress added in v1.0.1

func (c *Client) GetCollectionNameByAddress(collectionAddress string) (string, error)

func (*Client) GetCollectionOwnerships

func (c *Client) GetCollectionOwnerships(collectionAddress string) (CollectionOwnerships, error)

func (*Client) GetLeaderboard added in v1.0.5

func (c *Client) GetLeaderboard(cookie string) (Leaderboard, error)

type CollectionName added in v1.0.1

type CollectionName struct {
	Collection struct {
		Name string `json:"name"`
	} `json:"collection"`
}

type CollectionOwnerships

type CollectionOwnerships struct {
	Ownerships []struct {
		OwnerAddress string `json:"ownerAddress"`
		NumberOwned  int    `json:"numberOwned"`
	} `json:"ownerships"`
}

type Leaderboard added in v1.0.5

type Leaderboard struct {
	Traders []struct {
		WalletAddress string  `json:"walletAddress"`
		Username      *string `json:"username"`
	} `json:"traders"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL