messari.blockexplorers.arbiscan package

Submodules

messari.blockexplorers.arbiscan.arbiscan module

This module is meant to contain the arbiscan class

class messari.blockexplorers.arbiscan.arbiscan.Arbiscan(api_key: Optional[str] = None)

Bases: messari.blockexplorers.scanner.Scanner

This class is a wrapper around the arbiscan API

Methods

get_account_blocks_mined(accounts_in[, ...])

Returns the list of blocks mined by an address

get_account_internal_transactions(accounts_in)

Returns the list of internal transactions performed by an address

get_account_native_balance(accounts_in)

Returns the native token balance of a given address

get_account_nft_transfers(accounts_in[, ...])

Returns the list of ERC-721 ( NFT ) tokens transferred by an address, with optional filtering by token contract

get_account_normal_transactions(accounts_in)

Returns the list of transactions performed by an address, with optional pagination

get_account_token_transfers(accounts_in[, ...])

Returns the list of ERC-20 tokens transferred by an address, with optional filtering by token contract

get_block_by_timestamp(times_in[, before])

Returns the block number that was mined at a certain timestamp (in unix)

get_block_countdown(blocks_in)

Override: return None

get_block_range_internal_transactions(...[, ...])

Returns the list of internal transactions performed within a block range Parameters ---------- start_block: int block to start search end_block: int block to end search page: int Page number starting at 0. Increment value to paginate through results offset: int Offset starting at 0. Increment value to offset paginated results ascending: bool return results ascending or descending (default True).

get_block_reward(blocks_in)

Override: return None

get_contract_abi(contracts_in)

Returns the Contract Application Binary Interface (ABI) of a verified smart contract

get_contract_execution_status(transactions_in)

Override: return None

get_contract_source_code(contracts_in)

Returns the Solidity source code of a verified smart contract

get_est_confirmation(gas_price)

Override: return None

get_eth_account_transaction_count(accounts_in)

Override: return None

get_eth_block(blocks_in)

Override: return None

get_eth_block_number()

Override: return None

get_eth_block_transaction_count(blocks_in)

Override: return None

get_eth_gas_price()

Override: return None

get_eth_transaction_by_block_index(block, index)

Override: return None

get_eth_transaction_by_hash(transactions_in)

Override: return None

get_eth_transaction_receipt(transactions_in)

Override: return None

get_eth_uncle(block, index)

Override: return None

get_gas_oracle()

Override: return None

get_logs(address, from_block[, to_block, ...])

This function is a wrapper around the Etherscan API which is a wrapper around the native eth_getLogs.

get_response(endpoint_url[, params, headers])

Gets response from endpoint and checks for HTTP errors when requesting data.

get_token_account_balance(tokens_in, accounts_in)

Returns the current balance of an ERC-20 token of an address

get_token_circulating_supply(tokens_in)

Get ERC20 Circulating Supply (For Arbitrum Cross Chain token Types) by ContractAddress

get_token_total_supply(tokens_in)

Returns the current amount of an ERC-20 token in circulation

get_transaction_execution_status(transactions_in)

Returns the status code of a transaction execution.

get_transaction_internal_transactions(...)

Returns the list of internal transactions performed within a transaction Parameters ---------- transactions_in: str, List single transaction in or list of transactions in

set_api_dict(api_dict)

Sets a new dictionary to be used as an API key pair

set_taxonomy_dict(taxonomy_dict)

Sets a new dictionary to be used for taxonomy translations

translate(input_slugs)

Wrapper around messari.utils.validate_input, validate input & check if it's supported by DeFi Llama

get_block_countdown(blocks_in: Union[int, List]) pandas.core.frame.DataFrame

Override: return None

get_block_reward(blocks_in: Union[int, List]) pandas.core.frame.DataFrame

Override: return None

get_contract_execution_status(transactions_in: Union[str, List]) None

Override: return None

get_est_confirmation(gas_price: int)

Override: return None

get_eth_account_transaction_count(accounts_in: Union[str, List])

Override: return None

get_eth_block(blocks_in: Union[int, List])

Override: return None

get_eth_block_number()

Override: return None

get_eth_block_transaction_count(blocks_in: Union[int, List])

Override: return None

get_eth_gas_price()

Override: return None

get_eth_transaction_by_block_index(block: int, index: int)

Override: return None

get_eth_transaction_by_hash(transactions_in: Union[str, List])

Override: return None

get_eth_transaction_receipt(transactions_in: Union[str, List])

Override: return None

get_eth_uncle(block: int, index: int)

Override: return None

get_gas_oracle() None

Override: return None

get_token_circulating_supply(tokens_in: Union[str, List]) pandas.core.frame.DataFrame

Get ERC20 Circulating Supply (For Arbitrum Cross Chain token Types) by ContractAddress

Parameters
tokens_in: str, List

single token address in or list of token addresses

Returns
DataFrame

DataFrame containing total supply for token(s)

Module contents

Module to handle initialization, imports, for Arbiscan class