powered by
solana_get_block_height
solana_get_block_height(url, timeout_seconds = 60)
Returns the current block height of the node
the RPC url for your API call
seconds until the query times out. Default is 60.
# \donttest{ url <- "https://api.devnet.solana.com" data <- solana_get_block_height(url)# }
Run the code above in your browser using DataLab