solana_get_block_height {cryptotrackr}R Documentation

solana_get_block_height

Description

solana_get_block_height

Usage

solana_get_block_height(url, timeout_seconds = 60)

Arguments

url

the RPC url for your API call

timeout_seconds

seconds until the query times out. Default is 60.

Value

Returns the current block height of the node

Examples


url <- "https://api.devnet.solana.com"
data <- solana_get_block_height(url)

[Package cryptotrackr version 1.3.3 Index]