powered by
solana_get_block
solana_get_block(url, slot, timeout_seconds = 60)
Returns identity and transaction information about a confirmed block in the ledger.
the RPC url for your API call
slot number, as u64 integer
seconds until the query times out. Default is 60.
# \donttest{ url <- "https://api.devnet.solana.com" slot <- solana_get_slot(url) data <- solana_get_block(url, slot)# }
Run the code above in your browser using DataLab