Description Usage Arguments Value Examples
View source: R/get_erc20_transfers.R
Get ERC20 Token Transfers
1 | get_erc20_transfers(address, token_contract, api_key, sleep = 1/10, ...)
|
address |
The wallet address. |
token_contract |
The ERC20 token contract address to retrieve transfers of. |
api_key |
The user's public API key. To generate it, you need an account at Covalent HQ. |
sleep |
Interval in seconds between requests. |
... |
Additional arguments to pass to the request. For more information on available parameters see Covalent HQ API. |
Returns a data.frame with the transfers of the specified ERC20 token for the specified address.
1 2 3 4 5 6 7 8 9 | ## Not run:
address <- "0x669184d1fe949249857439232ee67d7adb25d0ae"
token_contract <- "0x0954906da0Bf32d5479e25f46056d22f08464cab"
get_erc20_transfers(address, token_contract, MY_API_KEY)
get_erc20_transfers(address, token_contract, MY_API_KEY,
"quote-currency" = "eth")
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.