getMultipleAccounts RPC Method

Returns account state and metadata for multiple addresses, in request order.

$ curl https://api.devnet.solana.com -s -X \
> POST -H "Content-Type: application/json" -d '
> {
> "jsonrpc": "2.0",
> "id": 1,
> "method": "getMultipleAccounts",
> "params": [
> [
> "vines1vzrYbzLMRdu58ou5XTby4qAqVRLmqo36NKPTg",
> "4fYNw3dojWmQ4dXtSGE9epjRGy9pFSx62YypT7avPYvA"
> ],
> {
> "encoding": "base64",
> "commitment": "finalized"
> }
> ]
> }
> '

params

arrayrequired

An array of Pubkeys to query, as base-58 encoded strings (up to a maximum of 100)

objectoptional

Configuration object containing the following fields:

result

Response
{
"jsonrpc": "2.0",
"result": {
"context": { "apiVersion": "3.1.8", "slot": 341197247 },
"value": [
{
"data": ["", "base64"],
"executable": false,
"lamports": 88849814690250,
"owner": "11111111111111111111111111111111",
"rentEpoch": 18446744073709551615,
"space": 0
},
{
"data": ["", "base64"],
"executable": false,
"lamports": 998763433,
"owner": "2WRuhE4GJFoE23DYzp2ij6ZnuQ8p9mJeU6gDgfsjR4or",
"rentEpoch": 18446744073709551615,
"space": 0
}
]
},
"id": 1
}
object

RpcResponse object containing:

Is this page helpful?

Managed by

© 2026 Solana Foundation.
All rights reserved.
Get connected