polybrainz_etherscan library

Classes

AbiFunction
ABI function definition domain model.
AbiParameter
ABI parameter definition domain model.
AccountApi
Account API interface.
AccountApiImpl
Account API implementation.
AccountBalance
Account balance domain model.
ApiAction
Base interface for all API actions.
BlockHash
A block identified by its hash.
BlockNumber
A specific block number.
BlockTag
A block identifier - can be a number, hash, or named tag.
CacheConfig
Cache configuration.
CircuitBreakerConfig
Circuit breaker configuration.
ContractApi
Contract API interface.
ContractApiImpl
Contract API implementation.
ContractCreation
Contract creation info domain model.
ContractSource
Contract source code domain model.
Endpoints
Etherscan API V2 endpoints.
Erc1155Transfer
ERC-1155 transfer domain model.
EtherscanApi
Main entry point for the Etherscan API V2.
EtherscanConfig
Configuration for the Etherscan API client.
EthPrice
ETH price domain model.
EventLog
Event log domain model.
Failure<T>
Failed result containing an exception.
GasApi
Gas API interface.
GasApiImpl
Gas API implementation.
GasOracle
Gas oracle domain model.
InternalTransaction
Internal transaction domain model.
LoggingConfig
Logging configuration.
LogsApi
Logs API interface.
LogsApiImpl
Logs API implementation.
NftTransfer
ERC-721 (NFT) transfer domain model.
RateLimitConfig
Rate limiting configuration.
Result<T>
A type that represents either success or failure.
RetryConfig
Retry configuration.
StatsApi
Stats API interface.
StatsApiImpl
Stats API implementation.
Success<T>
Successful result containing a value.
TokenTransfer
ERC-20 token transfer domain model.
Transaction
Transaction domain model.
TransactionApi
Transaction API interface.
TransactionApiImpl
Transaction API implementation.
TransactionReceiptStatus
Transaction receipt status result.
TransactionStatus
Transaction status result.

Enums

AccountAction
Account module actions.
ApiModule
API module identifiers for Etherscan V2.
BlockAction
Block module actions.
BlockTagName
Named block tags for special blocks.
Chain
All supported EVM chains with their IDs.
ContractAction
Contract module actions.
GasAction
Gas tracker module actions.
LogLevel
Logging level.
LogsAction
Logs module actions.
ProxyAction
Proxy module actions (JSON-RPC passthrough).
SortOrder
Sort order for paginated API results.
StatsAction
Stats module actions.
TimeoutType
Type of timeout.
TokenAction
Token module actions.
TransactionAction
Transaction module actions.

Extension Types

EthereumAddress
A validated Ethereum address.
TransactionHash
A validated transaction hash (32 bytes / 64 hex chars).
Wei
Wei amount with safe arithmetic and conversions.

Extensions

EthereumAddressListExtension on List<EthereumAddress>
Extension methods for lists of addresses.
FutureResultExtensions on Future<Result<T>>
Extension methods for async Result operations.
ResultExtensions on Result<T>
Extension methods for working with Results.

Exceptions / Errors

ApiErrorException
The API returned an error response (status: "0").
AuthException
Authentication error (invalid API key, HTTP 401/403).
ChainNotSupportedException
The requested action is not supported on this chain.
CircuitOpenException
Circuit breaker is open, service temporarily unavailable.
ContractNotVerifiedException
Contract is not verified on Etherscan.
EtherscanException
Base exception for all Etherscan API errors.
NetworkException
Network connectivity issues (no internet, DNS failure, etc.).
ParseException
Response parsing/deserialization failed.
RateLimitException
Rate limit exceeded (HTTP 429).
ServerException
Server error (5xx status codes).
TimeoutException
Request timeout.