Learn R Programming

cryptotrackr (version 1.3.3)

etherscan_gas_oracle: etherscan_gas_oracle

Description

etherscan_gas_oracle

Usage

etherscan_gas_oracle(api_key, timeout_seconds = 60)

Value

returns current safe, proposed and fast gas prices as determined by Etherscan.

Arguments

api_key

your Etherscan API key

timeout_seconds

seconds until the query times out. Default is 60.

Examples

Run this code
if (FALSE) {
api_key <- "..."
gas_oracle <- etherscan_gas_oracle(api_key)}

Run the code above in your browser using DataLab