Skip to content

Commit 78bf079

Browse files
committed
fixed a typo in README
1 parent bf49a2f commit 78bf079

File tree

2 files changed

+16
-16
lines changed

2 files changed

+16
-16
lines changed

README.Rmd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ A [CRAN](https://cran.r-project.org/) version of the package is planned for rele
3737

3838
## Examples
3939

40-
Detailed examples of how to `tronr` can be found in its [online documentation](https://next-game-solutions.github.io/tronr/). Provided below are just a few common queries:
40+
Detailed examples of how to use `tronr` can be found in its [online documentation](https://next-game-solutions.github.io/tronr/). Provided below are just a few common queries:
4141

4242
```{r example, message=FALSE, fig.align='center', fig.width=10, fig.height=4.5}
4343
library(tronr)

README.md

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ for release in the near future.
3535

3636
## Examples
3737

38-
Detailed examples of how to `tronr` can be found in its [online
38+
Detailed examples of how to use `tronr` can be found in its [online
3939
documentation](https://next-game-solutions.github.io/tronr/). Provided
4040
below are just a few common queries:
4141

@@ -49,9 +49,9 @@ get_current_trx_price(vs_currencies = c("usd", "eur", "btc"))
4949
#> # A tibble: 3 x 3
5050
#> trx_price vs_currency last_updated_at
5151
#> <dbl> <chr> <dttm>
52-
#> 1 0.0528 usd 2021-03-13 17:14:27
53-
#> 2 0.0441 eur 2021-03-13 17:14:27
54-
#> 3 0.000000882 btc 2021-03-13 17:14:27
52+
#> 1 0.0528 usd 2021-03-13 17:59:54
53+
#> 2 0.0442 eur 2021-03-13 17:59:54
54+
#> 3 0.000000878 btc 2021-03-13 17:59:54
5555

5656

5757
# Querying the TRX market data for a historical period, and plotting the
@@ -91,25 +91,25 @@ get_block_info(latest = TRUE) %>%
9191
glimpse()
9292
#> Rows: 1
9393
#> Columns: 11
94-
#> $ request_time <dttm> 2021-03-13 17:17:19
95-
#> $ block_number <chr> "28421375"
96-
#> $ timestamp <dttm> 2021-03-13 17:16:18
97-
#> $ hash <chr> "0000000001b1acff0d8ff96560926e753042e8c49eef01185b...
98-
#> $ parent_hash <chr> "0000000001b1acfe01bd715b8b90fd4732aee4c7dbcbebd9c5...
99-
#> $ tx_trie_root <chr> "2AN1jbwpFGxNGGS9qgC5Ebz6XJCpKDZuF3bmAJCo3kiBMYGUJH"
94+
#> $ request_time <dttm> 2021-03-13 18:01:15
95+
#> $ block_number <chr> "28422251"
96+
#> $ timestamp <dttm> 2021-03-13 18:00:12
97+
#> $ hash <chr> "0000000001b1b06b0067ae00c2249c456e05981625e66c79ca...
98+
#> $ parent_hash <chr> "0000000001b1b06aae97c44566163c63a574ee303aa748fa14...
99+
#> $ tx_trie_root <chr> "2aQ5ctMUxgFTbhcVRtBNMy5oqCr7hXDaiPFAxzJDN9YX1qDpw"
100100
#> $ confirmed <lgl> TRUE
101-
#> $ size <int> 25727
102-
#> $ witness_address <chr> "TJ2aDMgeipmoZRuUEru2ri8t7TGkxnm6qY"
103-
#> $ tx_count <int> 101
104-
#> $ tx <list> [<tbl_df[101 x 4]>]
101+
#> $ size <int> 34638
102+
#> $ witness_address <chr> "TTjacDH5PL8hpWirqU7HQQNZDyF723PuCg"
103+
#> $ tx_count <int> 138
104+
#> $ tx <list> [<tbl_df[138 x 4]>]
105105

106106

107107
# Current balance of an account:
108108
get_account_balance("TQjaZ9FD473QBTdUzMLmSyoGB6Yz1CGpux") %>%
109109
glimpse()
110110
#> Rows: 1
111111
#> Columns: 10
112-
#> $ request_time <dttm> 2021-03-13 17:17:22
112+
#> $ request_time <dttm> 2021-03-13 18:01:18
113113
#> $ address <chr> "TQjaZ9FD473QBTdUzMLmSyoGB6Yz1CGpux"
114114
#> $ name <chr> "SunTRXV3Pool"
115115
#> $ total_tx <int> 69064

0 commit comments

Comments
 (0)