Description Usage Arguments Value Examples
Retrieves staking rewards for a specific account from https://subscan.io.
Note that by default staking rewards are aggregated by day. Usually, Kusama
pays out rewards up to four times per day. If you want to receive all
individual staking rewards, set by_day = FALSE
.
A more coarse aggregation (weekly, monthly) would result in a biased "Value" column as one would need to take the mean of the selected period whereas the reward payouts actually happened on a daily base with a specific coin rate,
1 2 3 4 5 6 7 8 9 10 11 12 |
address |
|
pp_security_name |
character |
currency |
character |
pp_lang |
character |
securities_account |
character |
dec |
character
|
sep |
character |
filename |
character |
api_key |
character |
by_day |
logical |
tibble::tibble (invisibly)
1 | parse_kusama("E4ZoURFwN9eHPxwwDaijY6zXnTvZ3AwFFQFsnSekRTW2sPQ", dec = ".")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.