eth_getProof
curl --request POST \
--url https://arc-mainnet.core.chainstack.com/mt_c524ad9781ae5dccd9ac6f5b0370e/ \
--header 'Content-Type: application/json' \
--data '
{
"id": 1,
"jsonrpc": "2.0",
"method": "eth_getProof",
"params": [
"0x3600000000000000000000000000000000000000",
[],
"latest"
]
}
'import requests
url = "https://arc-mainnet.core.chainstack.com/mt_c524ad9781ae5dccd9ac6f5b0370e/"
payload = {
"id": 1,
"jsonrpc": "2.0",
"method": "eth_getProof",
"params": ["0x3600000000000000000000000000000000000000", [], "latest"]
}
headers = {"Content-Type": "application/json"}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({
id: 1,
jsonrpc: '2.0',
method: 'eth_getProof',
params: ['0x3600000000000000000000000000000000000000', [], 'latest']
})
};
fetch('https://arc-mainnet.core.chainstack.com/mt_c524ad9781ae5dccd9ac6f5b0370e/', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://arc-mainnet.core.chainstack.com/mt_c524ad9781ae5dccd9ac6f5b0370e/",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'id' => 1,
'jsonrpc' => '2.0',
'method' => 'eth_getProof',
'params' => [
'0x3600000000000000000000000000000000000000',
[
],
'latest'
]
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://arc-mainnet.core.chainstack.com/mt_c524ad9781ae5dccd9ac6f5b0370e/"
payload := strings.NewReader("{\n \"id\": 1,\n \"jsonrpc\": \"2.0\",\n \"method\": \"eth_getProof\",\n \"params\": [\n \"0x3600000000000000000000000000000000000000\",\n [],\n \"latest\"\n ]\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://arc-mainnet.core.chainstack.com/mt_c524ad9781ae5dccd9ac6f5b0370e/")
.header("Content-Type", "application/json")
.body("{\n \"id\": 1,\n \"jsonrpc\": \"2.0\",\n \"method\": \"eth_getProof\",\n \"params\": [\n \"0x3600000000000000000000000000000000000000\",\n [],\n \"latest\"\n ]\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://arc-mainnet.core.chainstack.com/mt_c524ad9781ae5dccd9ac6f5b0370e/")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Content-Type"] = 'application/json'
request.body = "{\n \"id\": 1,\n \"jsonrpc\": \"2.0\",\n \"method\": \"eth_getProof\",\n \"params\": [\n \"0x3600000000000000000000000000000000000000\",\n [],\n \"latest\"\n ]\n}"
response = http.request(request)
puts response.read_body{
"jsonrpc": "2.0",
"id": 1,
"result": {
"address": "0x3600000000000000000000000000000000000000",
"balance": "0x0",
"codeHash": "0xc9987bd3af6b26a030951faa7eacc017b68343aeedf3ce5fe68f821c4b93939d",
"nonce": "0x1",
"storageHash": "0x6f5e5f703197679813696259e145fef982646515815f7e90a4b5edf483c035e1",
"accountProof": [
"0xf90211a0e652783355ba7e677eb2dda8883ba8abf089fae80b8bd7cb64138464a3777ba2a0e3b08f12abd23015105ed16e185d51fe6d0e6068a847122982f77166869e1b9da0a1d41f316e612df0209f631ccaf7ca5c5eda44c3b56c7413b6bf63b1445df278a0109ac3137173e8fe5b00677287a05abba0ac76f22d2dbe73ba4cd14b90644e78a0283fa167d6ee6fae15cfd0ccf7aadc2bb6dc94909ebe72cb363212f86c6dc826a0fb9a4144219d420f36f323019e5caa516165c5297a38fac10df8db7b4756c9dfa0699248a7c3e6b83872fb2644330275c459b1f6980bcf60738a61e8e939ebb47ca00074426e964cc223ba23995e937c60306273648dc582e7d25bb50c7c2e2e7b1ba0cd976b741ff35f6dd8391463548ec51c75a043d410e24c4c38780c551b564f8ba0f45634c74c941bb2b5c822f7e86d04ed37490ca913b2a9326a21d08b767a8a52a0aa55d3376c71b1d5839dc84f2a06cd28197edf683dc28e6d33770fb45069438ea06d5139ae4a46b9ab611130dc617bfbcc08a6e2401c4497c9ee2dc874457bdc9da01ec0df2183faa35ebaa904c1d8522eed5dedfd49daafbc3ca656dd1ad5c61ebda06747142e236b44662b34fe43e08a6d80f08327d4d16ce689f4837ec8877357a3a00a34d6b5233f6dfa810964ca1973e3abf1575d22f69a1f88a45edbe8d125a912a0b29a5b5ac6cf1ae13578137ad55137a22fe2f2dc337833f229fe4974aa969b2680",
"0xf90211a08cee121c2b3e065ce3ae61b7fae5a92a4ec0ce7a3bc6bab3d2f9de32a8d95121a092af7c72c361066bb1955ee84dd7f809572216b21f136f11001bb6650709f7e8a098ca45dbaad85c4a039fe655cbb32708b36a6048415752feaafa3d873ee37926a0e4d53b4e51c684f29f971f9254b691c3f258051b117df6ef3898a1c909667333a0a1561639aaa604bb5a3caae0f5067fa0fe0da2dbc10da299bb5509cab78c3d77a000695a6a3ba878e5d02b2736cb568437537591dedff6e9d01588fe000727da89a09725fe4beffc96786c918c8a1867fc4dfdb6912c29d95395b0de2e424c974e89a09dcbf61aebaf2a4d2c1509386d7c5de387e00b0d11a4112c4760030577476060a0c47423bb08c7f4c2041ef3e9d2a0cce7c92118481119ae370283ec027dc85327a0a94836456501c2e1d7bfefc9ac7fc0d3af477029d6517dc355d40fbdf64998c8a00bc96d0901004b42d5a9a1c8d888acfc3d14a07f363c171ae61185711e7389dfa0ca19c65ff8f33a2412a2c093f56c921cc96f43e81d923b1c5fd5b307451fd1bfa03c233a8b305aabc5dd899b02907f24fc063cfb6c8dd18826899b1e554734103ba0d327e384c29223d77132bcd94d3706c9413241c7fd320fdcba1b48f46dd2a055a09e41e27c703bbc3bcd19ee09908ea912dfbbcd3e8900ebaf395bc7d5f7608726a068b2017c781d0eea012a8cd185db29f101fa3c72f2ce2d2e53c7681826958e5680",
"0xf90211a063517067ec0936eec196bc2bd8d4527e9abcb039ca63eb2b47f9304e0194f959a07697c9c5b838743bd5f5392caebeac6bac3e7d75361622300d137f52e1ca88ffa0b58127bbcd30e0473a5ea77bdea2ca6781204c0ca6db461b43e2c59b14a836d0a0b4dd3b4cba473460497388f4eab8353d493a65a582a0551691e6e455099588d0a0c57bfe50ab04050899d82c6c6bb6845f2fb90f64b5046a1fef5e9e72f2f36daba0ae2c8e0d937070b8f4d64e84d64e8c30c3969b6b789b4e800b47946bbd2cd840a09a6c06dda9be8e167d94f26ac372dca5c634c16c5887b69001b8ebdea0148cefa0514d985661a541a7a348fa31e40a5101f6c451313b48f4b83c7152547538d2c6a07964d80cf5e2d73b0da3fd2994584ff9cf085307cc9bdb0a8113b59020204b0fa0810309b430daf13fecf39c7d90e817dcb72344430b805df1ee45ab0f802f7889a0bfe7bb5216071071eea90120bcf7822fce5d93747637474baa4deadefc94d7eea0854d39bef9378734e9cdeeb8b635d7924c91a1d910547f3fdb6240eb1ba152f6a0d555d4915b59852fda66b90646d085513a4e4d29c341d4fa118febb6665fb9a2a002ec19224c06d317b509c80165d1fa65949c423dddc0c34510e30551f3bf00e0a028fbc8274c6f8ad6778487d6fcfba8b73e92f587ec2afbfb78a8b8781d49d8e2a068b776e338bf46895d2a5a40ec98602f6d53e27672ac5f33687899d617047d9080",
"0xf90211a0c9c8f9f2d2a391f39b1f6f2d131dd73cf434f7bc6d6822d2dff3596c99a97c43a0ab0510468f2e179757286e3f7fa97af83fceac7589abcf4a1fce0ad8c030fc23a0d5b462ea5e87c6f162dcd996eaec4ec5257e503885ccb3ac019a49ea1177dee0a00522c755ada23e78449ee4eba01edb3b9a684494cdd57819eb4bb2ba489d60b5a0bf24f1746019b5767612404163b85770759aa7e423023ba62ab4a037c071a9b1a027cdef738a124a12bb2cd8ad7e3c1427785df470e7079b6b897da1b9b86061c9a0502991d66adc84553964d3b04df4eb5516c0ae6f8f2ea2004a4a45bb6cf2d91da070973a20a97e526dccaaaf7ce4bca545e9722abbc342db6d62b5401eda67750da033b013d2c76e9d2e3cdc07d6df5523ccad056bac6912efbc553d799edd10c40da0b7c8e55c982bd817a42a4c5e8bc8982e9f3cc9b4f6c77b9336d96f8bde0a6494a0c4ad876bda777bd714ff4418e7198a763d24e594af4a49f052e5b6ad8a004f4aa0826a6a88f0c7c36aa391d9a47c0eefb2ee2e57d430f97e0d43526ef45d5b40d1a009b15c2683b5e7fa808bf3cddc9af19241b3ac575ad0801f2c614750f55f090ba06782b75ce68e4b16a7eb0414d1aaea30009b6321fd09f8b89b796235d966b17ba0c684ea8a372cd5e15aa0d8adddfb9e1e7772b5e4da26221017f8c1a8f58801c4a002de102b58261f4a05cbae33d7020fe114adaf0f963c64d2b17a76eeac1e76d780",
"0xf901f1a01caaa41899c1ed3638133f5a4038b9e2967967311a03faeafc30db20a063d848a06c3d2f5cbfdec634443ac8440c6a57788b788e88efba56518d2b4ef19545255ba01bf68e1fcef90ddc5910a88f3b9a89470201ea9856bca346fcbed85e67ebbd2ba0eba698909fd861fd9e54a32f2e288457ed63d8ddf460ff1678614a87eb23a034a0f07883a13ef5f5ee687cc1689e76609d5dbb89bdde8d42ef6a870217214622b8a052649b6c876c4fdb1b164068c37976c387211e42a62a1d2e9c546ffd7d245f0680a0552d9595402d4b79dde500038b17de062c979d7e33586bcb581b8b2ddb0f7a4ca035aa36d677e0d02a98f69edadbd21d263d639f2f899e891038349f990ee8557ca0c4def3ccaa902b22773d2879f09220052fbfddfdd5d26b583b19347b043bec1ba0d314d9ef45dbb7d94d726b2bf7a842168fcef0030f0e4b237827e8864196cc29a0cd497b8bb427c44c4a0d5dcbda1d496f3a4ea81f42fd9492f2a27277750a112ca0bd2258bc841828c182088989f80fb52c47eb8c7211735d2f757827a7c84b3475a08111173bd2c18628693d0ca3914d32e18614fee2a2ae01efad9b7967e209f1bfa06e3c27c925ffd656ec7c9ce222da542617572f52512c7b85dc63e52cac361897a04c1581b06e1bb5748a5212f0e74d658e76ba95792384dccdb1c0a7baf96f70a680",
"0xf8f18080a0f5b7bdb613e93ce179fdb29c1629e019fc55a43f7d179a2d2dd5c645ae4b551d80a06b8999f4636dedb74f660c80ac8c9dc7cbd651e5e3cf30213242bf5f46e9d0e3a0b149f3047dc2d7e6867214e049374f3061ef440accc9bdde89e03c7122bef92aa0b2953cf668017c0f6bfc29f4bb11273d48e06977901dde76ec0f37016e0fb8f480a076f03ddd5b4364379d1c96cb74111ff6ab8d7c24a7fc6dadaff66dabf1b0297280a09077979729734c4e0ac4632cebb4c1f6bd74aa2c1836f6cfbe1f29f75517c120808080a0d043a69b7183dd7fbe697d1432c6741e5125b920243404ed4fb0ad156725d2148080",
"0xe21ca0b883af4f9c49f999377cfd5f009725b5a128ef686bfbf397fd3c692e798af440",
"0xf851808080808080808080a0e4fbfe7e3d0bd9358970b98191827c31d48abc6af01a90a5f65fad1c694e18df80808080a02931e041cbfb1a2d6e5225eb77538a9c64a5bd66f22f5055fcfa62b8fc9adc508080",
"0xf8669d20d406adc073c7af41f98ee55e2b04b3b44d971d6009f97e498f86ab8ab846f8440180a06f5e5f703197679813696259e145fef982646515815f7e90a4b5edf483c035e1a0c9987bd3af6b26a030951faa7eacc017b68343aeedf3ce5fe68f821c4b93939d"
],
"storageProof": []
}
}Arc node API
eth_getProof | Arc
Arc API method that returns the Merkle proof for an account and optionally some storage keys. Available on Arc via Chainstack.
POST
/
eth_getProof
curl --request POST \
--url https://arc-mainnet.core.chainstack.com/mt_c524ad9781ae5dccd9ac6f5b0370e/ \
--header 'Content-Type: application/json' \
--data '
{
"id": 1,
"jsonrpc": "2.0",
"method": "eth_getProof",
"params": [
"0x3600000000000000000000000000000000000000",
[],
"latest"
]
}
'import requests
url = "https://arc-mainnet.core.chainstack.com/mt_c524ad9781ae5dccd9ac6f5b0370e/"
payload = {
"id": 1,
"jsonrpc": "2.0",
"method": "eth_getProof",
"params": ["0x3600000000000000000000000000000000000000", [], "latest"]
}
headers = {"Content-Type": "application/json"}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({
id: 1,
jsonrpc: '2.0',
method: 'eth_getProof',
params: ['0x3600000000000000000000000000000000000000', [], 'latest']
})
};
fetch('https://arc-mainnet.core.chainstack.com/mt_c524ad9781ae5dccd9ac6f5b0370e/', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://arc-mainnet.core.chainstack.com/mt_c524ad9781ae5dccd9ac6f5b0370e/",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'id' => 1,
'jsonrpc' => '2.0',
'method' => 'eth_getProof',
'params' => [
'0x3600000000000000000000000000000000000000',
[
],
'latest'
]
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://arc-mainnet.core.chainstack.com/mt_c524ad9781ae5dccd9ac6f5b0370e/"
payload := strings.NewReader("{\n \"id\": 1,\n \"jsonrpc\": \"2.0\",\n \"method\": \"eth_getProof\",\n \"params\": [\n \"0x3600000000000000000000000000000000000000\",\n [],\n \"latest\"\n ]\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://arc-mainnet.core.chainstack.com/mt_c524ad9781ae5dccd9ac6f5b0370e/")
.header("Content-Type", "application/json")
.body("{\n \"id\": 1,\n \"jsonrpc\": \"2.0\",\n \"method\": \"eth_getProof\",\n \"params\": [\n \"0x3600000000000000000000000000000000000000\",\n [],\n \"latest\"\n ]\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://arc-mainnet.core.chainstack.com/mt_c524ad9781ae5dccd9ac6f5b0370e/")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Content-Type"] = 'application/json'
request.body = "{\n \"id\": 1,\n \"jsonrpc\": \"2.0\",\n \"method\": \"eth_getProof\",\n \"params\": [\n \"0x3600000000000000000000000000000000000000\",\n [],\n \"latest\"\n ]\n}"
response = http.request(request)
puts response.read_body{
"jsonrpc": "2.0",
"id": 1,
"result": {
"address": "0x3600000000000000000000000000000000000000",
"balance": "0x0",
"codeHash": "0xc9987bd3af6b26a030951faa7eacc017b68343aeedf3ce5fe68f821c4b93939d",
"nonce": "0x1",
"storageHash": "0x6f5e5f703197679813696259e145fef982646515815f7e90a4b5edf483c035e1",
"accountProof": [
"0xf90211a0e652783355ba7e677eb2dda8883ba8abf089fae80b8bd7cb64138464a3777ba2a0e3b08f12abd23015105ed16e185d51fe6d0e6068a847122982f77166869e1b9da0a1d41f316e612df0209f631ccaf7ca5c5eda44c3b56c7413b6bf63b1445df278a0109ac3137173e8fe5b00677287a05abba0ac76f22d2dbe73ba4cd14b90644e78a0283fa167d6ee6fae15cfd0ccf7aadc2bb6dc94909ebe72cb363212f86c6dc826a0fb9a4144219d420f36f323019e5caa516165c5297a38fac10df8db7b4756c9dfa0699248a7c3e6b83872fb2644330275c459b1f6980bcf60738a61e8e939ebb47ca00074426e964cc223ba23995e937c60306273648dc582e7d25bb50c7c2e2e7b1ba0cd976b741ff35f6dd8391463548ec51c75a043d410e24c4c38780c551b564f8ba0f45634c74c941bb2b5c822f7e86d04ed37490ca913b2a9326a21d08b767a8a52a0aa55d3376c71b1d5839dc84f2a06cd28197edf683dc28e6d33770fb45069438ea06d5139ae4a46b9ab611130dc617bfbcc08a6e2401c4497c9ee2dc874457bdc9da01ec0df2183faa35ebaa904c1d8522eed5dedfd49daafbc3ca656dd1ad5c61ebda06747142e236b44662b34fe43e08a6d80f08327d4d16ce689f4837ec8877357a3a00a34d6b5233f6dfa810964ca1973e3abf1575d22f69a1f88a45edbe8d125a912a0b29a5b5ac6cf1ae13578137ad55137a22fe2f2dc337833f229fe4974aa969b2680",
"0xf90211a08cee121c2b3e065ce3ae61b7fae5a92a4ec0ce7a3bc6bab3d2f9de32a8d95121a092af7c72c361066bb1955ee84dd7f809572216b21f136f11001bb6650709f7e8a098ca45dbaad85c4a039fe655cbb32708b36a6048415752feaafa3d873ee37926a0e4d53b4e51c684f29f971f9254b691c3f258051b117df6ef3898a1c909667333a0a1561639aaa604bb5a3caae0f5067fa0fe0da2dbc10da299bb5509cab78c3d77a000695a6a3ba878e5d02b2736cb568437537591dedff6e9d01588fe000727da89a09725fe4beffc96786c918c8a1867fc4dfdb6912c29d95395b0de2e424c974e89a09dcbf61aebaf2a4d2c1509386d7c5de387e00b0d11a4112c4760030577476060a0c47423bb08c7f4c2041ef3e9d2a0cce7c92118481119ae370283ec027dc85327a0a94836456501c2e1d7bfefc9ac7fc0d3af477029d6517dc355d40fbdf64998c8a00bc96d0901004b42d5a9a1c8d888acfc3d14a07f363c171ae61185711e7389dfa0ca19c65ff8f33a2412a2c093f56c921cc96f43e81d923b1c5fd5b307451fd1bfa03c233a8b305aabc5dd899b02907f24fc063cfb6c8dd18826899b1e554734103ba0d327e384c29223d77132bcd94d3706c9413241c7fd320fdcba1b48f46dd2a055a09e41e27c703bbc3bcd19ee09908ea912dfbbcd3e8900ebaf395bc7d5f7608726a068b2017c781d0eea012a8cd185db29f101fa3c72f2ce2d2e53c7681826958e5680",
"0xf90211a063517067ec0936eec196bc2bd8d4527e9abcb039ca63eb2b47f9304e0194f959a07697c9c5b838743bd5f5392caebeac6bac3e7d75361622300d137f52e1ca88ffa0b58127bbcd30e0473a5ea77bdea2ca6781204c0ca6db461b43e2c59b14a836d0a0b4dd3b4cba473460497388f4eab8353d493a65a582a0551691e6e455099588d0a0c57bfe50ab04050899d82c6c6bb6845f2fb90f64b5046a1fef5e9e72f2f36daba0ae2c8e0d937070b8f4d64e84d64e8c30c3969b6b789b4e800b47946bbd2cd840a09a6c06dda9be8e167d94f26ac372dca5c634c16c5887b69001b8ebdea0148cefa0514d985661a541a7a348fa31e40a5101f6c451313b48f4b83c7152547538d2c6a07964d80cf5e2d73b0da3fd2994584ff9cf085307cc9bdb0a8113b59020204b0fa0810309b430daf13fecf39c7d90e817dcb72344430b805df1ee45ab0f802f7889a0bfe7bb5216071071eea90120bcf7822fce5d93747637474baa4deadefc94d7eea0854d39bef9378734e9cdeeb8b635d7924c91a1d910547f3fdb6240eb1ba152f6a0d555d4915b59852fda66b90646d085513a4e4d29c341d4fa118febb6665fb9a2a002ec19224c06d317b509c80165d1fa65949c423dddc0c34510e30551f3bf00e0a028fbc8274c6f8ad6778487d6fcfba8b73e92f587ec2afbfb78a8b8781d49d8e2a068b776e338bf46895d2a5a40ec98602f6d53e27672ac5f33687899d617047d9080",
"0xf90211a0c9c8f9f2d2a391f39b1f6f2d131dd73cf434f7bc6d6822d2dff3596c99a97c43a0ab0510468f2e179757286e3f7fa97af83fceac7589abcf4a1fce0ad8c030fc23a0d5b462ea5e87c6f162dcd996eaec4ec5257e503885ccb3ac019a49ea1177dee0a00522c755ada23e78449ee4eba01edb3b9a684494cdd57819eb4bb2ba489d60b5a0bf24f1746019b5767612404163b85770759aa7e423023ba62ab4a037c071a9b1a027cdef738a124a12bb2cd8ad7e3c1427785df470e7079b6b897da1b9b86061c9a0502991d66adc84553964d3b04df4eb5516c0ae6f8f2ea2004a4a45bb6cf2d91da070973a20a97e526dccaaaf7ce4bca545e9722abbc342db6d62b5401eda67750da033b013d2c76e9d2e3cdc07d6df5523ccad056bac6912efbc553d799edd10c40da0b7c8e55c982bd817a42a4c5e8bc8982e9f3cc9b4f6c77b9336d96f8bde0a6494a0c4ad876bda777bd714ff4418e7198a763d24e594af4a49f052e5b6ad8a004f4aa0826a6a88f0c7c36aa391d9a47c0eefb2ee2e57d430f97e0d43526ef45d5b40d1a009b15c2683b5e7fa808bf3cddc9af19241b3ac575ad0801f2c614750f55f090ba06782b75ce68e4b16a7eb0414d1aaea30009b6321fd09f8b89b796235d966b17ba0c684ea8a372cd5e15aa0d8adddfb9e1e7772b5e4da26221017f8c1a8f58801c4a002de102b58261f4a05cbae33d7020fe114adaf0f963c64d2b17a76eeac1e76d780",
"0xf901f1a01caaa41899c1ed3638133f5a4038b9e2967967311a03faeafc30db20a063d848a06c3d2f5cbfdec634443ac8440c6a57788b788e88efba56518d2b4ef19545255ba01bf68e1fcef90ddc5910a88f3b9a89470201ea9856bca346fcbed85e67ebbd2ba0eba698909fd861fd9e54a32f2e288457ed63d8ddf460ff1678614a87eb23a034a0f07883a13ef5f5ee687cc1689e76609d5dbb89bdde8d42ef6a870217214622b8a052649b6c876c4fdb1b164068c37976c387211e42a62a1d2e9c546ffd7d245f0680a0552d9595402d4b79dde500038b17de062c979d7e33586bcb581b8b2ddb0f7a4ca035aa36d677e0d02a98f69edadbd21d263d639f2f899e891038349f990ee8557ca0c4def3ccaa902b22773d2879f09220052fbfddfdd5d26b583b19347b043bec1ba0d314d9ef45dbb7d94d726b2bf7a842168fcef0030f0e4b237827e8864196cc29a0cd497b8bb427c44c4a0d5dcbda1d496f3a4ea81f42fd9492f2a27277750a112ca0bd2258bc841828c182088989f80fb52c47eb8c7211735d2f757827a7c84b3475a08111173bd2c18628693d0ca3914d32e18614fee2a2ae01efad9b7967e209f1bfa06e3c27c925ffd656ec7c9ce222da542617572f52512c7b85dc63e52cac361897a04c1581b06e1bb5748a5212f0e74d658e76ba95792384dccdb1c0a7baf96f70a680",
"0xf8f18080a0f5b7bdb613e93ce179fdb29c1629e019fc55a43f7d179a2d2dd5c645ae4b551d80a06b8999f4636dedb74f660c80ac8c9dc7cbd651e5e3cf30213242bf5f46e9d0e3a0b149f3047dc2d7e6867214e049374f3061ef440accc9bdde89e03c7122bef92aa0b2953cf668017c0f6bfc29f4bb11273d48e06977901dde76ec0f37016e0fb8f480a076f03ddd5b4364379d1c96cb74111ff6ab8d7c24a7fc6dadaff66dabf1b0297280a09077979729734c4e0ac4632cebb4c1f6bd74aa2c1836f6cfbe1f29f75517c120808080a0d043a69b7183dd7fbe697d1432c6741e5125b920243404ed4fb0ad156725d2148080",
"0xe21ca0b883af4f9c49f999377cfd5f009725b5a128ef686bfbf397fd3c692e798af440",
"0xf851808080808080808080a0e4fbfe7e3d0bd9358970b98191827c31d48abc6af01a90a5f65fad1c694e18df80808080a02931e041cbfb1a2d6e5225eb77538a9c64a5bd66f22f5055fcfa62b8fc9adc508080",
"0xf8669d20d406adc073c7af41f98ee55e2b04b3b44d971d6009f97e498f86ab8ab846f8440180a06f5e5f703197679813696259e145fef982646515815f7e90a4b5edf483c035e1a0c9987bd3af6b26a030951faa7eacc017b68343aeedf3ce5fe68f821c4b93939d"
],
"storageProof": []
}
}Arc API method that returns the Merkle proof for an account and optionally some storage keys. This is useful for verifying account state without trusting the node.
On Global Nodes, this method returns a proof for the latest block only. A block number behind the tip returns
-32602 distance to target block exceeds maximum proof window. See EVM eth_getProof history limits.Get your own node endpoint todayStart for free and get your app to production levels immediately. No credit card required.You can sign up with your GitHub, X, Google, or Microsoft account.
Parameters
address— the address to get the proof forstorageKeys— array of storage positions to prove (hex strings)blockParameter— the block number (hex) or tag (latest,earliest,pending)
Response
result— the proof object:address— the account addressaccountProof— array of RLP-encoded Merkle Patricia trie nodes from state root to accountbalance— the account balancecodeHash— the hash of the account codenonce— the account noncestorageHash— the hash of the storage trie rootstorageProof— array of storage proofs, one per requested key:key— the storage keyvalue— the storage valueproof— array of RLP-encoded trie nodes from storage root to value
eth_getProof code examples
const ethers = require('ethers');
const NODE_URL = "CHAINSTACK_NODE_URL";
const provider = new ethers.JsonRpcProvider(NODE_URL);
// USDC token address
const USDC = "0x3600000000000000000000000000000000000000";
const getProof = async () => {
// Get proof for storage slot 0 (often totalSupply)
const proof = await provider.send("eth_getProof", [
USDC,
["0x0", "0x1"],
"latest"
]);
console.log(`Account: ${proof.address}`);
console.log(`Balance: ${proof.balance}`);
console.log(`Nonce: ${parseInt(proof.nonce, 16)}`);
console.log(`Code Hash: ${proof.codeHash}`);
console.log(`Storage Hash: ${proof.storageHash}`);
console.log(`\nAccount Proof nodes: ${proof.accountProof.length}`);
for (const sp of proof.storageProof) {
console.log(`\nStorage Key: ${sp.key}`);
console.log(` Value: ${sp.value}`);
console.log(` Proof nodes: ${sp.proof.length}`);
}
};
getProof();
from web3 import Web3
node_url = "CHAINSTACK_NODE_URL"
web3 = Web3(Web3.HTTPProvider(node_url))
# USDC token address
USDC = "0x3600000000000000000000000000000000000000"
result = web3.provider.make_request("eth_getProof", [
USDC,
["0x0", "0x1"],
"latest"
])
proof = result['result']
print(f"Account: {proof['address']}")
print(f"Balance: {proof['balance']}")
print(f"Nonce: {int(proof['nonce'], 16)}")
print(f"Code Hash: {proof['codeHash']}")
print(f"Storage Hash: {proof['storageHash']}")
print(f"\nAccount Proof nodes: {len(proof['accountProof'])}")
for sp in proof['storageProof']:
print(f"\nStorage Key: {sp['key']}")
print(f" Value: {sp['value']}")
print(f" Proof nodes: {len(sp['proof'])}")
curl -X POST "CHAINSTACK_NODE_URL" \
-H "Content-Type: application/json" \
-d '{
"jsonrpc": "2.0",
"method": "eth_getProof",
"params": [
"0x3600000000000000000000000000000000000000",
["0x0", "0x1"],
"latest"
],
"id": 1
}'
Last modified on September 27, 2026
Was this page helpful?