curl --request POST \
--url 'https://rpc-mainnet.solanatracker.io/?api_key=' \
--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
]
}
}curl --request POST \
--url 'https://rpc-mainnet.solanatracker.io/?api_key=' \
--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
]
}
}The JSON-RPC protocol version.
2.0 "2.0"
A unique identifier for the request.
"1"
The name of the RPC method to invoke.
getMultipleAccounts "getMultipleAccounts"
Parameters for the method.
Array of Solana account addresses (up to 100) to fetch in a single optimized batch request.
[
"vines1vzrYbzLMRdu58ou5XTby4qAqVRLmqo36NKPTg",
"4fYNw3dojWmQ4dXtSGE9epjRGy9pFSx62YypT7avPYvA"
]Successfully retrieved the account details.
The JSON-RPC protocol version.
2.0 "2.0"
Identifier matching the request.
"1"
Accounts information with context.
Show child attributes
Array of account details.
Account details.
Show child attributes
Number of lamports assigned to the account.
88849814690250
Base-58 encoded Pubkey of the program the account is assigned to.
"11111111111111111111111111111111"
Account data as encoded binary or JSON format.
["", "base58"]Indicates if the account contains a program.
false
Epoch at which this account will next owe rent.
18446744073709552000
Data size of the account.
0
Was this page helpful?