Volver al catálogo

Etherscan

etherscan

Etherscan API V2 provides multichain access to account balances, transactions, token activity, contracts, logs, gas data, and blocks.

Acciones
54
Triggers
0
Autenticación
—
OAuth gestionado
No
Información técnica: el detalle de parámetros, schemas y triggers de esta página está pensado para equipos de integración. Si solo necesitas saber si tu herramienta favorita está disponible, basta con ver la lista de acciones.

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ón

Execute a read-only eth_call at latest state and return raw ABI-encoded data; no transaction is created.

Parámetros de entrada

  • tostringObligatorio

    Contract address to call.

  • datastring

    Optional 0x-prefixed selector and ABI-encoded arguments.

  • chain_idstringObligatorio

    Exactly one supported positive decimal chain ID.

  • from_addressstring

    Optional caller address; the provider defaults to the zero address.

  • gas_limit_hexstring

    Optional gas limit as 0x-prefixed hexadecimal.

  • value_wei_hexstring

    Optional simulated native value in wei as hexadecimal.

  • gas_price_wei_hexstring

    Optional gas price in wei as hexadecimal.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Estimate Confirmation TimeETHERSCAN_ESTIMATE_CONFIRMATION_TIMEAcción

Estimate confirmation time in seconds for an optional exact gas price in wei.

Parámetros de entrada

  • chain_idstringObligatorio

    Exactly one supported positive decimal chain ID.

  • gas_price_weistring

    Optional gas price in wei as an exact decimal string.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Estimate Transaction GasETHERSCAN_ESTIMATE_TRANSACTION_GASAcción

Estimate gas required for a transaction-like call without submitting a transaction.

Parámetros de entrada

  • tostring

    Optional destination address.

  • datastring

    Optional method selector and encoded arguments as hexadecimal.

  • chain_idstringObligatorio

    Exactly one supported positive decimal chain ID.

  • gas_limit_hexstring

    Optional proposed gas limit as hexadecimal.

  • gas_price_weistring

    Optional gas price in wei as documented hexadecimal.

  • value_wei_hexstring

    Optional native value in wei as hexadecimal.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get Address Funding SourceETHERSCAN_GET_ADDRESS_FUNDING_SOURCEAcción

Get the first transaction and address that funded an externally owned account. Contract addresses are unsupported.

Parámetros de entrada

  • addressstringObligatorio

    Externally owned account whose first funding source to return; contracts are unsupported.

  • chain_idstringObligatorio

    Exactly one supported positive decimal chain ID.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get Address MetadataETHERSCAN_GET_ADDRESS_METADATAAcción

Get 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_idstringObligatorio

    Exactly one current Etherscan-supported positive decimal mainnet chain ID.

  • addressesstring[]Obligatorio

    One to 100 addresses whose Etherscan metadata to retrieve.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get Address Transaction CountETHERSCAN_GET_ADDRESS_TRANSACTION_COUNTAcción

Get the number of transactions sent from an address at an optional block tag, as hexadecimal.

Parámetros de entrada

  • addressstringObligatorio

    Address whose sent-transaction count to return.

  • chain_idstringObligatorio

    Exactly one supported positive decimal chain ID.

  • block_tagstring

    Optional named or hexadecimal block tag.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get API UsageETHERSCAN_GET_API_USAGEAcción

Get 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

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get Block by NumberETHERSCAN_GET_BLOCK_BY_NUMBERAcción

Get 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_idstringObligatorio

    Exactly one current Etherscan-supported chain ID as a positive decimal string.

  • block_tagstring

    Optional block to retrieve, either 'latest' or a 0x-prefixed hexadecimal block number. Etherscan documents no default.

  • include_full_transactionsbooleanObligatorio

    Whether to return full transaction objects. False returns only transaction hashes.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get Block CountdownETHERSCAN_GET_BLOCK_COUNTDOWNAcción

Estimate blocks and seconds remaining until a future block is mined.

Parámetros de entrada

  • chain_idstringObligatorio

    Exactly one supported positive decimal chain ID.

  • block_numberintegerObligatorio

    Future target block number.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get Block Number by TimestampETHERSCAN_GET_BLOCK_NUMBER_BY_TIMESTAMPAcción

