Skip to main content

get_funcs_etherscan

Function get_funcs_etherscan 

Source
pub async fn get_funcs_etherscan(
    function_name: &str,
    contract: Address,
    chain: Chain,
    etherscan_api_key: &str,
    etherscan_api_url: Option<&str>,
) -> Result<Vec<Function>>
Expand description

Fetches the overloads of function_name from the contract’s Etherscan ABI. If the address is a proxy, fetches the ABI of the implementation contract.