types

package
v3.2.0 Latest Latest
Warning

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

Go to latest
Published: Jul 4, 2026 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Explorers

type Explorers struct {
	Name string `json:"name"`
	Link string `json:"link"`
}

type Image

type Image struct {
	Small   string `json:"small"`
	Small2X string `json:"small_2x"`
}
type Links struct {
	Homepage string `json:"homepage"`
	Twitter  string `json:"twitter"`
	Discord  string `json:"discord"`
}

type Nft

type Nft struct {
	Id              string `json:"id"`
	ContractAddress string `json:"contract_address"`
	Name            string `json:"name"`
	AssetPlatformId string `json:"asset_platform_id"`
	Symbol          string `json:"symbol"`
}

type NftId

type NftId struct {
	Id                                         string      `json:"id"`
	ContractAddress                            string      `json:"contract_address"`
	AssetPlatformId                            string      `json:"asset_platform_id"`
	Name                                       string      `json:"name"`
	Symbol                                     string      `json:"symbol"`
	Image                                      Image       `json:"image"`
	Description                                string      `json:"description"`
	NativeCurrency                             string      `json:"native_currency"`
	NativeCurrencySymbol                       string      `json:"native_currency_symbol"`
	FloorPrice                                 Price       `json:"floor_price"`
	MarketCap                                  Price       `json:"market_cap"`
	Volume24H                                  Price       `json:"volume_24h"`
	FloorPriceInUsd24HPercentageChange         float64     `json:"floor_price_in_usd_24h_percentage_change"`
	FloorPrice24HPercentageChange              Price       `json:"floor_price_24h_percentage_change"`
	MarketCap24HPercentageChange               Price       `json:"market_cap_24h_percentage_change"`
	Volume24HPercentageChange                  Price       `json:"volume_24h_percentage_change"`
	NumberOfUniqueAddresses                    float64     `json:"number_of_unique_addresses"`
	NumberOfUniqueAddresses24HPercentageChange float64     `json:"number_of_unique_addresses_24h_percentage_change"`
	VolumeInUsd24HPercentageChange             float64     `json:"volume_in_usd_24h_percentage_change"`
	TotalSupply                                float64     `json:"total_supply"`
	OneDaySales                                float64     `json:"one_day_sales"`
	OneDaySales24HPercentageChange             float64     `json:"one_day_sales_24h_percentage_change"`
	OneDayAverageSalePrice                     float64     `json:"one_day_average_sale_price"`
	OneDayAverageSalePrice24HPercentageChange  float64     `json:"one_day_average_sale_price_24h_percentage_change"`
	Links                                      Links       `json:"links"`
	FloorPrice7DPercentageChange               Price       `json:"floor_price_7d_percentage_change"`
	FloorPrice14DPercentageChange              Price       `json:"floor_price_14d_percentage_change"`
	FloorPrice30DPercentageChange              Price       `json:"floor_price_30d_percentage_change"`
	FloorPrice60DPercentageChange              Price       `json:"floor_price_60d_percentage_change"`
	FloorPrice1YPercentageChange               Price       `json:"floor_price_1y_percentage_change"`
	Explorers                                  []Explorers `json:"explorers"`
}

type NftMarket added in v3.2.0

type NftMarket struct {
	Id                                         string   `json:"id"`
	ContractAddress                            *string  `json:"contract_address"`
	AssetPlatformId                            string   `json:"asset_platform_id"`
	Name                                       string   `json:"name"`
	Symbol                                     string   `json:"symbol"`
	Image                                      Image    `json:"image"`
	Description                                *string  `json:"description"`
	NativeCurrency                             string   `json:"native_currency"`
	NativeCurrencySymbol                       string   `json:"native_currency_symbol"`
	FloorPrice                                 Price    `json:"floor_price"`
	MarketCap                                  Price    `json:"market_cap"`
	Volume24H                                  Price    `json:"volume_24h"`
	FloorPriceInUsd24HPercentageChange         float64  `json:"floor_price_in_usd_24h_percentage_change"`
	FloorPrice24HPercentageChange              Price    `json:"floor_price_24h_percentage_change"`
	MarketCap24HPercentageChange               Price    `json:"market_cap_24h_percentage_change"`
	Volume24HPercentageChange                  Price    `json:"volume_24h_percentage_change"`
	NumberOfUniqueAddresses                    *float64 `json:"number_of_unique_addresses"`
	NumberOfUniqueAddresses24HPercentageChange float64  `json:"number_of_unique_addresses_24h_percentage_change"`
	VolumeInUsd24HPercentageChange             float64  `json:"volume_in_usd_24h_percentage_change"`
	TotalSupply                                *float64 `json:"total_supply"`
	OneDaySales                                *float64 `json:"one_day_sales"`
	OneDaySales24HPercentageChange             float64  `json:"one_day_sales_24h_percentage_change"`
	OneDayAverageSalePrice                     *float64 `json:"one_day_average_sale_price"`
	OneDayAverageSalePrice24HPercentageChange  float64  `json:"one_day_average_sale_price_24h_percentage_change"`
}

type NftMarketChart added in v3.2.0

type NftMarketChart struct {
	FloorPriceUsd    [][]float64 `json:"floor_price_usd"`
	FloorPriceNative [][]float64 `json:"floor_price_native"`
	H24VolumeUsd     [][]float64 `json:"h24_volume_usd"`
	H24VolumeNative  [][]float64 `json:"h24_volume_native"`
	MarketCapUsd     [][]float64 `json:"market_cap_usd"`
	MarketCapNative  [][]float64 `json:"market_cap_native"`
}

type NftTicker added in v3.2.0

type NftTicker struct {
	FloorPriceInNativeCurrency float64 `json:"floor_price_in_native_currency"`
	H24VolumeInNativeCurrency  float64 `json:"h24_volume_in_native_currency"`
	NativeCurrency             string  `json:"native_currency"`
	NativeCurrencySymbol       string  `json:"native_currency_symbol"`
	UpdatedAt                  string  `json:"updated_at"`
	NftMarketplaceID           string  `json:"nft_marketplace_id"`
	Name                       string  `json:"name"`
	Image                      string  `json:"image"`
	NftCollectionURL           string  `json:"nft_collection_url"`
}

type NftTickers added in v3.2.0

type NftTickers struct {
	Tickers []NftTicker `json:"tickers"`
}

type Price

type Price struct {
	Usd            float64 `json:"usd"`
	NativeCurrency float64 `json:"native_currency"`
}

Jump to

Keyboard shortcuts

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