Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DataParsed ¶ added in v0.159.2
type DecoderProvider ¶ added in v0.159.2
type DecoderProvider interface {
Run(data string) (*DataParsed, error)
}
type HistoricalPrice ¶ added in v0.133.2
type MarketDataProvider ¶ added in v0.133.2
type MarketDataProvider interface { FetchPrices(symbols []string, currencies []string) (map[string]map[string]float64, error) FetchHistoricalDailyPrices(symbol string, currency string, limit int, allData bool, aggregate int) ([]HistoricalPrice, error) FetchHistoricalHourlyPrices(symbol string, currency string, limit int, aggregate int) ([]HistoricalPrice, error) FetchTokenMarketValues(symbols []string, currency string) (map[string]TokenMarketValues, error) FetchTokenDetails(symbols []string) (map[string]TokenDetails, error) }
type NFTContractOwnership ¶ added in v0.146.3
type NFTContractOwnershipProvider ¶ added in v0.146.3
type NFTMetadata ¶ added in v0.140.2
type NFTMetadataProvider ¶ added in v0.140.2
type NFTMetadataProvider interface { CanProvideNFTMetadata(chainID uint64, id NFTUniqueID, tokenURI string) (bool, error) FetchNFTMetadata(chainID uint64, id NFTUniqueID, tokenURI string) (*NFTMetadata, error) }
type NFTOwner ¶ added in v0.146.3
type NFTOwner struct { OwnerAddress common.Address `json:"ownerAddress"` TokenBalances []TokenBalance `json:"tokenBalances"` }
type NFTUniqueID ¶ added in v0.140.2
type NFTUniqueID struct { ContractAddress common.Address `json:"contractAddress"` TokenID *bigint.BigInt `json:"tokenID"` }
func (*NFTUniqueID) HashKey ¶ added in v0.142.9
func (k *NFTUniqueID) HashKey() string
type TokenBalance ¶ added in v0.146.3
type TokenDetails ¶ added in v0.133.2
type TokenDetails struct { ID string `json:"Id"` Name string `json:"Name"` Symbol string `json:"Symbol"` Description string `json:"Description"` TotalCoinsMined float64 `json:"TotalCoinsMined"` AssetLaunchDate string `json:"AssetLaunchDate"` AssetWhitepaperURL string `json:"AssetWhitepaperUrl"` AssetWebsiteURL string `json:"AssetWebsiteUrl"` BuiltOn string `json:"BuiltOn"` SmartContractAddress string `json:"SmartContractAddress"` }
type TokenMarketValues ¶ added in v0.133.2
type TokenMarketValues struct { MKTCAP float64 `json:"MKTCAP"` HIGHDAY float64 `json:"HIGHDAY"` LOWDAY float64 `json:"LOWDAY"` CHANGEPCTHOUR float64 `json:"CHANGEPCTHOUR"` CHANGEPCTDAY float64 `json:"CHANGEPCTDAY"` CHANGEPCT24HOUR float64 `json:"CHANGEPCT24HOUR"` CHANGE24HOUR float64 `json:"CHANGE24HOUR"` }
Click to show internal directories.
Click to hide internal directories.