Get 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

  • closeststringObligatorioenum

    Return the closest available block before or after the timestamp.

    beforeafter
  • chain_idstringObligatorio

    Exactly one current Etherscan-supported chain ID, as a string; comma-separated or multiple chain IDs are invalid.

  • timestampintegerObligatorio

    Nonnegative Unix timestamp in seconds.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get Block RewardsETHERSCAN_GET_BLOCK_REWARDSAcción

Get a block's miner reward, uncle inclusion reward, and included uncle records.

Parámetros de entrada

  • chain_idstringObligatorio

    Exactly one supported positive decimal chain ID.

  • block_numberintegerObligatorio

    Block number whose rewards to return.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get Block Transaction CountETHERSCAN_GET_BLOCK_TRANSACTION_COUNTAcción

Get a block's total JSON-RPC transaction count as hexadecimal, without transfer-type breakdowns.

Parámetros de entrada

  • chain_idstringObligatorio

    Exactly one supported positive decimal chain ID.

  • block_tagstring

    Optional block number as 0x-prefixed hexadecimal.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get Block Transaction CountsETHERSCAN_GET_BLOCK_TRANSACTION_COUNTSAcción

Get Ethereum mainnet normal, internal, ERC20, ERC721, and ERC1155 transaction counts for a decimal block number.

Parámetros de entrada

  • chain_idstringObligatorio

    Ethereum mainnet chain ID 1; this detailed count endpoint is Ethereum-only.

  • block_numberintegerObligatorio

    Decimal block number whose detailed counts to return.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get Contract ABIETHERSCAN_GET_CONTRACT_ABIAcción

Get 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

  • addressstringObligatorio

    Verified contract address whose ABI to return.

  • chain_idstringObligatorio

    Exactly one current Etherscan-supported chain ID, as a string. This operation is available on all supported chains.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get Contract BytecodeETHERSCAN_GET_CONTRACT_BYTECODEAcción

Get bytecode stored at an address for an optional named or hexadecimal block tag.

Parámetros de entrada

  • addressstringObligatorio

    Address whose stored bytecode to return.

  • chain_idstringObligatorio

    Exactly one supported positive decimal chain ID.

  • block_tagstring

    Optional latest, earliest, pending, or hexadecimal block tag.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get Contract CreationETHERSCAN_GET_CONTRACT_CREATIONAcción

Get 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_idstringObligatorio

    Exactly one current Etherscan-supported chain ID, as a string; comma-separated or multiple chain IDs are invalid.

  • contract_addressesstring[]Obligatorio

    One to five contract addresses whose creation metadata to return.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get Contract Execution StatusETHERSCAN_GET_CONTRACT_EXECUTION_STATUSAcción

Get 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_idstringObligatorio

    Exactly one current Etherscan-supported chain ID, as a string; comma-separated or multiple chain IDs are invalid.

  • transaction_hashstringObligatorio

    Transaction hash whose contract execution status to inspect.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get Contract Source CodeETHERSCAN_GET_CONTRACT_SOURCE_CODEAcción

Get 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

  • addressstringObligatorio

    Contract address whose source and verification metadata to return.

  • chain_idstringObligatorio

    Exactly one current Etherscan-supported chain ID, as a string. This operation is available on all supported chains.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get Contract StorageETHERSCAN_GET_CONTRACT_STORAGEAcción

Get the raw value at a contract storage position for an optional block tag.

Parámetros de entrada

  • addressstringObligatorio

    Contract address whose storage to read.

  • chain_idstringObligatorio

    Exactly one supported positive decimal chain ID.

  • block_tagstring

    Optional latest, earliest, pending, or hexadecimal block tag.

  • position_hexstringObligatorio

    Storage position as 0x-prefixed hexadecimal.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get Current Gas PriceETHERSCAN_GET_CURRENT_GAS_PRICEAcción

Get the canonical JSON-RPC current gas price in wei as hexadecimal; use Get Gas Oracle for recommendations.

Parámetros de entrada

  • chain_idstringObligatorio

    Exactly one supported positive decimal chain ID.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get ERC20 BalanceETHERSCAN_GET_ERC20_BALANCEAcción

