solana_assemble_request_body {cryptotrackr}R Documentation

solana_assemble_request_body

Description

solana_assemble_request_body

Usage

solana_assemble_request_body(jsonrpc, id, method, params)

Arguments

jsonrpc

the jsonrpc for your request body

id

the id for your request body

method

the method for your request body

params

the parameters for your request body

Value

Returns the request body for your solana API call

Examples


limit <- solana_assemble_key_pair('limit', NULL)
character_vector <- c(limit)
config_object <- solana_assemble_list(character_vector)
address <- "Vote111111111111111111111111111111111111111"
params <- paste('["', address, '", {', config_object, '}]', sep = '')
solana_assemble_request_body('"2.0"', 'null', '"getSignaturesForAddress"', params)

[Package cryptotrackr version 1.3.3 Index]