@@ -48,9 +48,9 @@ get_current_trx_price(vs_currencies = c("usd", "eur", "btc"))
4848# > # A tibble: 3 x 3
4949# > trx_price vs_currency last_updated_at
5050# > <dbl> <chr> <dttm>
51- # > 1 0.0604 usd 2021-02-21 12:35:43
52- # > 2 0.0498 eur 2021-02-21 12:35:43
53- # > 3 0.00000105 btc 2021-02-21 12:35:43
51+ # > 1 0.0599 usd 2021-02-21 14:59:17
52+ # > 2 0.0494 eur 2021-02-21 14:59:17
53+ # > 3 0.00000104 btc 2021-02-21 14:59:17
5454
5555
5656# Querying the TRX market data for a historical period, and plotting the
@@ -90,25 +90,25 @@ get_block_info(latest = TRUE) %>%
9090 glimpse()
9191# > Rows: 1
9292# > Columns: 11
93- # > $ request_time <dttm> 2021-02-21 12:39:39
94- # > $ block_number <chr> "27841015 "
95- # > $ timestamp <dttm> 2021-02-21 12:38:33
96- # > $ hash <chr> "0000000001a8d1f7d93d7e4bc40889b1ae1fd328d1b671c8a4 ...
97- # > $ parent_hash <chr> "0000000001a8d1f69291287299ab41d7d18be0a1d72759b3ed ...
98- # > $ tx_trie_root <chr> "2q8j1sQad2sVwMpViH2b2m55tNvamXmLsDeX6p5prUfLxFigRE "
93+ # > $ request_time <dttm> 2021-02-21 14:59:57
94+ # > $ block_number <chr> "27843818 "
95+ # > $ timestamp <dttm> 2021-02-21 14:58:48
96+ # > $ hash <chr> "0000000001a8dcea5b6d9ae8a2d56f86403592338967699563 ...
97+ # > $ parent_hash <chr> "0000000001a8dce9a1f8df63b9eefb4fd65074842978bec4fc ...
98+ # > $ tx_trie_root <chr> "eLAJi7QAbEZ1qQtHj1EYSZjNJVEG17vVprQHBmMvGrdtqiy3X "
9999# > $ confirmed <lgl> TRUE
100- # > $ size <int> 32623
101- # > $ witness_address <chr> "TWvncFqyDfMcKfjsx4hvoWwhJfF5yKMZcU "
102- # > $ tx_count <int> 125
103- # > $ tx <list> [<tbl_df[125 x 4]>]
100+ # > $ size <int> 31862
101+ # > $ witness_address <chr> "TSNbzxac4WhxN91XvaUfPTKP2jNT18mP6T "
102+ # > $ tx_count <int> 131
103+ # > $ tx <list> [<tbl_df[131 x 4]>]
104104
105105
106106# Current balance of an account:
107107get_account_balance(" TQjaZ9FD473QBTdUzMLmSyoGB6Yz1CGpux" ) %> %
108108 glimpse()
109109# > Rows: 1
110110# > Columns: 10
111- # > $ request_time <dttm> 2021-02-21 12:39:41
111+ # > $ request_time <dttm> 2021-02-21 15:00:00
112112# > $ address <chr> "TQjaZ9FD473QBTdUzMLmSyoGB6Yz1CGpux"
113113# > $ name <chr> "SunTRXV3Pool"
114114# > $ total_tx <int> 69011
0 commit comments