Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Airstack ¶
Airstack wraps all the required artifacts for interacting with the Airstack API
func NewAirstack ¶
func NewAirstack( ctx context.Context, endpoint, apiKey, supportAPI string, supportedBlockchains, tokenWhitelist []string, maxHolders uint32, ) (*Airstack, error)
NewAirstack creates a new Airstack artifact with a reference to a MongoDB and an Airstack client that enables to make predefined queries to the Airstack GraphQL API.
func (*Airstack) MaxHolders ¶
MaxHolders returns the maximum number of holders allowed to be retrieved from the Airstack API
func (*Airstack) NumHoldersByTokenAnkrAPI ¶
func (*Airstack) TokenDecimalsByToken ¶
func (*Airstack) TokenWhitelist ¶
TokenWhitelist returns the list of tokens to be considered for avoiding some checks
Click to show internal directories.
Click to hide internal directories.