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

banner image

Last updated on January 1, 1970

3 min read

Method eth_getProof undefined ()
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://bsc.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": [
            "0xf90211a0be7ce9ee7b731348a1e81e9eefd06e2e825ecfb333be0b336d953c22824cd861a0817687ff15ddc8959c6b59be3be4b594b03af6b6937274da31043ce5fe80062ba0df87b0edd6334308ceedf38d87f1bd417f32ff51ac7f2dbe1c8fee8538c54d82a02c6b23c64897179f6cdf5d96fde253347fd83d757b38920ea346c1b3c6b07742a0bffa6df88d4fcf9b363524c58865bbc20a09dda3d0ddb663ab8bfb672e839177a06a4b90fd2995bf7432758f06d379f93327ff8f78e51049e8cd955b97d9add8a3a00b10cd7cfe5c607b1c58d50754ecc461f0b6219e1c3da7c0ae9b1eba33c287cca0a484584c517ccf9a98a1e0e43b37d7c5ed6d8aa83a42627f812de07c991c7cb9a0eb82830055baf89ad3f3f5313cff9629d77e617aecb9d0c4d2b58824a9bfaab6a0979bfeafe416134f3ac6be6a19a1debf06304f828335584437435dd8f0dd5a09a05cd10ab47f23a22adb8ac9c6383e450868fc517968aac981de73c7e407d0e7f6a098c193894147ecff4c0c9f68b82ed58f1fe2b7bcb7f7b9996057a7eaa3d02460a0fc75586e75c79ae8bc10e7af9c73b1a36bb89d608b5a772994148f356f3cec61a0c36d4de9ae2f7036becd1837dbf271c32812b9e191b83908f97c08dd1c9024cda07ca363bb696d4d076a522a121c3929811477f7aa5a6ab914434329c4bfe87a99a0cd059411a7bcb7151c5f9b1104b74749728b03c01f831242704fd83f1cef89f280",
            "0xf90211a040b8e60693d59a219c33ed5094d954cd91fe5d100266445610d8abc9cd941e75a0539b92441ac372ec8541bdecce4175e6036dfbf749b68d330fe1b8a9ecd05d58a001a731270e1e15fb244fd5b29fbf9159a880f32cacb9ce16e769f225305b58bda02a6805d35e2711fc085d71bd57220e8dc88c6e4a8d7deb8efa00dc4026538243a00afa2ab51f868e617f31ee45ff6d9e4bac48dc0e81fea65ca86c465049f60cbfa0295d66f8c0d0f3363b59888313ccadaa05e7f89c17d4ff27387436e7f424ce21a0d6dfb04fc0f2a5775aa5cb3fa760c11aadfde727985c9be98225169bea3fccdaa075eb2e4e1c748a6fdc16a8d3668a15df9bf876d315410452376a7648e8ef8f4fa05273c2914f314685b9f949f5121d84e0271688826e207cb6124afebc4158701da08418f1b9e370b9ac4032ccb0fd4b30de866cb293ec9f4b895f45450e6cbe5f23a09619bf2838ae51e015f6810f50c1bd05ecc1ddf99f854f53c9a0e6c207aa5627a0d817675d10a167c9d71641b5de9e716f84558fa11bc96ac4f2fe8ddd77040ee7a0a749955ae3c6fef9a90d8a3efceb974dae6830fbc884dfcbd9a536569913811ba0f5de002bf927c088ff2c5819a52fbbb569721eb0edf89d2a63bf65d800a338dda08db5e615d6f65d9e4f4986709bf2d87007aad945e83495c72fc1320b7fa39a99a0ee8401636630422e0b5bec35cb94e2233e59bc453fd8c5eba1345321d9dbee2780",
            "0xf90211a0c9c14814225122a9b70b0c3a99adb137fd8a489c39da2b19b531ad8ce2eb9e98a065e2afcf6b66eeca21378661b6e64bbb0ea19a0017c368d3d697ab7c7f54721aa0903b09d26eb328c63ef176e754b0e22bfbc939e9343c4c16e517497425ae9245a0a966f132ef06f37689718a9648fa4502c6e6fb2d2c4f31f14f35e3c239f0109ba0fe0ea297571f1c1f95ceeac1e6bf484c34e04cd476924d9f6ef38151825d7702a0a0ce03db13cf64356f3a8ce144a13aa57da948ec7da828c29b0e5e500a374251a00c01e075519231dfa10856b4408c295f8200a23181c3d8b8da6bcb4a6cc81737a02fc87b5f6bda0b3537f1070a06e4a6f38a459b87cd79c37156cd5f62a50b3ec5a08faf7945c74e90f863094d7de01dee7394cd9ec5cf907d97eea1720616415aafa0a243bc69b4eb4fdc347165e3505f1c3415d027778c95b1ed4c7b02f6f167e6c2a0771ba7d58f60a7f3b3a5d1e86015e7f469727f4e729397a9e675b93a3de3a591a06a19761238840702c46e3d900329900e6791012f43d5a6b4ec59822cf409e11ea0d649f313c51fd91abc4d0a0792b31f9ef10760363da429fc6a05e4fc91f2a33ea0bc6df643598e5e2be80877302481febc31f55f48d3b52a187b59a7604ebc8522a044e985eb5fd17090244b021d7e2f088b3b2383678cc965ee19f750b2f4b84c26a08b66e14a725595089ff9f1b00191470b85f7ca49d69692d2ee4b26d164aee42f80",
            "0xf90211a00b9069e17b9d2d18c5ee2fdf6abba4e9d24f39553bc1628b68878dae9d289c29a00036b5f10aa15b4681d092031a49a5c28fcd31af3cc4b6f9fac51ab8e7cd472da0be8da8381977e826f09c4b29ca065131f49be241aa1900aaf2a8df1a6b974b28a032e7d4ec5e358c298e602087669c18f66e7cb1ef1606dd3a5b180bda3fe7f435a03506c68b13272008315578407d3edfef17a9d2e11ba84acb4887718bb3924d6ba09971872a8c4610faf50f2c89ca0ffda471b8f99ea60311894b568aef49e166a3a086520138917cc20d9f08b291fef547acd9a649a7f63a2c21e8bb27815ebaf147a0d9ae1cf012c9de3a748ab491b7c5e075efabc01121f7606491d387ea4a0b066ba036b00ee13fb6215f9a2836e530f3f3491a7dd0d4df0592674b63ac0e5b0ff737a0dc75411afaa3013816fdd1ac4b8ac09053ad6bc784fec02a5e13a9a1e6d6e0d6a0ff7060d21efb3c055d17c508ce05a1789cdb84935bd65ab23243639257535254a0349504ff533aee8ff4a7d29a0b80cb57bbe226967caffe22d74973fdac683968a07ec19dbfc17ac300044f67f68a3c86d6d98e1269875b731c9ce21f83c7526659a049c202b85cbb8b3c7a23e2b38ee9d0025480fa6db5cc12b5c4a039f5cdebfda5a0a9a8ed16e5a1cb4d75a9a73a4728e468e9f9664388c27a6ca1aecbba9548ef5aa0deff3c7297b000a1d6f404f4fa1b602ab23963a7f94de41ec763ef9814bd4a9380",
            "0xf90211a0a59a6c7a3e181ec4283cb7087c05e89a08a3776ed2ad1c619dcee9532b9417a8a0dd6516e48541cf706b617daa002a44ee90dcedf19fc2d8278384605ca9342213a0057f2ce716f459db0485100375fc523edf993d04a1c32976e28ec47ab233883aa02d88aae4ccf7136330b3a4eb3a349f512378c8ba4764e13aabd6aaa167535030a0fb8a5d986c0ff0fd761237f13805218e25ce686aa18468a4cff06796a3d2e4b8a0e8c290b8e1058b03f2ac04db8da71be6431aed1baa23c642fcca9e95b6419a43a0967693e497661d14ca7d71d3c7c1ef8954ec8df03da6ed96a9f9a58e916a8df7a0d443c808c7e2affeab5158f2aff861f1bee6dee527d184f91c9f96e92a3c5e22a0e823ea31b28a97b7f0c9e71eff76f66a523536d322bf7e7a9147e36b8b32d85ea06b16f9a426306e8bbc1add25abd2651f77ce989e7847596eab1e2dfb7860aefaa0d08d1605f7c95733dc4a2a499fed12e274fa7cfbc6c0c772b0c3af88dbe37ed3a06e7f9dd88095a6a78bffe6326531bc9bb880c58a7219e39ec11f336d0c636291a07f7ed815377701ebfe70b3d507e003260a4581c35b51eaaae6e4e79278d1d4f8a0ec5fa35ecb180e132b4b1dfbb912fbffbef6dfa56d82463d2b8b3cca3f36400da052e410e80a1cd36ee206a85c00963e055d22360ec18980a2f2bdaf795bad39cfa078fc18e4ec1e2d2b7236d331ba017d8edf004ce07e1bbb168bc585bf311e172780",
            "0xf90211a06931dd01311043fccac2d973f078ddae66fcd25dff875dbb75f46db94d3a3375a0cc9b9368eb0a3c76d97b2b951cf7630df5c07e448a51e0e0d4adffb16441f81ca02118d1b083b213b0c881bb33cc99110634d94170e261c4d62fd22ef235ab23efa0cd97d3c84554e839ec389e19d2844e8ff655c0a243b7c5d085c8b216bb43c604a02ca22b2ba1d334fee15b996d10daa6b8ccc40fe93e0f24fe9bf90b6be3ce7832a0263f4bacfe32922539d9bc10d8e724770f1fec918586bfcb0a1c4c00f8d7c282a07720c7c30dc682dd98fbcd617c02d9b7bbd05af27c91b1de76a04839b088d910a0821e21a1fd8533040356bd759ceede2a79e02dbac9a5d32242545905032d9867a0d7038e424f7610882dcbcf583ba31c43cba4bb7e9369e15d29d9995ff8b17c7ba0d269eee3a40393d31482260431bff02c70796f7374d90f4777c537a363c313fda07733ed1bcf714e2ba768be4ff64b1acecd02cc6648cf5a26dfaadb69ea84bdcaa03b9ab16e3cac5cbb6d3a5b66ad4772522a4d598beea5a2db00747285c8f91cc8a044046274d17107400068f6bf9b4d0ef0d1e09471d3127122cf7dc312ea0f20c3a00eefe90d11be24987c0fd65d1cbd0b2cadca9545de3b8b5b7c5c51b1a841305ba0a17f4f8a5d63728a4149d3e834bf3e9a066c0fd422d71a81bb65a798fce7aad1a08eed2ef9b3777dd759eec8d7f07c118c15cdbe96d6b878e45d0ace69517d048380",
            "0xf90151a0a38f990f38bd3d3a6c69df83b9dc6216fc541aba35ec0e7eb3749f30084a6c1080a0215009a5f2fd888f08dde7b9ad09d7c2ab0c01488a7665990504346e611b7630a04c7b29e592cea1c265148c75d5f133b6a78873b263b61a6f14cd4d88981a45a4a03277ba33111692fd6f88c9641ad124858033e2d030f992fdb186035df18063f8a0f8d2d1502c30d33422ce16473d881f5478ab50e23267490ec48274f31a59c1e3a083a8491117c8e11f9402871e6f1ebb0c1bfc068b41dc7d13268ad006c63a2599a0fcd9ec9735c6ae153d53e731127416d1b9ea6037724ed1d0e35e76e6131b7fda8080a07bd882107e5d111955fa186d9927ce76554f75fc87c76df69f437895d1f0fd08808080a0e2b573cd300181a1b8acb970eaf1b4e5d6909719956bb13631a2af2a6aff5167a0f59cdc7c94d8b0c292d75746ca09a42d8eeacf638d46d727b78c7cbe4ab124cc80"
        ],
        "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