Learn R Programming

cryptotrackr (version 1.3.3)

etherscan_contract_abi: etherscan_contract_abi

Description

etherscan_contract_abi

Usage

etherscan_contract_abi(address, api_key, timeout_seconds = 60)

Value

returns the contract ABI for the specified address

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.

Examples

Run this code
if (FALSE) {
address <- "0xfb6916095ca1df60bb79ce92ce3ea74c37c5d359"
api_key <- "..."
abi <- etherscan_contract_abi(address, api_key)}

Run the code above in your browser using DataLab