Get 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

  • addressstringObligatorio

    Account address whose ERC20 token balance to return.

  • chain_idstringObligatorio

    Exactly one current Etherscan-supported chain ID, as a string.

  • block_tagstring

    Use latest for the current balance; this endpoint documents no other tag.

  • block_numberinteger

    Historical block number.

  • contract_addressstringObligatorio

    ERC20 token contract address.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get ERC20 Total SupplyETHERSCAN_GET_ERC20_TOTAL_SUPPLYAcción

Get 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_idstringObligatorio

    Exactly one current Etherscan-supported chain ID, as a string; comma-separated or multiple chain IDs are invalid.

  • block_numberinteger

    Historical block number. When omitted, return current supply; historical lookup requires Standard+ and a supported mainnet.

  • contract_addressstringObligatorio

    ERC20 token contract address.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get Ether SupplyETHERSCAN_GET_ETHER_SUPPLYAcción

Get 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

  • detailstringObligatorioenum

    Basic supply scalar or detailed supply components.

    basiccomponents
  • chain_idstringObligatorio

    Exactly one supported positive decimal chain ID.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get Gas OracleETHERSCAN_GET_GAS_ORACLEAcción

Get 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_idstringObligatorio

    Exactly 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

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get Latest Block NumberETHERSCAN_GET_LATEST_BLOCK_NUMBERAcción

Get the latest block number as an exact hexadecimal JSON-RPC quantity.

Parámetros de entrada

  • chain_idstringObligatorio

    Exactly one supported positive decimal chain ID.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get Latest Native PriceETHERSCAN_GET_LATEST_NATIVE_PRICEAcción

Get the latest native-token prices in BTC and USD with their Unix-second timestamps.

Parámetros de entrada

  • chain_idstringObligatorio

    Exactly one supported positive decimal chain ID.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get Native BalanceETHERSCAN_GET_NATIVE_BALANCEAcción

Get 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

  • addressstringObligatorio

    Account address whose native-token balance to return.

  • chain_idstringObligatorio

    Exactly one current Etherscan-supported chain ID, as a string; comma-separated or multiple chain IDs are invalid.

  • block_tagstring

    Use latest or a hexadecimal block number within the last 128 blocks; older historical balances require a different endpoint.

  • block_numberinteger

    Historical block number, including genesis block 0.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get Native BalancesETHERSCAN_GET_NATIVE_BALANCESAcción

Get 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_idstringObligatorio

    Exactly one current Etherscan-supported chain ID, as a string; comma-separated or multiple chain IDs are invalid.

  • addressesstring[]Obligatorio

    One to 20 account addresses whose native-token balances to return.

  • block_tagstring

    Use latest or a hexadecimal block number within the last 128 blocks.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get Node CountETHERSCAN_GET_NODE_COUNTAcción

Get 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

  • sortstringenum

    History order; invalid for current.

    ascdesc
  • periodstringObligatorioenum

    Current snapshot or historical series.

    currenthistory
  • chain_idstringObligatorio

    Exactly one supported positive decimal chain ID.

  • end_datestring

    History end date.

  • start_datestring

    History start date.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get Token Holder CountETHERSCAN_GET_TOKEN_HOLDER_COUNTAcción

Get the number of addresses currently holding an ERC20 token. This PRO Standard+ operation is available on supported mainnets only.

Parámetros de entrada

  • chain_idstringObligatorio

    Exactly one current Etherscan-supported positive decimal mainnet chain ID.

  • contract_addressstringObligatorio

    ERC20 token contract address.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get Token InfoETHERSCAN_GET_TOKEN_INFOAcción

Get 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_idstringObligatorio

    Exactly one current Etherscan-supported positive decimal mainnet chain ID.

  • contract_addressstringObligatorio

    ERC20, ERC721, or ERC1155 contract address.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get TransactionETHERSCAN_GET_TRANSACTIONAcción

Get one full JSON-RPC transaction by hash or by hexadecimal block number and transaction index.

Parámetros de entrada

  • lookupstringObligatorioenum

    Select lookup by transaction hash or by block and index.

    hashblock_index
  • chain_idstringObligatorio

    Exactly one supported positive decimal chain ID.

  • block_tagstring

    Optional hexadecimal block number for block-index lookup.

  • transaction_hashstring

    Transaction hash, required only for hash lookup.

  • transaction_index_hexstring

    Optional hexadecimal transaction index for block-index lookup.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get Transaction ReceiptETHERSCAN_GET_TRANSACTION_RECEIPTAcción

