curl --request POST \
--url https://ca.raze.sh/ \
--header 'Content-Type: application/json' \
--data '
{
"jsonrpc": "2.0",
"id": 1,
"method": "getMultipleAccounts",
"params": [
[
"11111111111111111111111111111111",
"So11111111111111111111111111111111111111112"
],
{
"encoding": "base64"
}
]
}
'{
"jsonrpc": "2.0",
"id": 1,
"result": {
"context": {
"slot": 418263050
},
"value": [
{
"data": [
"c29sYW5h...",
"base64"
],
"executable": false,
"lamports": 1,
"owner": "NativeLoader1111111111111111111111111111111",
"rentEpoch": 18446744073709552000,
"space": 14
},
{
"data": [
"",
"base64"
],
"executable": false,
"lamports": 1000000000,
"owner": "11111111111111111111111111111111",
"rentEpoch": 18446744073709552000,
"space": 0
}
]
}
}Returns an array of AccountInfo (or null) for each pubkey. Subject to the same encoding/dataSlice options as getAccountInfo.
curl --request POST \
--url https://ca.raze.sh/ \
--header 'Content-Type: application/json' \
--data '
{
"jsonrpc": "2.0",
"id": 1,
"method": "getMultipleAccounts",
"params": [
[
"11111111111111111111111111111111",
"So11111111111111111111111111111111111111112"
],
{
"encoding": "base64"
}
]
}
'{
"jsonrpc": "2.0",
"id": 1,
"result": {
"context": {
"slot": 418263050
},
"value": [
{
"data": [
"c29sYW5h...",
"base64"
],
"executable": false,
"lamports": 1,
"owner": "NativeLoader1111111111111111111111111111111",
"rentEpoch": 18446744073709552000,
"space": 14
},
{
"data": [
"",
"base64"
],
"executable": false,
"lamports": 1000000000,
"owner": "11111111111111111111111111111111",
"rentEpoch": 18446744073709552000,
"space": 0
}
]
}
}Documentation Index
Fetch the complete documentation index at: https://docs.raze.bot/llms.txt
Use this file to discover all available pages before exploring further.
2.0 "2.0"
getMultipleAccounts "getMultipleAccounts"
[addresses[], config?]
[
[
"11111111111111111111111111111111",
"So11111111111111111111111111111111111111112"
],
{ "encoding": "base64" }
]1