Learn R Programming

cryptotrackr (version 1.3.3)

solana_get_genesis_hash: solana_get_genesis_hash

Description

solana_get_genesis_hash

Usage

solana_get_genesis_hash(url, timeout_seconds = 60)

Value

Returns the genesis hash

Arguments

url

the RPC url for your API call

timeout_seconds

seconds until the query times out. Default is 60.

Examples

Run this code
# \donttest{
url <- "https://api.devnet.solana.com"
data <- solana_get_genesis_hash(url)# }

Run the code above in your browser using DataLab