ChainBaseApi class
Properties
-
hashCode
→ int
-
The hash code for this object.
read-onlyinherited
-
runtimeType
→ Type
-
A representation of the runtime type of the object.
read-onlyinherited
Methods
-
getERC20TokenMarketPrice(EthereumAddress tokenAddress)
→ Future<TokenPriceResponse>
-
Retrieves the market price of an ERC-20 token.
override
-
getNFTBalancesForAddress(EthereumAddress address, {EthereumAddress? tokenAddress, int page = 1, int pageSize = 20})
→ Future<NFTBalancesResponse>
-
Retrieves NFT balances for a specific address.
override
-
getTokenBalancesForAddress(EthereumAddress address, {EthereumAddress? tokenAddress, int page = 1, int pageSize = 20})
→ Future<TokenBalancesResponse>
-
Retrieves token balances for a specific address.
override
-
getTokenMetadata(EthereumAddress tokenAddress)
→ Future<TokenMetadataResponse>
-
Retrieves token metadata for a specific address.
override
-
getTokenTransfersForAddress(EthereumAddress address, {EthereumAddress? tokenAddress, BlockNum? fromBlock, BlockNum? toBlock, DateTime? fromTime, DateTime? toTime, int page = 1, int pageSize = 20})
→ Future<TokenTransfersResponse>
-
Retrieves token transfers for a specific address and token.
override
-
getTransactionsForAddress(EthereumAddress address, {EthereumAddress? tokenAddress, BlockNum? fromBlock, BlockNum? toBlock, DateTime? fromTime, DateTime? toTime, int page = 1, int pageSize = 20})
→ Future<TransactionsResponse>
-
Retrieves transactions for a specific address.
override
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
resolveENSName(String name, {BlockNum? toBlock})
→ Future<ENSResponse>
-
Resolves an ENS name to its corresponding Ethereum address.
override
-
reverseENSAddress(EthereumAddress address, {BlockNum? toBlock})
→ Future<ENSResponse>
-
Performs a reverse ENS address lookup to obtain the associated ENS name.
override
-
toString()
→ String
-
A string representation of this object.
inherited