solana_assemble_request_body | R Documentation |
solana_assemble_request_body
solana_assemble_request_body(jsonrpc, id, method, params)
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 |
Returns the request body for your solana API call
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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.