in_out: Summarize ETH flow for an address

Description Usage Arguments Value

View source: R/in_out.R

Description

Summarize inflow and outflow of ETH from an address.

Usage

1
2
3
4
5
6
7
8
9
in_out(
  address,
  api_key,
  startblock = 0,
  endblock = 999999999,
  startdate,
  enddate,
  get_names = FALSE
)

Arguments

address

Character. A single externally owned account (user Ethereum address).

api_key

An Etherscan API key (see Details).

startblock

Starting block for transaction query. Default is 0.

endblock

Ending block for transaction query. Default is 999999999.

startdate

Optional Date or POSIXct object defining the start date or datetime for the resulting list of transactions to be filtered to. If startdate is provided, startblock is ignored.If a Date object is provided, timezone is assumed to be UTC, and all transactions up to midnight of that date will be included in the filtered result. For POSIXct objects, timezone is taken from the object. Note that, startdate is applied as a filter after downloading transactions, and so settings a value that is later than the earliest transaction sent/received by the address does not speed up the download process.

enddate

Optional Date or POSIXct object defining the end date or datetime for the resulting list of transactions to be filtered to. Starting block for transaction query. If enddate is provided, endblock is ignored. If a Date object is provided, timezone is assumed to be UTC, and all transactions up to midnight of that date will be included in the filtered result. For POSIXct objects, timezone is taken from the object.

get_names

Logical. Get contract names for verified contracts?

Value

A summary of inflow and outflow of ETH from an address.


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