---
description: >-
  Example code for the hmy_getProof json-rpc method. Сomplete guide on how to
  use hmy_getProof json-rpc in GetBlock.io Web3 documentation.
---

# hmy\_getProof - Harmony

#### 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

```java
curl --location --request POST 'https://go.getblock.io/<ACCESS-TOKEN>/' \
--header 'Content-Type: application/json' \ 
--data-raw '{"jsonrpc": "2.0",
"method": "hmy_getProof",
"params": ["0x0a8156e7ee392d885d10eaa86afd0e323afdcd95", ["0xc48fb64230a82f65a08e7280bd8745e7fea87bc7c206309dee32209fe9a985f7"], "latest"],
"id": "getblock.io"}'
```

#### Response

```java
{
    "id": "getblock.io",
    "jsonrpc": "2.0",
    "result": {
        "accountProof": [
            "0xf90211a00745a47cd69ec752efc761a92263620e6dc2bdee0d2274ac9863ea976df78033a0009ccfc70004abe38c3cdb72496e98aae9562dd201c52c5b9c782ea45cbf64bda0c95032302516fa20ae56d9acc3225759c0f2998f0cf11bcc30b89f74f48367afa0b85133d1d1b720531243f02b919fc07a479326aa034beaecd304ecee9d09f9b4a0ca3fe35f9c3537f0257be250bc871da8135b5e889447812359470d26da943b1aa0b06b33745afeed7820befb8215035d552448ff93c2ee7ca84ecda5ba3b075175a0e9fc3ef63e66d99c1fae576b32979b8c42689ec03df1f43363c53959f1fecd44a07136df4799d008ad52d28ccf7b8260c7ee5386194f3317c633d6a63d03b0ce9ea0a6d60ff12917c4380e93919d1e05688ee025777cb2a1dedf252c8cc8a70bd2d2a04f9014a408e351ba45ff668739200c080dc7d489aaeaaed8565832600a7939a2a00a0d54c7ea11a3423bf584bffe181c676f00ccae24c53ea8579fd5eaba737f53a00dfd45df4f1b7e40f64953af589593a005d251681acaf1cb7cfde79dedfefd10a0c20df0bbc77b8c6a36bf2b1d4354f41706eaa2cc1d957992838a210eb02d58d0a0c4c15f3af8528ae11e0bdb0b535b61e6827640cfb116cbc7ec0e0523428a6ba2a02265f9009f6457b3b92d52cd3cf6078aab8d250845fc40f528e8899ac9cb9d2da0812fdfbbcb9f44ef81b9cae12cbee66c30d65e6e354fc15833b260fe0993d6b780",
            "0xf90211a04e103f092b69d48dd94a01cb7f42049643f1b6f240ad1871e3f2e91627866a15a0847b3af4667fbb63f97f87189c1b78483e5e7ec44f8ab809bebd680677d0db30a05a5ece029b889680cb46005a1d44399fd0bc077c37f88e0e6dae7f74c86f1075a059245b48013d314f2dc95c395df149041f2a1f0ef8da4548b90ad6be87db06c0a07c31ce11fcda9b4b5207ac0757158b6f25ff8e836dd7a32d60b7eb2f2a190e90a0ab7fb5c583f1bd9cdb004822a31c4e7684f472401d0f86cce9914f656eca2674a06a4077879318b41c6d118be892eec87a50cafb6a648ce929581bcd4479feb5b0a0b46fc89c23efc4049885f5ca085dba3deb3d9f6647f41f04fb0cfea10778cda0a02bd5b6eaccc81d56f809f6deea071482070a4a696295d5e93183f543f6de3dd2a023ef23199510ba4259bf082942fe6d3e9b113275cc46ead850f1995cfcbbd8e3a0959bf6176c036293ad52310f85c70e30fbecc2f391ec4bf4b707889b08fe03eda04a19f48694ee493cfe24b5a001e05ff9e03290f4e38b587559defd4a3d9ebb79a012b4c3a46ac00614111aa715cc724f6e6b298a5a4b58f593172803be045a85eda0c73ea74df43ee6535e73852faacbb5351f1f866e81f02d4872c335ed990abb00a0b0eea7dc4d497a580a0de18ca54063cffa3c8b3d068ee08a71c169c742d29045a092af828669eb3c2062393309d130df4e1c991814876a6955047d2222489c567180",
            "0xf90211a0ce0153aaadf9751e8639a1bcd2be5226ad44e362825b032f5f21964e85ec6c7aa08f5e3bc4be6a6044e0b4875e42398765e39e8cf4a2d79948cd844117222dd590a01a3a24a1dd7573bb72726032b164d8939ed34a103be231776e9691ac5c7ba155a036b0c53f574138ce979257869b83529633418ba3c15bcf9b782ab8e1fbaadaf5a0040c00283354271d275256279f0c07fb0e3dae3d7384e9c05c5acc2957ae20a1a02499f6ef937fa00a637a1bb4f1b3024703e75824daa8faa5460d4ba45b5169a9a0a9b623ae9251128f0f093894f2b31063fb3367711788e74c1b9cadb83fafb63aa08d04bbe361aabffba4af61fe6a3015fda3cbdf7e4014600d5bc005d5072ca498a0944330569b1371a829ed559745e24672c7f7b3c5a2ad52ec75c4767786ef50a2a017bdb2d52b821afd0259aeaa8495d04a02249a5ee6af46c180c98aa0f6ceb0d0a0e743de63132a961ee712ef0ca5e672bb1f50c0f4c6c8e69e55e4e43b2b75de6fa0b759a9df747f03fda188c806c17bc57d0023d5a0b2e9c384a895c92450cca1fea0e7c03e3bf67933c12e30742cb82ca3246bab93b7240645a3e5f947ec1b8a530ea0dc073ca4bafdba1e9a77aeaaef756487ece5b8593a75536dd638af48647fb6d5a0088bb5844de90e83dc51ded7bb676922aa47f7847e841524cc85ba2c69ce5569a013278160021b919f36593a07447851d9a2fc290ddbed831ac674cdb0e41d5de880",
            "0xf90211a03d868d565c139c9502e1366240067da779c5ca43440b3a4140490450685ed3d5a0b0b72eb6bb39483e62d8b238db49fce83937d855c74e66463da8020e873a740fa03887e3674186ab96f03bcac16fe571f942fb89eee586042f45ef380b87f764bda035816dc361ad30dbfc46d19a7decb159d7d89bd5990018c310a993eb0f6c3339a07dba25e45542a5e9a9204e5a63932b8422280be2060730d395a76e71380691bba0b59084c7e268d0822ae9a6da79de86ef2531d1c3c257232fcda81207256d35d1a0d1410cdf8c25abfb7009db00fd47812ea9d34047523d1873a7f734ede7870125a07c910101ee84370986b685f672df62c69259b30cc6480a284c0517217ff14d96a09a96e5d843ef632a9fc996f2c77aff8e58e82b895f22ba99e66e264341a2dbd3a05a98efb9cb8e1a8e556d9a6e132699455b06f6fed013bb69a9ea5a023952081ca0e882a48c464cd36b6cf8ce58dee0a78460b9c15331aecaf64eeed771adeff413a0f606671e7aab09eaa059d48997c97161af15210115b5f06767e232c08eb28a49a042edcab98b5b90673f31f421a11a55dbb96b41c9965bdf2ce4f91eb3ad0ad7fba0814cc9347c1ef1279d8a8d9c26ba124dc5db46db71fd7edb78e2e20ca8488643a0c297c659aafa51267db8494aadec966646d402eb64e96860b67166309e8bd97aa03541870f37928238f1fc9ff84a3b58e3821a1fd4bfeb35455d1725b30a4e6c1c80",
            "0xf901b1a0bab6a2245af8039db429b666b2df6009c6e84c1ee474acade64a945e6bf82ee7a06e96fa60ca6138930a2d65064adb519d8f2bb190b6f1d2bd74d2f19a6f5381d5a0bfe0bc5dbdce810b85a6d1566cf5729a6c60f55db02af7b67fba32f5d6c12135a0e2471c8ae6bffc13beece08eb748ce8c90ddfcc8210289e636fd55335c9bef15a0a9809fea92ecf3ad17c754e4242238a71dbbbd09d1eeb712e7bd4cfcc5e7d96e80a0e00b9104a4c7b6b1105243e0a605a18c7ecd4de910ddc86f289f6243633f3b9c80a0e7fe113a6f29e7cd2a337f55bc71b7023e843b6bc63a9884fc7cc5d68e2e180da09af70cdb695ffc324b19e52afe98d8d1f7f727587de5c769c054131a7a81c08fa02417d6a72193d0e505f661ecd0473e17d11f0cf93ea38cebfc20fc9baa3e888ba07f87434626d5069c4a585bbec084c8ef23292d8566b3104cf70dc50a02c844d4a03faa5b5924e8de85e3e548a06f958fe8dbe4d01716d30b93f7301282355d221ba0676f1a6cee4291eddfa6adf92d670a37895894972bdaabc4dcc626f0c24f90b4a06cbbef7b96786fb30400044b30790296bab9ec817b4c73ad91a8c689e23067978080",
            "0xf851808080808080a0cda4cbb2c338ca536ff331417cc5d2b40b655f1988517e435d38bb60ede4e1338080808080a00045dd311d6b764742d2e154d1d41f1e44a65c00b9f39f0ada79be76ff7d56df80808080"
        ],
        "address": "0x0a8156e7ee392d885d10eaa86afd0e323afdcd95",
        "balance": "0x0",
        "codeHash": "0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470",
        "nonce": "0x0",
        "storageHash": "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421",
        "storageProof": [
            {
                "key": "0xc48fb64230a82f65a08e7280bd8745e7fea87bc7c206309dee32209fe9a985f7",
                "proof": [],
                "value": "0x0"
            }
        ]
    }
}
```