Get 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_idstringObligatorio

    Exactly one current Etherscan-supported chain ID as a positive decimal string; multiple or comma-separated chain IDs are invalid.

  • transaction_hashstringObligatorio

    Transaction hash whose full receipt to return.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get Transaction Receipt StatusETHERSCAN_GET_TRANSACTION_RECEIPT_STATUSAcción

Get 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_idstringObligatorio

    Exactly one current Etherscan-supported chain ID, as a string; comma-separated or multiple chain IDs are invalid.

  • transaction_hashstringObligatorio

    Transaction hash whose receipt status to return.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get Uncle BlockETHERSCAN_GET_UNCLE_BLOCKAcción

Get an uncle block by optional hexadecimal parent block number and uncle index.

Parámetros de entrada

  • chain_idstringObligatorio

    Exactly one supported positive decimal chain ID.

  • block_tagstring

    Optional parent block number as hexadecimal.

  • uncle_index_hexstring

    Optional uncle position as hexadecimal.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get Verification StatusETHERSCAN_GET_VERIFICATION_STATUSAcción

Check 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

  • guidstringObligatorio

    GUID returned by the matching verification submission endpoint.

  • chain_idstringObligatorio

    Exactly one current Etherscan-supported positive decimal chain ID.

  • verification_typestringObligatorioenum

    Verification submission type: source_code or proxy.

    source_codeproxy

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List Beacon WithdrawalsETHERSCAN_LIST_BEACON_WITHDRAWALSAcción

List one page of beacon-chain withdrawals, optionally filtered by recipient and inclusive block range.

Parámetros de entrada

  • pageinteger

    Provider page number, starting at 1.

  • sortstringenum

    Oldest-first or newest-first order.

    ascdesc
  • offsetinteger

    Records requested for this provider page.

  • addressstring

    Optional withdrawal recipient filter.

  • chain_idstringObligatorio

    Supported positive decimal chain ID.

  • end_blockinteger

    Last block to include.

  • start_blockinteger

    First block to include.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List Chain SizeETHERSCAN_LIST_CHAIN_SIZEAcción

List daily Ethereum node-chain size measurements for one client and sync mode over a date range.

Parámetros de entrada

  • sortstringenum

    Oldest-first or newest-first order.

    ascdesc
  • chain_idstringObligatorio

    Exactly one supported positive decimal chain ID.

  • end_datestringObligatorio

    Last UTC date in YYYY-MM-DD format.

  • sync_modestringObligatorioenum

    Node sync mode used for the measurement.

    defaultarchive
  • start_datestringObligatorio

    First UTC date in YYYY-MM-DD format.

  • client_typestringObligatorioenum

    Node client used for the measurement.

    gethparity

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List Daily Block Counts and RewardsETHERSCAN_LIST_DAILY_BLOCK_COUNTS_AND_REWARDSAcción

List daily mined-block counts and corresponding block rewards in ether over a UTC date range.

Parámetros de entrada

  • sortstringenum

    Oldest-first or newest-first order.

    ascdesc
  • chain_idstringObligatorio

    Exactly one supported positive decimal chain ID.

  • end_datestringObligatorio

    Last UTC date in YYYY-MM-DD format.

  • start_datestringObligatorio

    First UTC date in YYYY-MM-DD format.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List Daily Gas PricesETHERSCAN_LIST_DAILY_GAS_PRICESAcción

List daily minimum, average, and maximum gas prices in wei over a UTC date range.

Parámetros de entrada

  • sortstringenum

    Oldest-first or newest-first order.

    ascdesc
  • chain_idstringObligatorio

    Exactly one supported positive decimal chain ID.

  • end_datestringObligatorio

    Last UTC date in YYYY-MM-DD format.

  • start_datestringObligatorio

    First UTC date in YYYY-MM-DD format.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List Daily Network MetricsETHERSCAN_LIST_DAILY_NETWORK_METRICSAcción

List 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

  • sortstringenum

    Oldest-first or newest-first order.

    ascdesc
  • metricstringObligatorioenum

    Daily 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+1
  • chain_idstringObligatorio

    Exactly one supported positive decimal chain ID.

  • end_datestringObligatorio

    Last UTC date in YYYY-MM-DD format.

  • start_datestringObligatorio

    First UTC date in YYYY-MM-DD format.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List Daily Uncle Counts and RewardsETHERSCAN_LIST_DAILY_UNCLE_COUNTS_AND_REWARDSAcción

