Multicall
This contract is designed to aggregate multiple calls into a single call, which can be useful for reducing the number of separate Ethereum calls a client needs to make. It also provides several helper
Aggregate
This function takes an array of Call
structs, each containing a target address and call data, and executes each call. It returns the block number at the time of execution and an array of bytes arrays containing the return data from each call.
Example Input:
Example Output:
Get Eth Balance
This function returns the Ether balance of a given address.
Example Input:
Example Output:
Get Block Hash
This function returns the block hash of a given block number.
Example Input:
Example Output:
Get Last Block Hash
This function returns the block hash of the last block.
Example Input:
Example Output:
Get Current Block Timestamp
This function returns the timestamp of the current block.
Example Input:
Example Output:
Get Current Block Gas Limit
This function returns the gas limit of the current block.
Example Input:
Example Output:
Get Current Block Coinbase
This function returns the coinbase (miner's address) of the current block.
Example Input:
Example Output:
Last updated