etherscan_gas_oracle: etherscan_gas_oracle

View source: R/etherscan.R

etherscan_gas_oracleR Documentation

etherscan_gas_oracle

Description

etherscan_gas_oracle

Usage

etherscan_gas_oracle(api_key, timeout_seconds = 60)

Arguments

api_key

your Etherscan API key

timeout_seconds

seconds until the query times out. Default is 60.

Value

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

Examples

## Not run: 
api_key <- "..."
gas_oracle <- etherscan_gas_oracle(api_key)
## End(Not run)

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