swap_statistics: Get statistics on the swaps data for a given address or...

swap_statisticsR Documentation

Get statistics on the swaps data for a given address or addresses

Description

Get statistics on the swaps data for a given address or addresses

Usage

swap_statistics(swap_data, aggregate_addresses = TRUE)

Arguments

swap_data

The data on swaps as generated by the swaps() function

aggregate_addresses

If TRUE, aggregate the addresses passed in

Value

dataframe of statistics on the swaps for the given account owner

Examples


addresses <- c("0xb1b117a45aD71d408eb55475FC3A65454edCc94A",
"0x41D2a18E1DdACdAbFDdADB62e9AEE67c63070b76",
"0x0De20c4bDBE0d0EEFFd2956Be4c148CA86C6cC45")

swap_data <- swaps(addresses)
swap_statistics(swap_data)

uniswappeR documentation built on Aug. 18, 2023, 9:07 a.m.