🔗HTTP
Solana nodes accept HTTP requests using the JSON-RPC 2.0 specification.
Info
Request Formatting
Field
Type
curl http://srpc.solapi.pro/?api_key=<api-key> -s -X POST -H "Content-Type: application/json" -d '
{
"jsonrpc": "2.0",
"id": 1,
"method": "getBalance",
"params": [
"83astBRguLMdt2h5U1Tpdq5tjFoJ6noeGwaY3mDLVcri"
]
}
'Response Format
Field
Type
Description
Batch Requests
Definitions
Last updated