New Here? Claim Your 30% Discount on Your First Blockchain Node Access!

banner image
eth

Ethereum

ETH

POST

GET

chevron-right

Last updated on January 1, 1970

3 min read

Method eth_getProof Ethereum (ETH)
connect with JSON-RPC protocol

eth_getProof

info-circle-fill

Returns the account and storage values of the specified account,including the Merkle proof.The API allows IoT devices or mobile apps which are unable to run lightclients to verify responses from untrusted sources, by using a trustedblock hash.

Parameters

DATA - None

20-byte address of the account or contract.

ARRAY - None

Array of 32-byte storage keys to generate proofs for.

QUANTITY|TAG - None

Integer representing a block number or one of the string tags latest, earliest, or pending, as described in Block Parameter.

Request

curl --location --request POST 'https://eth.getblock.io/mainnet/' 
--header 'x-api-key: YOUR-API-KEY' 
--header 'Content-Type: application/json' 
--data-raw '{"jsonrpc": "2.0",
"method": "eth_getProof",
"params": ["0x0a8156e7ee392d885d10eaa86afd0e323afdcd95", ["0xc48fb64230a82f65a08e7280bd8745e7fea87bc7c206309dee32209fe9a985f7"], "latest"],
"id": "getblock.io"}'

Response

{
    "id": "getblock.io",
    "jsonrpc": "2.0",
    "result": {
        "accountProof": [
            "0xf90211a03cd8a04179478dbed3897f1fd3a97c208506aa43eac11d7e16cd0bbb73e4c551a00a7e4f5f5557c650f9e427f9fa60307ced0136823aa6027621491962f460a052a0d529d3a315d8f5b3b8c1fda5647a72d1dbc4a3716b2be0284c0a79c1744f3737a05a50c8b1a372107075f2569dc40b6903f3dcac01be7de0826f8ee856c3a76dd2a0d0e40c1a063fc19e8c923f59ad3ca2a9a55fe5d659eb0f870d40811cbebc7bb1a0797790b6e6d158976a7a7589d87af52f3492d4f5c968126eba2caa80a5c6f88aa09318533830fe1e684a3007da91ca68a9c3fa435f75facfeafa28ce31f1f13afaa05b61c883c3f7c538ef769cdada0d5661ccf021559afa5c997a6be5443c318ae5a0bbc583bdd6ac49c26852f4bb6242156e8ad3e30162ca3d107b83d1211d82b913a013436c0f712f034d69c9bea539c8dc413b896d4ff8292b55f123ea9092a0d9a4a060f25d5ddd95dce7d97ef4b7e052104e315ddab0bfc55fc03e9511e900889a2fa091f9c7e3e934fa94547a57d8ff9b1f844e18c2e14e115b5e8a30aee832c4db8fa0df47020fe6744e834cee46394758a71d6731680dbe09f81d146cb3d3f04a4d06a0ce6013067e79c76aa36f9c2f13e23081968537e0a2722e689f2fbf888e4408e3a07ee8b530cea7e8c7cc125135265d27037c44933df6a13ad9a58db4c4925245cda0d8ad4fe3d7d518be900eeeab7b3a59741afa8e84443df18248a40f97ae935d8180",
            "0xf90211a0a4968481fbd14ca908340ca0d0a0dbc848ba56e15e2745d7a37cd589c71c4afba0f6bee13d9389511238355e244929b02d3ffa2ea2d70269a1f35797613f97d990a0a20969fd0645c1faead8b1e51bc17479e187f24b505cadd67f8d28da386ae990a0a5a10b383f5126260d7e7d242756afe394028b89d4999d1b25d8a41d24d9d38ca0fd046eeb161ad11cc5a32d806e3140b2a5cb57221f4fba2d711034c342a02ce3a060e51aa0f2e068cb30a649800e630d3d8a32395efe7cb84792c9cc5fabf49880a046a323e08ca8b16b587bab8db09ecb72521b7bca3b01627fe0276354baf2c56aa01a1b02f268f24cdb0500cd1c3e3f370332cf7924ce0791eefdfd9bfc838c2f0ba068c82ffce008a63894a3e9a95a0d2a123a21c826ce7fa88eca0b3dc0392136d6a043b602e7c4e100061d015a0119c2c675543c3b12bf94ed470f4c0c6d019c575ca0e5a962aa8ee3bb6d0ce9b34cf34b759ac8ad2b7a65e09ede0f3efe0067bac92fa0646d02b5100e7462d7396c648a9ad07f9d5e90cb9ea1115fb0b13130106d53fda057b2d73286f87c0d21250fd1e1c9fb3665b8177a52c9fee46efd3cfaa4dd37d9a01af6cb3e8710b83786468a0343599c795d02b5d185aa67949a6ce7bee6af51b6a003147e818ec3c57cca4d8621573047b25b2ceccd8b7a0b3f91fe6d9a55631bbaa0e5f6db5ccdf540c42246889a2e84aef23bc66b9100e4aa843f11c3792180455480",
            "0xf90211a09cc8d27c921beddf004d2ea9a3564ae0b3323d09dc10aae398c5d8ff7fb703cda08714f4c6811e74b05e68349921ac3cc2ddc21380d22f2c69ca03700424999e6ea0c703079d00713620c16f62c9dbbd83c81585f38c5ac0ce2cfd37df7078da5ec7a05efdaf82292a207327474e89698767ee815ea49a873e5412b19806877a2f6e5da08c0003c1a07da96833e8663ae0fd25ddfb69a2dc8dc2e1c83209aee8811275f7a032e920d08bd88ec3d9afafe939397167acbc9af6a6635fcc2d9505e37878c9eba0ff62f0c685b5fa3e2be24844f2785d10b3ff70c97c92c12816f196c50cebd04fa07abc271af375a37d597df536f2d213202fb5e65e7644f47b92140ee4a9233cf1a07f87bb08c159e2ea9d6901a1565dffcc76c84eeb2a90380b205231ff4f1fbe84a0d2f107e5201289ed853fe9ae63f2131cb2a4ddd26871ddab997cb9c36667ee3aa0693e787621812de0a6f622ec55623ab330604d9925f0f9f052473a7217d82764a0311575afe6dcc540e98db576b4428f97b4816de0bd9677367914bb69c0b4094ba012a9690259eef6a68fb718406598a0c5cb15bbf5e48f3482e306ec4b3e4181fba0d4a62b5cfebfbc819ec6fbffa68ff31b743739c0b368acb1eb74c7227099b7fda090875e242864e85868f5b659a6cad298ccdd912ae38a83241f3407bd3d286395a0648d7bba03a82a0234f9086f85f0bfcd01210aaeac0cb45fd88f70e3010eb86b80",
            "0xf90211a02c6d9b233df5556ae59493cf7d1d57bd7227280dcb66609876744e94bd5c8aa9a075ebd25fc7e09c95d1df341c882fca0eaca0f12cf5e3dcc401bf89e3148bc207a0beab2f03b9d23d8fa158a602463206185f5fec4e5b7b3a12a551b5e852f91e65a0d842e2fada5d7f443da9593eee10b47a83de9bda36e25a2af2fa438f1c3c5525a012fcbbc7d297d31f5614fae255ed9e1782e22094a79cac22a6348b3ded64fc26a039514a5222717cd7e940bedf3f3ff36b06434efbbd6bdaf91d903a8da061c696a0033306c1b4943db993fd086f05ed9384edb469470dc0577219b5e953204c3ce9a0d165ad695f44322a7964c3f7fddecef8b61fe33a774ed6d4715875cd445bcbbda07745a1f1ac477cc273c7eb94d4112438669f60a5172fcc3e84beb5f82660fbd3a013ec98296c959cb7794e2e40e3ba357d31f76bd24c7481b545c899f616bf3ac0a08f6c628cb20ca2f1a86b87479cce82e9b4691a143bbc6681edc452e88184f04da0bd8296801d0a67ca91f42349d68d2df0b32484f78a6274cc73da3932b8ff77e4a0e3bd49af7bb1fbecf78ea78b1e13ecd7f3e3ccaa20c8d6f783fdf06092268de4a0a3919720a8b259a83147357ee6437346a1c8e29d7df82f20c9eecf3d3b88b8a7a07dd32fc56cc60274fdc0d43dabc009d182313f45f2694a6bc9d97c5f9dcfd1d7a0103dfccc73fc51c92590ab8885bc24860e0102efe20568cfb87f22440132b0f680",
            "0xf90211a078494b54c24a364d0dfdbb7ab1a24df72aaa707bc23acf36073d03f7bcbe340ba0e1ff0f62347ea9b1c401ae89120cfb62b37a701f07bb142dff2a798a34a9d555a033e4a074b8af79950e95513ad93cd5b721088e17c3d44513cfb81c3f3dc9ebdfa0730f8d949fb755930fa957ab8cf6ba073a1e3a676027ec88e38888fa76d827bda07a9ad74ed86231f0a6a85f7e7a548ba26a76afbcea27ceb21d1a5ecd4bc6bc1da0fa3c6c57e8debdd26d1aabb841c6c03408158c2f0f6e51f3010f58cff10cb852a04ea3c360628192c4e7c981d0e6301190103de581cf8d01770b73bf9559b205ada014bd05306f3a3b63f2120dea3b1e4b76638086187f773d47d67bfc5ee84bfab0a0731a8c8396fcc67db5fd00420c387da4f0ab289f9aecf5a585ecef22006dfd7fa0c8c20e5c209d580831f1f0dbd04adaa311477e321eb97b4ee4b3a9ed9e6d8a78a0d21e56ceedab25045a24af7a0faed25f2bfca7f5a8681b126a0b03a154c37256a0e54d18f3f09fd269750e25dd8d46485ddeada80915d52ab3a5691c4519f756d3a013865bddb81714df7a4923f2798ff9ee01504c517f0caf2045096caa59c9aad4a0d4a143f0dca73d72e57197b04747ff73d1d188dc9de39b36407f6f2de59293cca08d35b0fe293a24020d6ef4244cd22ac4d7c63b46decd7beff9d89bfe216e8afaa0f6f304d60ce1083e54c7d0b68392eb4ca07b180b11819c801a981d914364a59f80",
            "0xf90211a00ddd120e42ab56dffdfc91b5b6f04dc678927399aaf95e17c61a15351c3dff1ea09faf924e9f715ec1da992b1f95de02e4b57be3ef76eb37205199da5d25bf9390a0679368315ad01620edf30256f119ee5304983c3c483d4ef2078d92f7e0a50352a0f67af658e9948c8bf4a6d55205ed7efb14715af23342b9e1bcb4f9f621baf556a0af82f7842b20e0b5231bb720ab75421cc0c2a959cf173a40bb48ee39d94ea9e3a07e5927e0dc4e53b16f06ee71c24a623d067eebf80236ece7999333414612c138a01634bfa19c42da9fa050030eae6075f8601fa6561e400e1a66cd2f1866fb6b79a0260bf82785d7bae7287978ebe3abd9cd5e9fb82bbf33803f3bf9d226715bd537a019c9577ddd96b1ee4f1593862d363feaffa71f7141b78132255678f4828f1f5ca05dd1588b29ff0ffbe4e11c8d5bd3bbff533a6564c65dd790a0c0105485b770a9a0a35cb3ee22108a8d0c114b6d5a96466cf05b5918874030bcb3f6867fa1bb1d51a0bdb5a2fd8e46c728182c1e68cf1db569359d63b2d527d68ef786251c89c6101ca0d667d570c6fc185ccbde0fe7c57844858c6f897aad36f8e6bc7b22bcd77269afa0e39f212ffb93299e5b9f1f5a96153e2e53c709c5b6317e73e6c053e48ffaece3a0931b4edaa0fd97910dc2d911ad3b4059abe71774fa12c36ea46a66de07eae1c1a089a8cc758e91a89b1ae152230701d93e042b8d8b141f9893e342f85ac4f693eb80",
            "0xf9011180a0a542e234ee78a97f7a77cad158095b7c4be639763e988089c0b9bb6a7abd9bdf8080a04af6635e3b4c861fd7bd0f513101c9a1e23a2b7dc2430ff14cf9d5e66646e022a02bba3cf90021964df085b12cf313daa81f9998c1c0946ab55703525808ce9d67a0a9f1897a314b8536ed30706e7ead95b1c550cbaaec0ad83b07ca8850d1f953c4a010025023ce106abb7111c4c3dddf29e0e917e6cc4380346722b967e9e85ac881a004b6878a88c7d2af4a054eb869749461a7fa1af9420cfc4af56000eff4fa607c808080a053e37adc725e934b366cdc7e639dc8fdfcb005d9e26b20de26589cab92729132a0ba4c2daa0c33cd8633b4491f27628cf8f37774b84a3de687ae3402cc46d5c3e4808080",
            "0xe21fa048bdc55cb0f8afcaab21a807bd4d68642d2002b874dc031fc7bc210ffc9239d1"
        ],
        "address": "0x0a8156e7ee392d885d10eaa86afd0e323afdcd95",
        "balance": "0x0",
        "codeHash": "0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470",
        "nonce": "0x0",
        "storageHash": "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421",
        "storageProof": [
            {
                "key": "0xc48fb64230a82f65a08e7280bd8745e7fea87bc7c206309dee32209fe9a985f7",
                "proof": [],
                "value": "0x0"
            }
        ]
    }
}
banner icon

Start Building with GetBlock RPCs for Free