get_abi: Return the ABI of a contract

Description Usage Arguments Details Value Warning See Also

View source: R/get_abi.R

Description

Check whether a contract has been verified by Etherscan.

Usage

1
get_abi(address, api_key)

Arguments

address

Character. A single ethereum contract address as a character string (40 hexadecimal characters prepended by '0x').

api_key

An Etherscan API key (see Details).

Details

get_abi uses the Etherscan API. Register for an API key at the Etherscan Developer APIs page.

Value

An abi object (inherits json) giving the ABI of the contract.

Warning

As per the Etherscan documentation, the Etherscan Ethereum Developer APIs are provided as a community service and without warranty, so please just use what you need and no more. They support both GET/POST requests and a rate limit of 5 requests/sec.

See Also

parse_abi()


dapped/eth documentation built on Oct. 23, 2021, 4:42 a.m.