get_events: Get event logs

Description Usage Arguments Warning

View source: R/get_events.R

Description

Get event logs for a given contract address and topic

Usage

1
get_events(address, topic0, fromBlock, toBlock, api_key)

Arguments

address

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

topic0

Character. The topic0 keccak256 hash.

fromBlock

Numeric. The minimum block number of interest.

toBlock

Numeric. The maximum block number of interest. Also accepts 'latest'.

api_key

An Etherscan API key (see Details).

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.


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