get_transactions: Get Transactions

Description Usage Arguments Value Examples

View source: R/get_transactions.R

Description

Get Transactions

Usage

1
get_transactions(address, api_key, chain_id = "1", sleep = 1/10, ...)

Arguments

address

The wallet address.

api_key

The user's public API key. To generate it, you need an account at Covalent HQ.

chain_id

Chain ID of the Blockchain being queried. Supports "137" for Matic, defaults to "1" for Ethereum Mainnet.

sleep

Interval in seconds between requests.

...

Additional arguments to pass to the request. For more information on available parameters see Covalent HQ API.

Value

Returns all transactions for address including their decoded log events as a list on the log_events column.

Examples

1
2
3
4
5
6
7
## Not run: 
address <- "0x5a6d3b6bf795a3160dc7c139dee9f60ce0f00cae"

get_transactions(address, MY_API_KEY)
get_transactions(address, MY_API_KEY, "quote-currency" = "eth")

## End(Not run)

santiagogualchi/cvlnt documentation built on Jan. 22, 2021, 2:34 p.m.