solana_get_slot: solana_get_slot

View source: R/solana.R

solana_get_slotR Documentation

solana_get_slot

Description

solana_get_slot

Usage

solana_get_slot(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 slot that has reached the given or default commitment level.

Examples


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

cryptotrackr documentation built on June 22, 2024, 10:39 a.m.