Description Usage Arguments Value Examples
View source: R/get_changes_in_holders.R
Get Changes In Token Holders Between Two Block Heights
1 2 3 4 5 6 7 8 | get_changes_in_holders(
token_contract,
api_key,
starting_block,
ending_block = "latest",
sleep = 1/10,
...
)
|
token_contract |
The token contract address. |
api_key |
The user's public API key. To generate it, you need an account at Covalent HQ. |
starting_block |
Starting block to define a block range. |
ending_block |
Ending block to define a block range. |
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 current/historical balances for the specified token contract of all holders.
1 2 3 4 5 6 7 8 9 | ## Not run:
contract <- "0x0954906da0Bf32d5479e25f46056d22f08464cab"
get_changes_in_holders(contract, MY_API_KEY, starting_block = "11500000")
get_changes_in_holders(contract, MY_API_KEY, starting_block = "11500000",
ending_block = "11550000")
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.