getMultipleAccounts

Returns the account information for a list of Pubkeys.

POST Category: account

Example Request

curl "https://eu.fluxrpc.com?key=<your-API-key>" -s -X POST -H "Content-Type: application/json" -d '
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "getMultipleAccounts",
  "params": [
    ["vines1vzrYbzLMRdu58ou5XTby4qAqVRLmqo36NKPTg", "4fYNw3dojWmQ4dXtSGE9epjRGy9pFSx62YypT7avPYvA"],
    { "encoding": "base58" }
  ]
}'

Example Response

{
  "jsonrpc": "2.0",
  "result": {
    "context": { "slot": 1 },
    "value": [
      { "data": ["", "base58"], "executable": false, "lamports": 1000000000, "owner": "11111111111111111111111111111111", "rentEpoch": 2, "space": 0 },
      { "data": ["", "base58"], "executable": false, "lamports": 5000000000, "owner": "11111111111111111111111111111111", "rentEpoch": 2, "space": 0 }
    ]
  },
  "id": 1
}

← Back to all methods