Etherscan
etherscanEtherscan API V2 provides multichain access to account balances, transactions, token activity, contracts, logs, gas data, and blocks.
Acciones disponibles (54)
Cada acción es una operación que el agente puede ejecutar contra este conector. Haz clic en una acción para ver sus parámetros.
Call ContractETHERSCAN_CALL_CONTRACTAcciónExecute a read-only eth_call at latest state and return raw ABI-encoded data; no transaction is created.
ETHERSCAN_CALL_CONTRACTAcciónExecute a read-only eth_call at latest state and return raw ABI-encoded data; no transaction is created.
Parámetros de entrada
tostringObligatorioContract address to call.
datastringOptional 0x-prefixed selector and ABI-encoded arguments.
chain_idstringObligatorioExactly one supported positive decimal chain ID.
from_addressstringOptional caller address; the provider defaults to the zero address.
gas_limit_hexstringOptional gas limit as 0x-prefixed hexadecimal.
value_wei_hexstringOptional simulated native value in wei as hexadecimal.
gas_price_wei_hexstringOptional gas price in wei as hexadecimal.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Estimate Confirmation TimeETHERSCAN_ESTIMATE_CONFIRMATION_TIMEAcciónEstimate confirmation time in seconds for an optional exact gas price in wei.
ETHERSCAN_ESTIMATE_CONFIRMATION_TIMEAcciónEstimate confirmation time in seconds for an optional exact gas price in wei.
Parámetros de entrada
chain_idstringObligatorioExactly one supported positive decimal chain ID.
gas_price_weistringOptional gas price in wei as an exact decimal string.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Estimate Transaction GasETHERSCAN_ESTIMATE_TRANSACTION_GASAcciónEstimate gas required for a transaction-like call without submitting a transaction.
ETHERSCAN_ESTIMATE_TRANSACTION_GASAcciónEstimate gas required for a transaction-like call without submitting a transaction.
Parámetros de entrada
tostringOptional destination address.
datastringOptional method selector and encoded arguments as hexadecimal.
chain_idstringObligatorioExactly one supported positive decimal chain ID.
gas_limit_hexstringOptional proposed gas limit as hexadecimal.
gas_price_weistringOptional gas price in wei as documented hexadecimal.
value_wei_hexstringOptional native value in wei as hexadecimal.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get Address Funding SourceETHERSCAN_GET_ADDRESS_FUNDING_SOURCEAcciónGet the first transaction and address that funded an externally owned account. Contract addresses are unsupported.
ETHERSCAN_GET_ADDRESS_FUNDING_SOURCEAcciónGet the first transaction and address that funded an externally owned account. Contract addresses are unsupported.
Parámetros de entrada
addressstringObligatorioExternally owned account whose first funding source to return; contracts are unsupported.
chain_idstringObligatorioExactly one supported positive decimal chain ID.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get Address MetadataETHERSCAN_GET_ADDRESS_METADATAAcciónGet Etherscan nametags, labels, reputation, notes, and provider-defined metadata for up to 100 addresses. This PRO+ operation is available only on Pro Plus, is mainnet-only, and is limited to two calls per second.
ETHERSCAN_GET_ADDRESS_METADATAAcciónGet Etherscan nametags, labels, reputation, notes, and provider-defined metadata for up to 100 addresses. This PRO+ operation is available only on Pro Plus, is mainnet-only, and is limited to two calls per second.
Parámetros de entrada
chain_idstringObligatorioExactly one current Etherscan-supported positive decimal mainnet chain ID.
addressesstring[]ObligatorioOne to 100 addresses whose Etherscan metadata to retrieve.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get Address Transaction CountETHERSCAN_GET_ADDRESS_TRANSACTION_COUNTAcciónGet the number of transactions sent from an address at an optional block tag, as hexadecimal.
ETHERSCAN_GET_ADDRESS_TRANSACTION_COUNTAcciónGet the number of transactions sent from an address at an optional block tag, as hexadecimal.
Parámetros de entrada
addressstringObligatorioAddress whose sent-transaction count to return.
chain_idstringObligatorioExactly one supported positive decimal chain ID.
block_tagstringOptional named or hexadecimal block tag.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get API UsageETHERSCAN_GET_API_USAGEAcciónGet API credits used, available, and allowed for the connected API key's current interval. This account-level operation has no chain selection.
ETHERSCAN_GET_API_USAGEAcciónGet API credits used, available, and allowed for the connected API key's current interval. This account-level operation has no chain selection.
Parámetros de entrada
Sin parámetros.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get Block by NumberETHERSCAN_GET_BLOCK_BY_NUMBERAcciónGet JSON-RPC block information for an explicit hexadecimal block number or the latest block, returning transaction hashes or full transaction objects. Proxy-read chain and plan availability is dynamic and currently unknown; null-result behavior is unprobed.
ETHERSCAN_GET_BLOCK_BY_NUMBERAcciónGet JSON-RPC block information for an explicit hexadecimal block number or the latest block, returning transaction hashes or full transaction objects. Proxy-read chain and plan availability is dynamic and currently unknown; null-result behavior is unprobed.
Parámetros de entrada
chain_idstringObligatorioExactly one current Etherscan-supported chain ID as a positive decimal string.
block_tagstringOptional block to retrieve, either 'latest' or a 0x-prefixed hexadecimal block number. Etherscan documents no default.
include_full_transactionsbooleanObligatorioWhether to return full transaction objects. False returns only transaction hashes.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get Block CountdownETHERSCAN_GET_BLOCK_COUNTDOWNAcciónEstimate blocks and seconds remaining until a future block is mined.
ETHERSCAN_GET_BLOCK_COUNTDOWNAcciónEstimate blocks and seconds remaining until a future block is mined.
Parámetros de entrada
chain_idstringObligatorioExactly one supported positive decimal chain ID.
block_numberintegerObligatorioFuture target block number.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get Block Number by TimestampETHERSCAN_GET_BLOCK_NUMBER_BY_TIMESTAMPAcciónGet the decimal block number closest before or after a Unix timestamp in seconds. This community operation's chain and plan availability is dynamic and currently unknown.
ETHERSCAN_GET_BLOCK_NUMBER_BY_TIMESTAMPAcciónGet the decimal block number closest before or after a Unix timestamp in seconds. This community operation's chain and plan availability is dynamic and currently unknown.
Parámetros de entrada
closeststringObligatorioenumReturn the closest available block before or after the timestamp.
beforeafterchain_idstringObligatorioExactly one current Etherscan-supported chain ID, as a string; comma-separated or multiple chain IDs are invalid.
timestampintegerObligatorioNonnegative Unix timestamp in seconds.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get Block RewardsETHERSCAN_GET_BLOCK_REWARDSAcciónGet a block's miner reward, uncle inclusion reward, and included uncle records.
ETHERSCAN_GET_BLOCK_REWARDSAcciónGet a block's miner reward, uncle inclusion reward, and included uncle records.
Parámetros de entrada
chain_idstringObligatorioExactly one supported positive decimal chain ID.
block_numberintegerObligatorioBlock number whose rewards to return.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get Block Transaction CountETHERSCAN_GET_BLOCK_TRANSACTION_COUNTAcciónGet a block's total JSON-RPC transaction count as hexadecimal, without transfer-type breakdowns.
ETHERSCAN_GET_BLOCK_TRANSACTION_COUNTAcciónGet a block's total JSON-RPC transaction count as hexadecimal, without transfer-type breakdowns.
Parámetros de entrada
chain_idstringObligatorioExactly one supported positive decimal chain ID.
block_tagstringOptional block number as 0x-prefixed hexadecimal.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get Block Transaction CountsETHERSCAN_GET_BLOCK_TRANSACTION_COUNTSAcciónGet Ethereum mainnet normal, internal, ERC20, ERC721, and ERC1155 transaction counts for a decimal block number.
ETHERSCAN_GET_BLOCK_TRANSACTION_COUNTSAcciónGet Ethereum mainnet normal, internal, ERC20, ERC721, and ERC1155 transaction counts for a decimal block number.
Parámetros de entrada
chain_idstringObligatorioEthereum mainnet chain ID 1; this detailed count endpoint is Ethereum-only.
block_numberintegerObligatorioDecimal block number whose detailed counts to return.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get Contract ABIETHERSCAN_GET_CONTRACT_ABIAcciónGet the JSON-encoded ABI string for a verified contract. Etherscan documents this operation as available on every supported chain and every API plan, including Free.
ETHERSCAN_GET_CONTRACT_ABIAcciónGet the JSON-encoded ABI string for a verified contract. Etherscan documents this operation as available on every supported chain and every API plan, including Free.
Parámetros de entrada
addressstringObligatorioVerified contract address whose ABI to return.
chain_idstringObligatorioExactly one current Etherscan-supported chain ID, as a string. This operation is available on all supported chains.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get Contract BytecodeETHERSCAN_GET_CONTRACT_BYTECODEAcciónGet bytecode stored at an address for an optional named or hexadecimal block tag.
ETHERSCAN_GET_CONTRACT_BYTECODEAcciónGet bytecode stored at an address for an optional named or hexadecimal block tag.
Parámetros de entrada
addressstringObligatorioAddress whose stored bytecode to return.
chain_idstringObligatorioExactly one supported positive decimal chain ID.
block_tagstringOptional latest, earliest, pending, or hexadecimal block tag.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get Contract CreationETHERSCAN_GET_CONTRACT_CREATIONAcciónGet creator, creation transaction, block, Unix-second timestamp, factory, and creation bytecode for up to five contracts on one chain. This operation's chain and plan availability is dynamic and currently unknown.
ETHERSCAN_GET_CONTRACT_CREATIONAcciónGet creator, creation transaction, block, Unix-second timestamp, factory, and creation bytecode for up to five contracts on one chain. This operation's chain and plan availability is dynamic and currently unknown.
Parámetros de entrada
chain_idstringObligatorioExactly one current Etherscan-supported chain ID, as a string; comma-separated or multiple chain IDs are invalid.
contract_addressesstring[]ObligatorioOne to five contract addresses whose creation metadata to return.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get Contract Execution StatusETHERSCAN_GET_CONTRACT_EXECUTION_STATUSAcciónGet whether a transaction's contract execution failed and any provider error description. A failed contract execution is returned as successful read data, not as a tool error. This community operation's chain and plan availability is dynamic and currently unknown; pending and missing-transaction behavior is unprobed.
ETHERSCAN_GET_CONTRACT_EXECUTION_STATUSAcciónGet whether a transaction's contract execution failed and any provider error description. A failed contract execution is returned as successful read data, not as a tool error. This community operation's chain and plan availability is dynamic and currently unknown; pending and missing-transaction behavior is unprobed.
Parámetros de entrada
chain_idstringObligatorioExactly one current Etherscan-supported chain ID, as a string; comma-separated or multiple chain IDs are invalid.
transaction_hashstringObligatorioTransaction hash whose contract execution status to inspect.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get Contract Source CodeETHERSCAN_GET_CONTRACT_SOURCE_CODEAcciónGet source code plus compiler, proxy, implementation, license, and verification metadata for one contract. Etherscan documents this operation as available on every supported chain and every API plan, including Free. Unverified contracts may legitimately return empty source code and ABI error text.
ETHERSCAN_GET_CONTRACT_SOURCE_CODEAcciónGet source code plus compiler, proxy, implementation, license, and verification metadata for one contract. Etherscan documents this operation as available on every supported chain and every API plan, including Free. Unverified contracts may legitimately return empty source code and ABI error text.
Parámetros de entrada
addressstringObligatorioContract address whose source and verification metadata to return.
chain_idstringObligatorioExactly one current Etherscan-supported chain ID, as a string. This operation is available on all supported chains.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get Contract StorageETHERSCAN_GET_CONTRACT_STORAGEAcciónGet the raw value at a contract storage position for an optional block tag.
ETHERSCAN_GET_CONTRACT_STORAGEAcciónGet the raw value at a contract storage position for an optional block tag.
Parámetros de entrada
addressstringObligatorioContract address whose storage to read.
chain_idstringObligatorioExactly one supported positive decimal chain ID.
block_tagstringOptional latest, earliest, pending, or hexadecimal block tag.
position_hexstringObligatorioStorage position as 0x-prefixed hexadecimal.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get Current Gas PriceETHERSCAN_GET_CURRENT_GAS_PRICEAcciónGet the canonical JSON-RPC current gas price in wei as hexadecimal; use Get Gas Oracle for recommendations.
ETHERSCAN_GET_CURRENT_GAS_PRICEAcciónGet the canonical JSON-RPC current gas price in wei as hexadecimal; use Get Gas Oracle for recommendations.
Parámetros de entrada
chain_idstringObligatorioExactly one supported positive decimal chain ID.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get ERC20 BalanceETHERSCAN_GET_ERC20_BALANCEAcciónGet one address's ERC20 token balance in exact smallest units, optionally at a historical block. Historical lookup requires Standard+, is mainnet-only and unavailable on testnets; current balance availability is dynamic.
ETHERSCAN_GET_ERC20_BALANCEAcciónGet one address's ERC20 token balance in exact smallest units, optionally at a historical block. Historical lookup requires Standard+, is mainnet-only and unavailable on testnets; current balance availability is dynamic.
Parámetros de entrada
addressstringObligatorioAccount address whose ERC20 token balance to return.
chain_idstringObligatorioExactly one current Etherscan-supported chain ID, as a string.
block_tagstringUse latest for the current balance; this endpoint documents no other tag.
block_numberintegerHistorical block number.
contract_addressstringObligatorioERC20 token contract address.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get ERC20 Total SupplyETHERSCAN_GET_ERC20_TOTAL_SUPPLYAcciónGet an ERC20 token's current total supply, or its historical supply when block_number is provided; historical lookup requires Standard+, is mainnet-only, and is unavailable on testnets.
ETHERSCAN_GET_ERC20_TOTAL_SUPPLYAcciónGet an ERC20 token's current total supply, or its historical supply when block_number is provided; historical lookup requires Standard+, is mainnet-only, and is unavailable on testnets.
Parámetros de entrada
chain_idstringObligatorioExactly one current Etherscan-supported chain ID, as a string; comma-separated or multiple chain IDs are invalid.
block_numberintegerHistorical block number. When omitted, return current supply; historical lookup requires Standard+ and a supported mainnet.
contract_addressstringObligatorioERC20 token contract address.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get Ether SupplyETHERSCAN_GET_ETHER_SUPPLYAcciónGet Ether supply in wei, either the basic block-reward supply or the ETH-specific component breakdown including staking, EIP-1559 burned fees, and staking withdrawals.
ETHERSCAN_GET_ETHER_SUPPLYAcciónGet Ether supply in wei, either the basic block-reward supply or the ETH-specific component breakdown including staking, EIP-1559 burned fees, and staking withdrawals.
Parámetros de entrada
detailstringObligatorioenumBasic supply scalar or detailed supply components.
basiccomponentschain_idstringObligatorioExactly one supported positive decimal chain ID.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get Gas OracleETHERSCAN_GET_GAS_ORACLEAcciónGet current safe, proposed, and fast gas-price recommendations and the suggested base fee as gwei strings. The documentation displays Ethereum, BNB Smart Chain, Polygon, Celo, Gnosis, and Linea mainnets; plan availability and availability on other chains are unknown.
ETHERSCAN_GET_GAS_ORACLEAcciónGet current safe, proposed, and fast gas-price recommendations and the suggested base fee as gwei strings. The documentation displays Ethereum, BNB Smart Chain, Polygon, Celo, Gnosis, and Linea mainnets; plan availability and availability on other chains are unknown.
Parámetros de entrada
chain_idstringObligatorioExactly one chain ID, as a string. The endpoint documentation displays Ethereum, BNB Smart Chain, Polygon, Celo, Gnosis, and Linea mainnets; availability on other chains is unknown.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get Latest Block NumberETHERSCAN_GET_LATEST_BLOCK_NUMBERAcciónGet the latest block number as an exact hexadecimal JSON-RPC quantity.
ETHERSCAN_GET_LATEST_BLOCK_NUMBERAcciónGet the latest block number as an exact hexadecimal JSON-RPC quantity.
Parámetros de entrada
chain_idstringObligatorioExactly one supported positive decimal chain ID.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get Latest Native PriceETHERSCAN_GET_LATEST_NATIVE_PRICEAcciónGet the latest native-token prices in BTC and USD with their Unix-second timestamps.
ETHERSCAN_GET_LATEST_NATIVE_PRICEAcciónGet the latest native-token prices in BTC and USD with their Unix-second timestamps.
Parámetros de entrada
chain_idstringObligatorioExactly one supported positive decimal chain ID.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get Native BalanceETHERSCAN_GET_NATIVE_BALANCEAcciónGet one address's native-token balance in exact wei, optionally at a historical block. Historical lookup requires Standard+, is mainnet-only and unavailable on testnets, and is limited to 2 calls/second; current/recent availability is dynamic.
ETHERSCAN_GET_NATIVE_BALANCEAcciónGet one address's native-token balance in exact wei, optionally at a historical block. Historical lookup requires Standard+, is mainnet-only and unavailable on testnets, and is limited to 2 calls/second; current/recent availability is dynamic.
Parámetros de entrada
addressstringObligatorioAccount address whose native-token balance to return.
chain_idstringObligatorioExactly one current Etherscan-supported chain ID, as a string; comma-separated or multiple chain IDs are invalid.
block_tagstringUse latest or a hexadecimal block number within the last 128 blocks; older historical balances require a different endpoint.
block_numberintegerHistorical block number, including genesis block 0.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get Native BalancesETHERSCAN_GET_NATIVE_BALANCESAcciónGet native-token balances for up to 20 addresses in one call, returning wei as exact decimal strings on one chain. This community operation's chain and plan availability is dynamic and currently unknown.
ETHERSCAN_GET_NATIVE_BALANCESAcciónGet native-token balances for up to 20 addresses in one call, returning wei as exact decimal strings on one chain. This community operation's chain and plan availability is dynamic and currently unknown.
Parámetros de entrada
chain_idstringObligatorioExactly one current Etherscan-supported chain ID, as a string; comma-separated or multiple chain IDs are invalid.
addressesstring[]ObligatorioOne to 20 account addresses whose native-token balances to return.
block_tagstringUse latest or a hexadecimal block number within the last 128 blocks.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get Node CountETHERSCAN_GET_NODE_COUNTAcciónGet the current discoverable-node count or daily historical counts over a UTC date range. Historical mode requires Standard+ and Ethereum mainnet chain_id 1.
ETHERSCAN_GET_NODE_COUNTAcciónGet the current discoverable-node count or daily historical counts over a UTC date range. Historical mode requires Standard+ and Ethereum mainnet chain_id 1.
Parámetros de entrada
sortstringenumHistory order; invalid for current.
ascdescperiodstringObligatorioenumCurrent snapshot or historical series.
currenthistorychain_idstringObligatorioExactly one supported positive decimal chain ID.
end_datestringHistory end date.
start_datestringHistory start date.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get Token Holder CountETHERSCAN_GET_TOKEN_HOLDER_COUNTAcciónGet the number of addresses currently holding an ERC20 token. This PRO Standard+ operation is available on supported mainnets only.
ETHERSCAN_GET_TOKEN_HOLDER_COUNTAcciónGet the number of addresses currently holding an ERC20 token. This PRO Standard+ operation is available on supported mainnets only.
Parámetros de entrada
chain_idstringObligatorioExactly one current Etherscan-supported positive decimal mainnet chain ID.
contract_addressstringObligatorioERC20 token contract address.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get Token InfoETHERSCAN_GET_TOKEN_INFOAcciónGet token identity, standard, supply, verification, project links, price, and logo metadata for an ERC20, ERC721, or ERC1155 contract. This PRO Standard+ operation is mainnet-only and limited to two calls per second.
ETHERSCAN_GET_TOKEN_INFOAcciónGet token identity, standard, supply, verification, project links, price, and logo metadata for an ERC20, ERC721, or ERC1155 contract. This PRO Standard+ operation is mainnet-only and limited to two calls per second.
Parámetros de entrada
chain_idstringObligatorioExactly one current Etherscan-supported positive decimal mainnet chain ID.
contract_addressstringObligatorioERC20, ERC721, or ERC1155 contract address.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get TransactionETHERSCAN_GET_TRANSACTIONAcciónGet one full JSON-RPC transaction by hash or by hexadecimal block number and transaction index.
ETHERSCAN_GET_TRANSACTIONAcciónGet one full JSON-RPC transaction by hash or by hexadecimal block number and transaction index.
Parámetros de entrada
lookupstringObligatorioenumSelect lookup by transaction hash or by block and index.
hashblock_indexchain_idstringObligatorioExactly one supported positive decimal chain ID.
block_tagstringOptional hexadecimal block number for block-index lookup.
transaction_hashstringTransaction hash, required only for hash lookup.
transaction_index_hexstringOptional hexadecimal transaction index for block-index lookup.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get Transaction ReceiptETHERSCAN_GET_TRANSACTION_RECEIPTAcciónGet a full JSON-RPC transaction receipt, including event logs, by hash on one chain. Proxy-read chain and plan availability is dynamic and currently unknown. Hexadecimal quantities are preserved as strings; an explicit null result is returned without assigning unverified pending or not-found meaning.
ETHERSCAN_GET_TRANSACTION_RECEIPTAcciónGet a full JSON-RPC transaction receipt, including event logs, by hash on one chain. Proxy-read chain and plan availability is dynamic and currently unknown. Hexadecimal quantities are preserved as strings; an explicit null result is returned without assigning unverified pending or not-found meaning.
Parámetros de entrada
chain_idstringObligatorioExactly one current Etherscan-supported chain ID as a positive decimal string; multiple or comma-separated chain IDs are invalid.
transaction_hashstringObligatorioTransaction hash whose full receipt to return.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get Transaction Receipt StatusETHERSCAN_GET_TRANSACTION_RECEIPT_STATUSAcciónGet a transaction receipt's success or failure status string. The status may be empty for a pre-Byzantium block. This community operation's chain and plan availability is dynamic and currently unknown; pending and missing-transaction behavior is unprobed.
ETHERSCAN_GET_TRANSACTION_RECEIPT_STATUSAcciónGet a transaction receipt's success or failure status string. The status may be empty for a pre-Byzantium block. This community operation's chain and plan availability is dynamic and currently unknown; pending and missing-transaction behavior is unprobed.
Parámetros de entrada
chain_idstringObligatorioExactly one current Etherscan-supported chain ID, as a string; comma-separated or multiple chain IDs are invalid.
transaction_hashstringObligatorioTransaction hash whose receipt status to return.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get Uncle BlockETHERSCAN_GET_UNCLE_BLOCKAcciónGet an uncle block by optional hexadecimal parent block number and uncle index.
ETHERSCAN_GET_UNCLE_BLOCKAcciónGet an uncle block by optional hexadecimal parent block number and uncle index.
Parámetros de entrada
chain_idstringObligatorioExactly one supported positive decimal chain ID.
block_tagstringOptional parent block number as hexadecimal.
uncle_index_hexstringOptional uncle position as hexadecimal.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get Verification StatusETHERSCAN_GET_VERIFICATION_STATUSAcciónCheck source-code or proxy verification status for a GUID returned by a prior verification submission. This read-only action does not submit verification; pending and failed verification text is returned as data.
ETHERSCAN_GET_VERIFICATION_STATUSAcciónCheck source-code or proxy verification status for a GUID returned by a prior verification submission. This read-only action does not submit verification; pending and failed verification text is returned as data.
Parámetros de entrada
guidstringObligatorioGUID returned by the matching verification submission endpoint.
chain_idstringObligatorioExactly one current Etherscan-supported positive decimal chain ID.
verification_typestringObligatorioenumVerification submission type: source_code or proxy.
source_codeproxy
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List Beacon WithdrawalsETHERSCAN_LIST_BEACON_WITHDRAWALSAcciónList one page of beacon-chain withdrawals, optionally filtered by recipient and inclusive block range.
ETHERSCAN_LIST_BEACON_WITHDRAWALSAcciónList one page of beacon-chain withdrawals, optionally filtered by recipient and inclusive block range.
Parámetros de entrada
pageintegerProvider page number, starting at 1.
sortstringenumOldest-first or newest-first order.
ascdescoffsetintegerRecords requested for this provider page.
addressstringOptional withdrawal recipient filter.
chain_idstringObligatorioSupported positive decimal chain ID.
end_blockintegerLast block to include.
start_blockintegerFirst block to include.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List Chain SizeETHERSCAN_LIST_CHAIN_SIZEAcciónList daily Ethereum node-chain size measurements for one client and sync mode over a date range.
ETHERSCAN_LIST_CHAIN_SIZEAcciónList daily Ethereum node-chain size measurements for one client and sync mode over a date range.
Parámetros de entrada
sortstringenumOldest-first or newest-first order.
ascdescchain_idstringObligatorioExactly one supported positive decimal chain ID.
end_datestringObligatorioLast UTC date in YYYY-MM-DD format.
sync_modestringObligatorioenumNode sync mode used for the measurement.
defaultarchivestart_datestringObligatorioFirst UTC date in YYYY-MM-DD format.
client_typestringObligatorioenumNode client used for the measurement.
gethparity
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List Daily Block Counts and RewardsETHERSCAN_LIST_DAILY_BLOCK_COUNTS_AND_REWARDSAcciónList daily mined-block counts and corresponding block rewards in ether over a UTC date range.
ETHERSCAN_LIST_DAILY_BLOCK_COUNTS_AND_REWARDSAcciónList daily mined-block counts and corresponding block rewards in ether over a UTC date range.
Parámetros de entrada
sortstringenumOldest-first or newest-first order.
ascdescchain_idstringObligatorioExactly one supported positive decimal chain ID.
end_datestringObligatorioLast UTC date in YYYY-MM-DD format.
start_datestringObligatorioFirst UTC date in YYYY-MM-DD format.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List Daily Gas PricesETHERSCAN_LIST_DAILY_GAS_PRICESAcciónList daily minimum, average, and maximum gas prices in wei over a UTC date range.
ETHERSCAN_LIST_DAILY_GAS_PRICESAcciónList daily minimum, average, and maximum gas prices in wei over a UTC date range.
Parámetros de entrada
sortstringenumOldest-first or newest-first order.
ascdescchain_idstringObligatorioExactly one supported positive decimal chain ID.
end_datestringObligatorioLast UTC date in YYYY-MM-DD format.
start_datestringObligatorioFirst UTC date in YYYY-MM-DD format.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List Daily Network MetricsETHERSCAN_LIST_DAILY_NETWORK_METRICSAcciónList one normalized daily scalar metric over a UTC date range. The response echoes the metric and unit; Ether historical price is explicitly ETH-specific. All variants require Standard+, are mainnet-only, and are unavailable on testnets; ens_registration_count additionally requires chain_id 1.
ETHERSCAN_LIST_DAILY_NETWORK_METRICSAcciónList one normalized daily scalar metric over a UTC date range. The response echoes the metric and unit; Ether historical price is explicitly ETH-specific. All variants require Standard+, are mainnet-only, and are unavailable on testnets; ens_registration_count additionally requires chain_id 1.
Parámetros de entrada
sortstringenumOldest-first or newest-first order.
ascdescmetricstringObligatorioenumDaily scalar series to return; selects a fixed stats operation and unit.
average_block_size_bytesaverage_block_time_secondsaverage_gas_limitaverage_hash_rate_ghsaverage_network_difficultyblock_rewards_ethens_registration_countgas_usednetwork_utilization_rationew_address_counttransaction_counttransaction_fees_eth+1chain_idstringObligatorioExactly one supported positive decimal chain ID.
end_datestringObligatorioLast UTC date in YYYY-MM-DD format.
start_datestringObligatorioFirst UTC date in YYYY-MM-DD format.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List Daily Uncle Counts and RewardsETHERSCAN_LIST_DAILY_UNCLE_COUNTS_AND_REWARDSAcciónList daily uncle-block counts and uncle rewards in ether over a UTC date range.
ETHERSCAN_LIST_DAILY_UNCLE_COUNTS_AND_REWARDSAcciónList daily uncle-block counts and uncle rewards in ether over a UTC date range.
Parámetros de entrada
sortstringenumOldest-first or newest-first order.
ascdescchain_idstringObligatorioExactly one supported positive decimal chain ID.
end_datestringObligatorioLast UTC date in YYYY-MM-DD format.
start_datestringObligatorioFirst UTC date in YYYY-MM-DD format.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List ERC721 InventoryETHERSCAN_LIST_ERC721_INVENTORYAcciónList one page of ERC721 token IDs owned by an address for one collection. Requires Standard+, is mainnet-only and unavailable on testnets, and is limited to 2 calls/second.
ETHERSCAN_LIST_ERC721_INVENTORYAcciónList one page of ERC721 token IDs owned by an address for one collection. Requires Standard+, is mainnet-only and unavailable on testnets, and is limited to 2 calls/second.
Parámetros de entrada
pageintegerProvider page number, starting at 1.
offsetintegerRecords requested for this provider page.
addressstringObligatorioOwner address whose NFT inventory to list.
chain_idstringObligatorioExactly one supported positive decimal chain ID.
contract_addressstringObligatorioERC721 collection contract address.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List Event LogsETHERSCAN_LIST_EVENT_LOGSAcciónList one provider page of event logs over an inclusive block range, filtered by an emitting address, indexed topics, or both. Chain and plan availability is dynamic; hexadecimal quantities are preserved exactly.
ETHERSCAN_LIST_EVENT_LOGSAcciónList one provider page of event logs over an inclusive block range, filtered by an emitting address, indexed topics, or both. Chain and plan availability is dynamic; hexadecimal quantities are preserved exactly.
Parámetros de entrada
pageintegerProvider page number to return, starting at 1.
offsetintegerLogs requested for this provider page. The official documentation does not establish a maximum.
addressstringEmitting contract address. If omitted, at least one topic is required.
topic_0stringTopic at index 0, commonly the event-signature hash.
topic_1stringTopic at index 1.
topic_2stringTopic at index 2. Supported only when address is omitted.
topic_3stringTopic at index 3. Supported only when address is omitted.
chain_idstringObligatorioExactly one current Etherscan-supported chain ID as a decimal string.
to_blockintegerObligatorioLast block number in the inclusive range. Keep ranges narrow to reduce timeout risk.
from_blockintegerObligatorioFirst block number in the inclusive range. Keep ranges narrow to reduce timeout risk.
topic_0_1_operatorstringenumHow topic_0 and topic_1 are combined; both topics are required.
andortopic_0_2_operatorstringenumHow topic_0 and topic_2 are combined in topic-only mode; both topics are required.
andortopic_0_3_operatorstringenumHow topic_0 and topic_3 are combined in topic-only mode; both topics are required.
andortopic_1_2_operatorstringenumHow topic_1 and topic_2 are combined in topic-only mode; both topics are required.
andortopic_1_3_operatorstringenumHow topic_1 and topic_3 are combined in topic-only mode; both topics are required.
andortopic_2_3_operatorstringenumHow topic_2 and topic_3 are combined in topic-only mode; both topics are required.
andor
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List Internal TransactionsETHERSCAN_LIST_INTERNAL_TRANSACTIONSAcciónList internal transactions by address, transaction hash, or an unfiltered block range. Address and hash availability depends on the current chain and API plan. Block-range-only mode explicitly requires an Etherscan Standard or higher plan, is available on mainnets only, and is unavailable on testnets. Address and block-range modes return one provider page. Hash mode is not paginated and returns only matching non-zero-value internal transactions. After a query timeout, narrow the block range or reduce offset.
ETHERSCAN_LIST_INTERNAL_TRANSACTIONSAcciónList internal transactions by address, transaction hash, or an unfiltered block range. Address and hash availability depends on the current chain and API plan. Block-range-only mode explicitly requires an Etherscan Standard or higher plan, is available on mainnets only, and is unavailable on testnets. Address and block-range modes return one provider page. Hash mode is not paginated and returns only matching non-zero-value internal transactions. After a query timeout, narrow the block range or reduce offset.
Parámetros de entrada
pageintegerProvider page number, starting at 1, for address or block-range mode. Do not provide this in transaction-hash mode.
sortstringenumBlock order for address or block-range mode. Do not provide this in transaction-hash mode.
ascdescoffsetintegerRecords requested for this page in address or block-range mode. Etherscan documents no maximum. Do not provide this in transaction-hash mode.
addressstringAddress whose internal transactions to list. Omit for transaction-hash or block-range-only mode.
chain_idstringObligatorioExactly one current Etherscan-supported chain ID as a decimal string. Block-range-only mode requires a mainnet.
end_blockintegerLast block to include. With no address or transaction_hash, both block bounds are required and select Standard+ mainnet-only block-range mode.
start_blockintegerFirst block to include. With no address or transaction_hash, both block bounds are required and select Standard+ mainnet-only block-range mode.
transaction_hashstringTransaction hash whose non-zero-value internal transactions to list. When set, omit every other selector, block bound, and pagination option.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List L2 Bridge TransactionsETHERSCAN_LIST_L2_BRIDGE_TRANSACTIONSAcciónList one page of canonical L2 deposits from Ethereum or withdrawals to Ethereum for an address on a supported L2.
ETHERSCAN_LIST_L2_BRIDGE_TRANSACTIONSAcciónList one page of canonical L2 deposits from Ethereum or withdrawals to Ethereum for an address on a supported L2.
Parámetros de entrada
pageintegerProvider page number, starting at 1.
sortstringenumOldest-first or newest-first order.
ascdescoffsetintegerRecords requested for this provider page.
addressstringObligatorioAddress whose bridge transactions to list.
chain_idstringObligatorioSupported positive decimal L2 chain ID.
directionstringObligatorioenumBridge direction relative to Ethereum.
depositwithdrawal
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List Normal TransactionsETHERSCAN_LIST_NORMAL_TRANSACTIONSAcciónList one provider page of an address's normal transactions, optionally filtered by start and end block. Chain and plan availability is dynamic.
ETHERSCAN_LIST_NORMAL_TRANSACTIONSAcciónList one provider page of an address's normal transactions, optionally filtered by start and end block. Chain and plan availability is dynamic.
Parámetros de entrada
pageintegerProvider page number to return, starting at 1.
sortstringenumSort by block order ascending or descending.
ascdescoffsetintegerRecords requested for this page. The official documentation does not establish a maximum.
addressstringObligatorioAccount address whose normal transactions to list.
chain_idstringObligatorioExactly one current Etherscan-supported chain ID, as a string.
end_blockintegerLast block number to include; narrow ranges reduce timeout risk.
start_blockintegerFirst block number to include; narrow ranges reduce timeout risk.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List Plasma DepositsETHERSCAN_LIST_PLASMA_DEPOSITSAcciónList one page of Plasma deposit transactions on documented Polygon, Gnosis, or BitTorrent Chain networks, optionally filtered by recipient address.
ETHERSCAN_LIST_PLASMA_DEPOSITSAcciónList one page of Plasma deposit transactions on documented Polygon, Gnosis, or BitTorrent Chain networks, optionally filtered by recipient address.
Parámetros de entrada
pageintegerProvider page number, starting at 1.
offsetintegerRecords requested for this provider page.
addressstringOptional recipient address filter.
chain_idstringObligatorioenumSupported Plasma chain ID; the official operation documents Polygon 137, Gnosis 100, and BitTorrent Chain 199.
137100199
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List Supported ChainsETHERSCAN_LIST_SUPPORTED_CHAINSAcciónList current Etherscan mainnet and testnet chains, explorer and API URLs, and service status. This discovery operation has no chain selection and is the time-sensitive authority for supported chain IDs.
ETHERSCAN_LIST_SUPPORTED_CHAINSAcciónList current Etherscan mainnet and testnet chains, explorer and API URLs, and service status. This discovery operation has no chain selection and is the time-sensitive authority for supported chain IDs.
Parámetros de entrada
Sin parámetros.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List Token HoldersETHERSCAN_LIST_TOKEN_HOLDERSAcciónList one page of ERC20 holders or up to 1000 top holders for a token. Top ranking includes contract-versus-EOA address type. Both operations require PRO Standard+, are mainnet-only, and top ranking is limited to two calls per second.
ETHERSCAN_LIST_TOKEN_HOLDERSAcciónList one page of ERC20 holders or up to 1000 top holders for a token. Top ranking includes contract-versus-EOA address type. Both operations require PRO Standard+, are mainnet-only, and top ranking is limited to two calls per second.
Parámetros de entrada
pageintegerProvider page number; valid only for all ranking.
offsetintegerRecords requested; top ranking permits at most 1000.
rankingstringObligatorioenumUse all for a paged holder list or top for top-ranked holders.
alltopchain_idstringObligatorioExactly one current Etherscan-supported positive decimal mainnet chain ID.
contract_addressstringObligatorioERC20 token contract address.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List Token HoldingsETHERSCAN_LIST_TOKEN_HOLDINGSAcciónList one page of ERC20 token balances or ERC721 collection quantities held by an address. Requires Standard+ and mainnet access, is unavailable on testnets, and both variants are limited to 2 calls/second.
ETHERSCAN_LIST_TOKEN_HOLDINGSAcciónList one page of ERC20 token balances or ERC721 collection quantities held by an address. Requires Standard+ and mainnet access, is unavailable on testnets, and both variants are limited to 2 calls/second.
Parámetros de entrada
pageintegerProvider page number, starting at 1.
offsetintegerRecords requested for this provider page.
addressstringObligatorioAddress whose holdings to list.
chain_idstringObligatorioExactly one supported positive decimal chain ID.
token_standardstringObligatorioenumHolding type; selects ERC20 or ERC721 holdings.
erc20erc721
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List Token TransfersETHERSCAN_LIST_TOKEN_TRANSFERSAcciónList one provider page of ERC20, ERC721, or ERC1155 transfers, selected by token_standard and filtered by an account, token contract, or both on one chain. Standard-specific amounts, token IDs, token counts, and blockchain quantities remain exact strings. Chain and plan availability is dynamic; after a query timeout, narrow the block range or reduce offset.
ETHERSCAN_LIST_TOKEN_TRANSFERSAcciónList one provider page of ERC20, ERC721, or ERC1155 transfers, selected by token_standard and filtered by an account, token contract, or both on one chain. Standard-specific amounts, token IDs, token counts, and blockchain quantities remain exact strings. Chain and plan availability is dynamic; after a query timeout, narrow the block range or reduce offset.
Parámetros de entrada
pageintegerProvider page number to return, starting at 1.
sortstringenumSort transfers by block order ascending or descending.
ascdescoffsetintegerRecords requested for this page. The official documentation does not establish a maximum.
addressstringAccount address involved in transfers. At least one of address or contract_address is required.
chain_idstringObligatorioExactly one current Etherscan-supported positive decimal chain ID.
end_blockintegerLast block number to include.
start_blockintegerFirst block number to include.
token_standardstringObligatorioenumToken standard whose transfers to list: erc20, erc721, or erc1155.
erc20erc721erc1155contract_addressstringToken contract address for the selected standard. At least one of address or contract_address is required.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List Validated BlocksETHERSCAN_LIST_VALIDATED_BLOCKSAcciónList one page of full blocks or pre-Merge uncle blocks validated by an address.
ETHERSCAN_LIST_VALIDATED_BLOCKSAcciónList one page of full blocks or pre-Merge uncle blocks validated by an address.
Parámetros de entrada
pageintegerProvider page number, starting at 1.
offsetintegerRecords requested for this provider page.
chain_idstringObligatorioExactly one supported positive decimal chain ID.
block_typestringenumFull blocks or pre-Merge uncle blocks.
blocksunclesvalidator_addressstringObligatorioValidator or miner address whose blocks to list.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Resolve ENS NameETHERSCAN_RESOLVE_ENS_NAMEAcciónResolve an ENS name or supported onchain subdomain to an address on Ethereum mainnet. Offchain and wildcard resolution are unsupported; Free-tier calls are limited to one per second and results may be cached for five minutes.
ETHERSCAN_RESOLVE_ENS_NAMEAcciónResolve an ENS name or supported onchain subdomain to an address on Ethereum mainnet. Offchain and wildcard resolution are unsupported; Free-tier calls are limited to one per second and results may be cached for five minutes.
Parámetros de entrada
namestringObligatorioENS name or onchain subdomain to resolve.
chain_idstringObligatorioEthereum mainnet chain ID 1.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not