List daily uncle-block counts and uncle rewards in ether over a UTC date range.

Parámetros de entrada

  • sortstringenum

    Oldest-first or newest-first order.

    ascdesc
  • chain_idstringObligatorio

    Exactly one supported positive decimal chain ID.

  • end_datestringObligatorio

    Last UTC date in YYYY-MM-DD format.

  • start_datestringObligatorio

    First UTC date in YYYY-MM-DD format.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List ERC721 InventoryETHERSCAN_LIST_ERC721_INVENTORYAcción

List 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

  • pageinteger

    Provider page number, starting at 1.

  • offsetinteger

    Records requested for this provider page.

  • addressstringObligatorio

    Owner address whose NFT inventory to list.

  • chain_idstringObligatorio

    Exactly one supported positive decimal chain ID.

  • contract_addressstringObligatorio

    ERC721 collection contract address.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List Event LogsETHERSCAN_LIST_EVENT_LOGSAcción

List 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

  • pageinteger

    Provider page number to return, starting at 1.

  • offsetinteger

    Logs requested for this provider page. The official documentation does not establish a maximum.

  • addressstring

    Emitting contract address. If omitted, at least one topic is required.

  • topic_0string

    Topic at index 0, commonly the event-signature hash.

  • topic_1string

    Topic at index 1.

  • topic_2string

    Topic at index 2. Supported only when address is omitted.

  • topic_3string

    Topic at index 3. Supported only when address is omitted.

  • chain_idstringObligatorio

    Exactly one current Etherscan-supported chain ID as a decimal string.

  • to_blockintegerObligatorio

    Last block number in the inclusive range. Keep ranges narrow to reduce timeout risk.

  • from_blockintegerObligatorio

    First block number in the inclusive range. Keep ranges narrow to reduce timeout risk.

  • topic_0_1_operatorstringenum

    How topic_0 and topic_1 are combined; both topics are required.

    andor
  • topic_0_2_operatorstringenum

    How topic_0 and topic_2 are combined in topic-only mode; both topics are required.

    andor
  • topic_0_3_operatorstringenum

    How topic_0 and topic_3 are combined in topic-only mode; both topics are required.

    andor
  • topic_1_2_operatorstringenum

    How topic_1 and topic_2 are combined in topic-only mode; both topics are required.

    andor
  • topic_1_3_operatorstringenum

    How topic_1 and topic_3 are combined in topic-only mode; both topics are required.

    andor
  • topic_2_3_operatorstringenum

    How topic_2 and topic_3 are combined in topic-only mode; both topics are required.

    andor

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List Internal TransactionsETHERSCAN_LIST_INTERNAL_TRANSACTIONSAcción

List 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

  • pageinteger

    Provider page number, starting at 1, for address or block-range mode. Do not provide this in transaction-hash mode.

  • sortstringenum

    Block order for address or block-range mode. Do not provide this in transaction-hash mode.

    ascdesc
  • offsetinteger

    Records requested for this page in address or block-range mode. Etherscan documents no maximum. Do not provide this in transaction-hash mode.

  • addressstring

    Address whose internal transactions to list. Omit for transaction-hash or block-range-only mode.

  • chain_idstringObligatorio

    Exactly one current Etherscan-supported chain ID as a decimal string. Block-range-only mode requires a mainnet.

  • end_blockinteger

    Last block to include. With no address or transaction_hash, both block bounds are required and select Standard+ mainnet-only block-range mode.

  • start_blockinteger

    First block to include. With no address or transaction_hash, both block bounds are required and select Standard+ mainnet-only block-range mode.

  • transaction_hashstring

    Transaction hash whose non-zero-value internal transactions to list. When set, omit every other selector, block bound, and pagination option.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List L2 Bridge TransactionsETHERSCAN_LIST_L2_BRIDGE_TRANSACTIONSAcción

List one page of canonical L2 deposits from Ethereum or withdrawals to Ethereum for an address on a supported L2.

