powered by
solana_api_call
solana_api_call(url, request_body, timeout_seconds = 60)
returns data from your Solana API call
the RPC url for your API call
the request body for your API call
seconds until the query times out. Default is 60.
# \donttest{ url <- "https://api.devnet.solana.com" request_body <- solana_assemble_request_body('"2.0"', 'null', '"getBlockHeight"', NULL) data <- solana_api_call(url, request_body)# }
Run the code above in your browser using DataLab