etherscan_contract_abi {cryptotrackr}R 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)

[Package cryptotrackr version 1.3.3 Index]