Parámetros de entrada

  • pageinteger

    Provider page number, starting at 1.

  • sortstringenum

    Oldest-first or newest-first order.

    ascdesc
  • offsetinteger

    Records requested for this provider page.

  • addressstringObligatorio

    Address whose bridge transactions to list.

  • chain_idstringObligatorio

    Supported positive decimal L2 chain ID.

  • directionstringObligatorioenum

    Bridge direction relative to Ethereum.

    depositwithdrawal

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List Normal TransactionsETHERSCAN_LIST_NORMAL_TRANSACTIONSAcción

List 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

  • pageinteger

    Provider page number to return, starting at 1.

  • sortstringenum

    Sort by block order ascending or descending.

    ascdesc
  • offsetinteger

    Records requested for this page. The official documentation does not establish a maximum.

  • addressstringObligatorio

    Account address whose normal transactions to list.

  • chain_idstringObligatorio

    Exactly one current Etherscan-supported chain ID, as a string.

  • end_blockinteger

    Last block number to include; narrow ranges reduce timeout risk.

  • start_blockinteger

    First block number to include; narrow ranges reduce timeout risk.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List Plasma DepositsETHERSCAN_LIST_PLASMA_DEPOSITSAcción

List one page of Plasma deposit transactions on documented Polygon, Gnosis, or BitTorrent Chain networks, optionally filtered by recipient address.

Parámetros de entrada

  • pageinteger

    Provider page number, starting at 1.

  • offsetinteger

    Records requested for this provider page.

  • addressstring

    Optional recipient address filter.

  • chain_idstringObligatorioenum

    Supported Plasma chain ID; the official operation documents Polygon 137, Gnosis 100, and BitTorrent Chain 199.

    137100199

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List Supported ChainsETHERSCAN_LIST_SUPPORTED_CHAINSAcción

List 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

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List Token HoldersETHERSCAN_LIST_TOKEN_HOLDERSAcción

List 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

  • pageinteger

    Provider page number; valid only for all ranking.

  • offsetinteger

    Records requested; top ranking permits at most 1000.

  • rankingstringObligatorioenum

    Use all for a paged holder list or top for top-ranked holders.

    alltop
  • chain_idstringObligatorio

    Exactly one current Etherscan-supported positive decimal mainnet chain ID.

  • contract_addressstringObligatorio

    ERC20 token contract address.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List Token HoldingsETHERSCAN_LIST_TOKEN_HOLDINGSAcción

List 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

  • pageinteger

    Provider page number, starting at 1.

  • offsetinteger

    Records requested for this provider page.

  • addressstringObligatorio

    Address whose holdings to list.

  • chain_idstringObligatorio

    Exactly one supported positive decimal chain ID.

  • token_standardstringObligatorioenum

    Holding type; selects ERC20 or ERC721 holdings.

    erc20erc721

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List Token TransfersETHERSCAN_LIST_TOKEN_TRANSFERSAcción

List 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

  • pageinteger

    Provider page number to return, starting at 1.

  • sortstringenum

    Sort transfers by block order ascending or descending.

    ascdesc
  • offsetinteger

    Records requested for this page. The official documentation does not establish a maximum.

  • addressstring

    Account address involved in transfers. At least one of address or contract_address is required.

  • chain_idstringObligatorio

    Exactly one current Etherscan-supported positive decimal chain ID.

  • end_blockinteger

    Last block number to include.

  • start_blockinteger

    First block number to include.

  • token_standardstringObligatorioenum

    Token standard whose transfers to list: erc20, erc721, or erc1155.

    erc20erc721erc1155
  • contract_addressstring

    Token contract address for the selected standard. At least one of address or contract_address is required.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List Validated BlocksETHERSCAN_LIST_VALIDATED_BLOCKSAcción

List one page of full blocks or pre-Merge uncle blocks validated by an address.

Parámetros de entrada

  • pageinteger

    Provider page number, starting at 1.

  • offsetinteger

    Records requested for this provider page.

  • chain_idstringObligatorio

    Exactly one supported positive decimal chain ID.

  • block_typestringenum

    Full blocks or pre-Merge uncle blocks.

    blocksuncles
  • validator_addressstringObligatorio

    Validator or miner address whose blocks to list.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Resolve ENS NameETHERSCAN_RESOLVE_ENS_NAMEAcción

Resolve 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

  • namestringObligatorio

    ENS name or onchain subdomain to resolve.

  • chain_idstringObligatorio

    Ethereum mainnet chain ID 1.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not