Returns the balance of a specific account, or several accounts when given
an array (uses the balancemulti action).
A single address, or an array of addresses
Returns the address that first funded a given address.
Account address
Get the list of L2 deposit transactions for an address.
Account address
Optionalstartblock: string | numberStart block
Optionalendblock: string | numberEnd block
Optionalpage: numberPage number
Optionaloffset: numberMax records to return
Optionalsort: stringSort asc/desc
Get a list of blocks that a specific account has mined.
Account address
Get the list of L2 withdrawal transactions for an address.
Account address
Optionalstartblock: string | numberStart block
Optionalendblock: string | numberEnd block
Optionalpage: numberPage number
Optionaloffset: numberMax records to return
Optionalsort: stringSort asc/desc
Get a list of "ERC1155 - Token Transfer Events" by address.
Account address
Optionalcontractaddress: stringERC1155 token contract address (omit for all tokens)
Optionalstartblock: string | numberStart block
Optionalendblock: string | numberEnd block
Optionalpage: numberPage number
Optionaloffset: numberMax records to return
Optionalsort: stringSort asc/desc
Returns the amount of Tokens a specific account owns.
Optionaladdress: stringAccount address
Optionaltokenname: stringName of the token
Optionalcontractaddress: stringToken contract address
Get a list of "ERC721 - Token Transfer Events" by address.
Account address
Optionalcontractaddress: stringERC721 token contract address (omit for all tokens)
Optionalstartblock: string | numberStart block
Optionalendblock: string | numberEnd block
Optionalpage: numberPage number
Optionaloffset: numberMax records to return
Optionalsort: stringSort asc/desc
Get a list of "ERC20 - Token Transfer Events" by address.
Account address
Optionalcontractaddress: stringERC20 token contract address (omit for all tokens)
Optionalstartblock: string | numberStart block
Optionalendblock: string | numberEnd block
Optionalpage: numberPage number
Optionaloffset: numberMax records to return
Optionalsort: stringSort asc/desc
Get a list of transactions for a specific address.
Account address
Optionalstartblock: string | numberStart block
Optionalendblock: string | numberEnd block
Optionalpage: numberPage number
Optionaloffset: numberMax records to return
Optionalsort: stringSort asc/desc
Get a list of internal transactions.
Optionaltxhash: stringTransaction hash. If specified then address is ignored
Optionaladdress: stringAccount address
Optionalstartblock: string | numberStart block
Optionalendblock: string | numberEnd block
Optionalsort: stringSort asc/desc
Get the beacon chain withdrawals made to an address.
Account address
Optionalstartblock: string | numberStart block
Optionalendblock: string | numberEnd block
Optionalpage: numberPage number
Optionaloffset: numberMax records to return
Optionalsort: stringSort asc/desc
Returns the estimated time remaining, in seconds, until a certain block is mined.
Target block number
Returns the block number that was mined at a certain timestamp.
Unix timestamp in seconds
Return the closest block 'before' (default) or 'after' the timestamp
Find the block reward for a given address and block.
Miner address
Optionalblockno: string | numberBlock number (defaults to 0)
Checks the status of a proxy-contract verification request.
The GUID returned by verifyproxycontract
Checks the status of a source-code verification request.
The GUID returned by verifysourcecode
Returns the ABI of a verified contract (JSON encoded as a string).
Contract address
Returns the creator address and creation transaction hash for one or more contracts (up to 5).
A single contract address or an array of up to 5
Returns the source code of a verified contract.
Contract address
Submits a proxy contract for verification (POST). Resolves with a GUID
(string) you can poll with checkproxyverification.
Proxy contract address
Optionalexpectedimplementation: string(optional) expected implementation address
Submits a contract's source code for verification (POST). Resolves with a
GUID (string) you can poll with checkverifystatus.
Verification fields (VerifySourceCodeParams)
Submits Stylus (Rust/WASM) source code for verification (POST). Resolves with a GUID.
Verification fields (VerifyParams)
Submits Vyper source code for verification (POST). Resolves with a GUID.
Verification fields (VerifyParams)
Submits zkSync-compiled source code for verification (POST). Resolves with a GUID.
Verification fields (VerifyParams); include compilerversion
Returns the estimated confirmation time, in seconds, for a transaction at the given gas price.
Gas price in wei
Returns the current Safe / Propose / Fast gas prices (in Gwei) along with the suggested base fee and recent gas-used ratio.
The Event Log API — an alternative to the native eth_getLogs. Only the
arguments you provide are sent.
Optionaladdress: stringAddress to filter logs by
OptionalfromBlock: string | numberFrom block
OptionaltoBlock: string | numberTo block
Optionaltopic0: stringTopic 0 (32 bytes)
Optionaltopic0_1_opr: stringand|or operator between topic0 & topic1
Optionaltopic1: stringTopic 1 (32 bytes)
Optionaltopic1_2_opr: stringand|or operator between topic1 & topic2
Optionaltopic2: stringTopic 2 (32 bytes)
Optionaltopic2_3_opr: stringand|or operator between topic2 & topic3
Optionaltopic3: stringTopic 3 (32 bytes)
Optionaltopic0_2_opr: stringand|or operator between topic0 & topic2
Optionalpage: numberPage number
Optionaloffset: numberMax records to return
Returns the number of the most recent block (hex).
Executes a new message call immediately without creating a transaction (hex).
Address to execute against
Hash of the method signature and encoded parameters
Block number tag
Estimates the gas needed for a transaction without adding it to the chain (hex).
Address to interact with
Value sent in the transaction
Gas price in wei
Gas provided
Returns the current price per gas in wei (hex).
Returns information about a block by block number.
Block number tag, e.g. '0x10d4f'
When true (default) returns full transaction objects, otherwise only hashes
Returns the number of transactions in a block matching the given block number (hex).
Block number tag
Returns code at a given address (hex).
Address to get code from
Block number tag
Returns the value from a storage position at a given address (hex).
Address to get storage from
Storage position
Block number tag
Returns information about a transaction by block number and index.
Block number tag
Transaction index position
Returns information about a transaction by hash.
Transaction hash
Returns the number of transactions sent from an address (hex).
Account address
Returns the receipt of a transaction by hash.
Transaction hash
Returns information about an uncle by block number and index.
Block number tag
Uncle index position
Submits a pre-signed transaction for broadcast. Resolves with the tx hash.
Serialized signed message
Returns the current ether price.
Returns the total supply of ether.
Returns the total supply of ether including Eth2 staking and burnt fees.
Returns the total number of discoverable nodes on the network.
Returns the supply of a token.
Optionaltokenname: string | nullName of the token
Optionalcontractaddress: stringToken contract address
Returns the contract-execution status of a transaction (was the tx itself an error).
Transaction hash
Returns the receipt status of a transaction (only for post-Byzantium blocks).
Transaction hash
Returns the list of chains supported by the Etherscan V2 API and their
chain ids. Hits the dedicated /v2/chainlist endpoint (no API key needed).
Returns the amount of API calls used and the daily limit for your API key.
(module getapilimit)
The namespaced Etherscan API returned by init.