etherscan_contract_abi: etherscan_contract_abi

View source: R/etherscan.R

etherscan_contract_abiR Documentation

etherscan_contract_abi

Description

etherscan_contract_abi

Usage

etherscan_contract_abi(address, api_key, timeout_seconds = 60)

Arguments

address

the contract address for which you wish to retrieve the ABI.

api_key

your Etherscan API key

timeout_seconds

seconds until the query times out. Default is 60.

Value

returns the contract ABI for the specified address

Examples

## Not run: 
address <- "0xfb6916095ca1df60bb79ce92ce3ea74c37c5d359"
api_key <- "..."
abi <- etherscan_contract_abi(address, api_key)
## End(Not run)

cryptotrackr documentation built on June 22, 2024, 10:39 a.m.