Skip to main content
POST
/
getMultipleAccounts
curl --request POST \
  --url https://rpc-mainnet.solanatracker.io/ \
  --header 'Content-Type: application/json' \
  --data '{
  "jsonrpc": "2.0",
  "id": "db16f277-1a22-41ff-9f85-f37e2cd77900",
  "method": "getMultipleAccounts",
  "params": [
    [
      "vines1vzrYbzLMRdu58ou5XTby4qAqVRLmqo36NKPTg",
      "4fYNw3dojWmQ4dXtSGE9epjRGy9pFSx62YypT7avPYvA"
    ]
  ]
}'
{
  "jsonrpc": "2.0",
  "id": "db16f277-1a22-41ff-9f85-f37e2cd77900",
  "result": {
    "context": {
      "apiVersion": "2.0.15",
      "slot": 341197247
    },
    "value": [
      null
    ]
  }
}

Authorizations

api-key
string
query
required

Body

application/json
jsonrpc
enum<string>
default:2.0
required

The JSON-RPC protocol version.

Available options:
2.0
Example:

"2.0"

id
string
default:1
required

A unique identifier for the request.

Example:

"1"

method
enum<string>
default:getMultipleAccounts
required

The name of the RPC method to invoke.

Available options:
getMultipleAccounts
Example:

"getMultipleAccounts"

params
array
required

Parameters for the method.

Response

Successfully retrieved the account details.

jsonrpc
enum<string>

The JSON-RPC protocol version.

Available options:
2.0
Example:

"2.0"

id
string

Identifier matching the request.

Example:

"1"

result
object

Accounts information with context.

⌘I