solana_get_slot | R Documentation |
solana_get_slot
solana_get_slot(url, timeout_seconds = 60)
url |
the RPC url for your API call |
timeout_seconds |
seconds until the query times out. Default is 60. |
Returns the slot that has reached the given or default commitment level.
url <- "https://api.devnet.solana.com"
data <- solana_get_slot(url)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.