Geth Proxy
Last updated
Last updated
For the full documentation of available parameters and descriptions, please visit the official Ethereum JSON-RPC docs.
Returns the number of most recent block
https://api-zkevm.polygonscan.com/api
?module=proxy
&action=eth_blockNumber
&apikey=YourApiKeyToken
Try this endpoint in your browser
No parameters required.
Sample response
{
"jsonrpc": "2.0",
"id": 83,
"result": "0x61c73"
}
Returns information about a block by block number.
https://api-zkevm.polygonscan.com/api
?module=proxy
&action=eth_getBlockByNumber
&tag=0x10d4f
&boolean=true
&apikey=YourApiKeyToken
Query Parameters
Sample response
{
"jsonrpc": "2.0",
"id": 1,
"result": {
"parentHash": "0xa8ef7498d0781f908d388df1d2cdfcde9ef3306a70085fca5f2a6df1ce6eca70",
"sha3Uncles": "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347",
"miner": "0x148ee7daf16574cd020afa34cc658f8f3fbd2800",
"stateRoot": "0x7bd5fe40bfb6759a681b1088d4130545dcf9ed0458bd051f79caf8d2917cce19",
"transactionsRoot": "0x5e3bc5ea6d3b4a28e36cebc2da2bb5bafcc8384460c77fe32cdeab4424d27d82",
"receiptsRoot": "0x25e30a3ce65da434ababf7e9d81499951007f08c0501444729b7efdfe7f75099",
"logsBloom": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
"difficulty": "0x0",
"totalDifficulty": "0x0",
"size": "0x7bf",
"number": "0x10d4f",
"gasLimit": "0x1c9c380",
"gasUsed": "0xc605",
"timestamp": "0x642bb2eb",
"extraData": "0x",
"mixHash": "0x0000000000000000000000000000000000000000000000000000000000000000",
"nonce": "0x0000000000000000",
"hash": "0x7a323fc590a7d97bee405779bbc93e05c6d6ab53984efe02147069e7626c0e01",
"transactions": [
{
"nonce": "0x0",
"gasPrice": "0x0",
"gas": "0x16e360",
"to": "0x2a3dd3eb832af982ec71669e178424b10dca2ede",
"value": "0x0",
"input": "0x2cffd02e1886bdf08359e07feb7d1a60e571b2c00589526fe1bbb6fba3d7f0a7bcecb9e63e343af30cfc968748d41b563a782f3dee5e876274e4e39776bd6695aeebff109ccccdc804a0ce84253a50b5f8b489b4a0aab9aa2fc71101d2654d1eada32e9d382303400cdce038429483025365ddb2eb81251b98aceae06045d2b5229d54710e5cabeaf5d9e28adf1200dcf261c566fe7e919853b69cfa2aa9ab8e64e619dd2dc4ca8da0f4b72c3144f94c446001d50a8fb8faf137193660d1579e37fa99e32ee647b4ff48adc19b501ab55446049d932a35ae5f2281c442a0b81a2d4c2cf25e21a3f267d51637539157bc80de1831c359fa0a455aa55e01681cb2e30775d5ee49fad625eacdb330fc8018bf207687f2b3db02e7a28c2bae859392a454706d62d36f3a4696ccd097ffa4f0ebac407d1c00e4f695638561e45cf49a4436ff9aca643948892f2265669dbf9d933131927f4ecdc1d68e1939682a5eb878413764ca04d8bc8a929cbd368bb2f8c2b76f681a420b94e68e5df6f64e6968439e189d37c8d9a25a274520adbe7e0a98f4f46bc0dfd06b3d56c52daaea67568e7e99fa8b04564876be605e377a66b553af791442577229fdf14eeff347c3aef57e18cb5eaed8480c2c246cffe2ba72ebe5e81416692243c37261867490ea0230b10dde464a385c1fa38a0e741657bebeab72d875e62fb810fa110619a745902c4baf9807ba9b6daf03902fce0a68c13ecf4e818143a1f30390980f1b94ca5bdad419bc1e6242bd5a3e82a502259f80eca074e6da143be987a6817f53c1123b6f2ea57f2afca7c9f1801b1600c1a28bc85bad1724f5a89ac6e73faca84128719bf11ae0f3ead7527dc8f584af1ce68c895e08f74c90120c607ea812b4f4c2d32419cdf4fa58137b96e0b87a0e052efb4c4dbd0e4bfaa6f142056b07d9366873cf10790d32fdcffb74aaa40369a3b329927b23c37f0bfac2d5428286060e2b5b927841bbdec9700539139417c1f196d66ff7638d33da95f4b627a043b3e02b364171415fa3c3328199e0d37167d538aad2862342acafa253b8238453f75078d415a9313f30a43ddde2b03ed76fea2c34798cebc056dbfc7c555a8bae1698aae7671ef119ee25eeb0fddef77b3294b6192982accd1a0c1ca0232df319edde6884b5933351f82ef13076bb3897f30ad1557083374c80e55929e4f1732f60850733f9edfb4a1caab952e49f986490f177fa8d22c8b85b41a26c23278bd0fccd8a9e6bbe6dbf70a0d00596df6dc147e58c26ba15a09539b0d1d90fca6acc1750ea3bca388908b2154fd3e3cb42e2c9390ff1cfc8ee1e237538508e2835674ed90c19f63df2ef1d61b421cb2d327c509978a68483b3e2f22dfc53dc6c0fa5cd65c2163294c0b0d211b7f304cc69dc0de183dc7136917ff9b9b6fbc0d5699b1d044c927b2e8a655fb98f36263d170eee127b7533c8227a856a3644e42e60c34b203affcd46c06b46078168b3fd5fb2b8486f1a44d39b481e12f25478c1f946d81c5ddb8373902f4c71b3cbdab6bb99d2a713b146689f9c1f2f045830140c206763c1767fdc0d23f2bd11c8d0168490d2db54abc916c555817e8fc8adf9b5607d879cdbbae5de9ed16ecad3af7659b5f8c0285aab01ef34d3c4c615acbb32c06c053e4a3d3c96637f3b679751be992c7f4f3a73c03cad0af04b7518a6ff757c15d7488c62303a982c3c6f16bce1b7cdf708c1f32998c269a765472edc9e4bb8a18cf6d676565fec514f51b75307a4e38a91f7ad0cf8d23a42765c415c7ceea50233dd838e94f3504ef7c79be634d9977f81ab901ff3c67aeb3e8361e23121fbc6df680ea1849bb2c3d938b35d6418d66d2e24cee858d586d7b2ae8a81ea152cb672b290a38a1780d666a328db755677df78657edc34e8e5",
"v": "0x8be",
"r": "0x669dd437b274de37b98613c1c7076af14f03d49287e544b7cb38482798023eb3",
"s": "0x30305cf8a34fd128a5361f73bc8c183f56b35fd62da342f5ebc26f31b837d35e",
"hash": "0xfb1a15de0367f0751be96ac595c235dafe5eed6c49b1ca63e703f73c89a60aa9",
"from": "0x6aa41ae9ec8871eb93ffd4b1f4fef868e7e86ed3",
"blockHash": "0x7a323fc590a7d97bee405779bbc93e05c6d6ab53984efe02147069e7626c0e01",
"blockNumber": "0x10d4f",
"transactionIndex": "0x0",
"chainId": "0x44d",
"type": "0x0"
}
],
"uncles": []
}
}
Returns the number of transactions in a block.
https://api-zkevm.polygonscan.com/api
?module=proxy
&action=eth_getBlockTransactionCountByNumber
&tag=0x10d4f
&apikey=YourApiKeyToken
Query Parameters
Sample response
{
"jsonrpc": "2.0",
"id": 1,
"result": "0x1"
}
Returns information about a transaction requested by transaction hash.
https://api-zkevm.polygonscan.com/api
?module=proxy
&action=eth_getTransactionByHash
&txhash=0x7a616e9ddcc48d3d5f5b4814ebbab08c4f818ef597eacc0a8e00fc1dc94dd380
&apikey=YourApiKeyToken
Query Parameters
Sample Response
{
"jsonrpc": "2.0",
"id": 1,
"result": {
"nonce": "0x1d",
"gasPrice": "0x579e6b80",
"gas": "0xc313",
"to": "0xa2036f0538221a77a3937f1379699f44945018d0",
"value": "0x0",
"input": "0x095ea7b3000000000000000000000000f6ad3ccf71abb3e12becf6b3d2a74c963859adcd0000000000000000000000000000000000000000000000001ce9a991d9f54097",
"v": "0x8be",
"r": "0x106e00897383d72ec0ebd2e99cba2a70d230518038dce252284dc16126c1fdda",
"s": "0x12ba728a23ab26dad336d438d64b2de6581853fd5297210b661fe66ae25aca6d",
"hash": "0x7a616e9ddcc48d3d5f5b4814ebbab08c4f818ef597eacc0a8e00fc1dc94dd380",
"from": "0x77d4bd83065f7d2d1f594b72f548bc058e4dc33c",
"blockHash": "0x9e490b3b83f9b46a08e968cf4bd2d4a71636340706265701db8e6a3a9c98fa08",
"blockNumber": "0x61bd9",
"transactionIndex": "0x0",
"chainId": "0x44d",
"type": "0x0"
}
}
Returns information about a transaction by block number and transaction index position.
https://api-zkevm.polygonscan.com/api
?module=proxy
&action=eth_getTransactionByBlockNumberAndIndex
&tag=61CA8
&index=0
&apikey=YourApiKeyToken
Query Parameters
Sample Response
{
"jsonrpc": "2.0",
"id": 1,
"result": {
"nonce": "0x1",
"gasPrice": "0x684ee180",
"gas": "0x56fdf",
"to": "0xf6ad3ccf71abb3e12becf6b3d2a74c963859adcd",
"value": "0x2d79883d2000",
"input": "0xbc6511880000000000000000000000004f9a0e7fd2bf6067db6994cf12e4495df938e6e9000000000000000000000000a2036f0538221a77a3937f1379699f44945018d0000000000000000000000000ece84a26a93df50a8b9c5f98900c541289afa4cf00000000000000000000000000000000000000000000000000000000646ee24700000000000000000000000000000000000000000000000000002d79883d2000000000000000000000000000000000000000000000000000016d07148b4e01ea0000000000000000000000000000000000000000000000000000000000000000",
"v": "0x8bd",
"r": "0x4486b2ea33dc843a3225b9b2c52b0703d9b52777acb7997fe58ea61f3bfac8b1",
"s": "0x8dd58c363d271b3014825634559b2c901ce3e75e0de656759197622e58e4392",
"hash": "0x109f765229eba4ec1108ecbda0cbf2a52a406ab5fdb9a996fb10fcd14a71319a",
"from": "0xece84a26a93df50a8b9c5f98900c541289afa4cf",
"blockHash": "0xa930aad52ae204261303f69bd4ca197ea4f6a004752c00d6662e489d81743d2a",
"blockNumber": "0x61ca8",
"transactionIndex": "0x0",
"chainId": "0x44d",
"type": "0x0"
}
}
Returns the number of transactions performed by an address**.**
https://api-zkevm.polygonscan.com/api
?module=proxy
&action=eth_getTransactionCount
&address=0xd10c833f4305E1053a64Bc738c550381f48104Ca
&tag=latest
&apikey=YourApiKeyToken
Query Parameters
Sample Response
{
"jsonrpc": "2.0",
"id": 1,
"result": "0x21f"
}
Submits a pre-signed transaction for broadcast to the Polygon zkEVM network.
https://api-zkevm.polygonscan.com/api
?module=proxy
&action=eth_sendRawTransaction
&hex=0xf904808000831cfde080
&apikey=YourApiKeyToken
Query Parameters
Sample Response
{
"id":1,
"jsonrpc": "2.0",
"result": "0xe670ec64341771606e55d6b4ca35a1a6b75ee3d5145a99d05921026d1527331"
}
Use eth_getTransactionReceipt to retrieve full details.
Returns the receipt of a transaction that has been validated.
https://api-zkevm.polygonscan.com/api
?module=proxy
&action=eth_getTransactionReceipt
&txhash=0xace92e20eef7633b13c3338467b3abf697a94a8b48e25c0e855c02eff5e96b0e
&apikey=YourApiKeyToken
Query Parameters
Sample Response
{
"jsonrpc": "2.0",
"id": 1,
"result": {
"root": "0x49be12e3b2ecf29ae1e26b40fcd4bc1c4018dc8dcd209988adb788c74afe6864",
"cumulativeGasUsed": "0x18832",
"logsBloom": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004004000000020000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000800000000000000000000000000000000000000000000000000000",
"logs": [
{
"address": "0x08bc8ef0b71238055f9ee6bbc90869d8d0dbdcca",
"topics": [
"0xc37a77b91cc3fc2d0e4b43fd2f347ec67adda10e39215de4742836cc3e42c97a"
],
"data": "0x0000000000000000000000004f9a0e7fd2bf6067db6994cf12e4495df938e6e900000000000000000000000000000000000057bb6d9f36647bf56d694440000000000000000000000000000073903fec691a80ec47bc830bf3f0bad127a06e30",
"blockNumber": "0x61cb7",
"transactionHash": "0xace92e20eef7633b13c3338467b3abf697a94a8b48e25c0e855c02eff5e96b0e",
"transactionIndex": "0x0",
"blockHash": "0xf6d0e7388e01b6775eef626a3910be6350360f9e9217f80cb05e9a6ede1de472",
"logIndex": "0x0",
"removed": false
},
{
"address": "0x08bc8ef0b71238055f9ee6bbc90869d8d0dbdcca",
"topics": [
"0xc37a77b91cc3fc2d0e4b43fd2f347ec67adda10e39215de4742836cc3e42c97a"
],
"data": "0x000000000000000000000000ea034fb02eb1808c2cc3adbc15f447b93cbe08e10000000000000000000000000000000000050a863b98a532ea50c41ffe00000000000000000000000000000073903fec691a80ec47bc830bf3f0bad127a06e30",
"blockNumber": "0x61cb7",
"transactionHash": "0xace92e20eef7633b13c3338467b3abf697a94a8b48e25c0e855c02eff5e96b0e",
"transactionIndex": "0x0",
"blockHash": "0xf6d0e7388e01b6775eef626a3910be6350360f9e9217f80cb05e9a6ede1de472",
"logIndex": "0x1",
"removed": false
},
{
"address": "0x08bc8ef0b71238055f9ee6bbc90869d8d0dbdcca",
"topics": [
"0xc37a77b91cc3fc2d0e4b43fd2f347ec67adda10e39215de4742836cc3e42c97a"
],
"data": "0x000000000000000000000000a2036f0538221a77a3937f1379699f44945018d0000000000000000000000000000000000000000af87c62994ffca9f6bf00000000000000000000000000000073903fec691a80ec47bc830bf3f0bad127a06e30",
"blockNumber": "0x61cb7",
"transactionHash": "0xace92e20eef7633b13c3338467b3abf697a94a8b48e25c0e855c02eff5e96b0e",
"transactionIndex": "0x0",
"blockHash": "0xf6d0e7388e01b6775eef626a3910be6350360f9e9217f80cb05e9a6ede1de472",
"logIndex": "0x2",
"removed": false
},
{
"address": "0x08bc8ef0b71238055f9ee6bbc90869d8d0dbdcca",
"topics": [
"0xc37a77b91cc3fc2d0e4b43fd2f347ec67adda10e39215de4742836cc3e42c97a"
],
"data": "0x000000000000000000000000a8ce8aee21bc2a48a5ef670afcc9274c7bbbc035000000000000000000000000000000000000000c9f3c9a19acc8249e2d40000000000000000000000000000073903fec691a80ec47bc830bf3f0bad127a06e30",
"blockNumber": "0x61cb7",
"transactionHash": "0xace92e20eef7633b13c3338467b3abf697a94a8b48e25c0e855c02eff5e96b0e",
"transactionIndex": "0x0",
"blockHash": "0xf6d0e7388e01b6775eef626a3910be6350360f9e9217f80cb05e9a6ede1de472",
"logIndex": "0x3",
"removed": false
},
{
"address": "0x08bc8ef0b71238055f9ee6bbc90869d8d0dbdcca",
"topics": [
"0xc37a77b91cc3fc2d0e4b43fd2f347ec67adda10e39215de4742836cc3e42c97a"
],
"data": "0x0000000000000000000000001e4a5963abfd975d8c9021ce480b42188849d41d000000000000000000000000000000000000000c9ea32d2eba3039e36840000000000000000000000000000073903fec691a80ec47bc830bf3f0bad127a06e30",
"blockNumber": "0x61cb7",
"transactionHash": "0xace92e20eef7633b13c3338467b3abf697a94a8b48e25c0e855c02eff5e96b0e",
"transactionIndex": "0x0",
"blockHash": "0xf6d0e7388e01b6775eef626a3910be6350360f9e9217f80cb05e9a6ede1de472",
"logIndex": "0x4",
"removed": false
},
{
"address": "0x08bc8ef0b71238055f9ee6bbc90869d8d0dbdcca",
"topics": [
"0xc37a77b91cc3fc2d0e4b43fd2f347ec67adda10e39215de4742836cc3e42c97a"
],
"data": "0x000000000000000000000000c5015b9d9161dca7e18e32f6f25c4ad850731fd4000000000000000000000000000000000000000c9f12335f81c0d450ffc0000000000000000000000000000073903fec691a80ec47bc830bf3f0bad127a06e30",
"blockNumber": "0x61cb7",
"transactionHash": "0xace92e20eef7633b13c3338467b3abf697a94a8b48e25c0e855c02eff5e96b0e",
"transactionIndex": "0x0",
"blockHash": "0xf6d0e7388e01b6775eef626a3910be6350360f9e9217f80cb05e9a6ede1de472",
"logIndex": "0x5",
"removed": false
}
],
"status": "0x1",
"transactionHash": "0xace92e20eef7633b13c3338467b3abf697a94a8b48e25c0e855c02eff5e96b0e",
"transactionIndex": "0x0",
"blockHash": "0xf6d0e7388e01b6775eef626a3910be6350360f9e9217f80cb05e9a6ede1de472",
"blockNumber": "0x61cb7",
"gasUsed": "0x18832",
"from": "0x804f813be88d36e2388b0edf317a721067c656dc",
"to": "0x73903fec691a80ec47bc830bf3f0bad127a06e30",
"contractAddress": null,
"type": "0x0"
}
}
Executes a new message call immediately without creating a transaction on the block chain.
https://api-zkevm.polygonscan.com/api
?module=proxy
&action=eth_call
&to=0xd10c833f4305E1053a64Bc738c550381f48104Ca
&data=0x70a08231000000000000000000000000e16359506c028e51f16be38986ec5746251e9724
&tag=latest
&apikey=YourApiKeyToken
Query Parameters
⛽ Note: The gas
parameter is capped at 2x the current block gas limit.
Sample Response
{
"jsonrpc": "2.0",
"id": 1,
"result": "0x"
}
Returns code at a given address.
https://api-zkevm.polygonscan.com/api
?module=proxy
&action=eth_getCode
&address=0xa2036f0538221a77A3937F1379699f44945018d0
&tag=latest
&apikey=YourApiKeyToken
Query Parameters
Sample Response
{
"jsonrpc": "2.0",
"id": 1,
"result": "0x608060405234801561001057600080fd5b50600436106101775760003560e01c806370a08231116100d8578063a457c2d71161008c578063d505accf11610066578063d505accf1461039b578063dd62ed3e146103ae578063ffa1ad74146103f457600080fd5b8063a457c2d71461034e578063a9059cbb14610361578063cd0d00961461037457600080fd5b806395d89b41116100bd57806395d89b41146102e75780639dc29fac146102ef578063a3c573eb1461030257600080fd5b806370a08231146102915780637ecebe00146102c757600080fd5b806330adf81f1161012f5780633644e515116101145780633644e51514610261578063395093511461026957806340c10f191461027c57600080fd5b806330adf81f14610209578063313ce5671461023057600080fd5b806318160ddd1161016057806318160ddd146101bd57806320606b70146101cf57806323b872dd146101f657600080fd5b806306fdde031461017c578063095ea7b31461019a575b600080fd5b610184610430565b60405161019191906113e4565b60405180910390f35b6101ad6101a8366004611479565b6104c2565b6040519015158152602001610191565b6002545b604051908152602001610191565b6101c17f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f81565b6101ad6102043660046114a3565b6104dc565b6101c17f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c981565b60405160ff7f0000000000000000000000000000000000000000000000000000000000000012168152602001610191565b6101c1610500565b6101ad610277366004611479565b61055c565b61028f61028a366004611479565b6105a8565b005b6101c161029f3660046114df565b73ffffffffffffffffffffffffffffffffffffffff1660009081526020819052604090205490565b6101c16102d53660046114df565b60056020526000908152604090205481565b610184610680565b61028f6102fd366004611479565b61068f565b6103297f0000000000000000000000002a3dd3eb832af982ec71669e178424b10dca2ede81565b60405173ffffffffffffffffffffffffffffffffffffffff9091168152602001610191565b6101ad61035c366004611479565b61075e565b6101ad61036f366004611479565b61082f565b6101c17f000000000000000000000000000000000000000000000000000000000000044d81565b61028f6103a9366004611501565b61083d565b6101c16103bc366004611574565b73ffffffffffffffffffffffffffffffffffffffff918216600090815260016020908152604080832093909416825291909152205490565b6101846040518060400160405280600181526020017f310000000000000000000000000000000000000000000000000000000000000081525081565b60606003805461043f906115a7565b80601f016020809104026020016040519081016040528092919081815260200182805461046b906115a7565b80156104b85780601f1061048d576101008083540402835291602001916104b8565b820191906000526020600020905b81548152906001019060200180831161049b57829003601f168201915b5050505050905090565b6000336104d0818585610b73565b60019150505b92915050565b6000336104ea858285610d27565b6104f5858585610dfe565b506001949350505050565b60007f000000000000000000000000000000000000000000000000000000000000044d4614610537576105324661106d565b905090565b507fa7644adab724396d225c3f5c851df1913b04678b7cfe150b948be5d8927e837990565b33600081815260016020908152604080832073ffffffffffffffffffffffffffffffffffffffff871684529091528120549091906104d090829086906105a3908790611629565b610b73565b3373ffffffffffffffffffffffffffffffffffffffff7f0000000000000000000000002a3dd3eb832af982ec71669e178424b10dca2ede1614610672576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603060248201527f546f6b656e577261707065643a3a6f6e6c794272696467653a204e6f7420506f60448201527f6c79676f6e5a6b45564d4272696467650000000000000000000000000000000060648201526084015b60405180910390fd5b61067c8282611135565b5050565b60606004805461043f906115a7565b3373ffffffffffffffffffffffffffffffffffffffff7f0000000000000000000000002a3dd3eb832af982ec71669e178424b10dca2ede1614610754576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603060248201527f546f6b656e577261707065643a3a6f6e6c794272696467653a204e6f7420506f60448201527f6c79676f6e5a6b45564d427269646765000000000000000000000000000000006064820152608401610669565b61067c8282611228565b33600081815260016020908152604080832073ffffffffffffffffffffffffffffffffffffffff8716845290915281205490919083811015610822576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760448201527f207a65726f0000000000000000000000000000000000000000000000000000006064820152608401610669565b6104f58286868403610b73565b6000336104d0818585610dfe565b834211156108cc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152602060048201526024808201527f546f6b656e577261707065643a3a7065726d69743a204578706972656420706560448201527f726d6974000000000000000000000000000000000000000000000000000000006064820152608401610669565b73ffffffffffffffffffffffffffffffffffffffff8716600090815260056020526040812080547f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c9918a918a918a9190866109268361163c565b9091555060408051602081019690965273ffffffffffffffffffffffffffffffffffffffff94851690860152929091166060840152608083015260a082015260c0810186905260e0016040516020818303038152906040528051906020012090506000610991610500565b6040517f19010000000000000000000000000000000000000000000000000000000000006020820152602281019190915260428101839052606201604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08184030181528282528051602091820120600080855291840180845281905260ff89169284019290925260608301879052608083018690529092509060019060a0016020604051602081039080840390855afa158015610a55573d6000803e3d6000fd5b50506040517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0015191505073ffffffffffffffffffffffffffffffffffffffff811615801590610ad057508973ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16145b610b5c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602760248201527f546f6b656e577261707065643a3a7065726d69743a20496e76616c696420736960448201527f676e6174757265000000000000000000000000000000000000000000000000006064820152608401610669565b610b678a8a8a610b73565b50505050505050505050565b73ffffffffffffffffffffffffffffffffffffffff8316610c15576040517f08c379a0000000000000000000000000000000000000000000000000000000008152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460448201527f72657373000000000000000000000000000000000000000000000000000000006064820152608401610669565b73ffffffffffffffffffffffffffffffffffffffff8216610cb8576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f20616464726560448201527f73730000000000000000000000000000000000000000000000000000000000006064820152608401610669565b73ffffffffffffffffffffffffffffffffffffffff83811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591015b60405180910390a3505050565b73ffffffffffffffffffffffffffffffffffffffff8381166000908152600160209081526040808320938616835292905220547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8114610df85781811015610deb576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000006044820152606401610669565b610df88484848403610b73565b50505050565b73ffffffffffffffffffffffffffffffffffffffff8316610ea1576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f20616460448201527f64726573730000000000000000000000000000000000000000000000000000006064820152608401610669565b73ffffffffffffffffffffffffffffffffffffffff8216610f44576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201527f65737300000000000000000000000000000000000000000000000000000000006064820152608401610669565b73ffffffffffffffffffffffffffffffffffffffff831660009081526020819052604090205481811015610ffa576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e742065786365656473206260448201527f616c616e636500000000000000000000000000000000000000000000000000006064820152608401610669565b73ffffffffffffffffffffffffffffffffffffffff848116600081815260208181526040808320878703905593871680835291849020805487019055925185815290927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a3610df8565b60007f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f611098610430565b8051602091820120604080518082018252600181527f310000000000000000000000000000000000000000000000000000000000000090840152805192830193909352918101919091527fc89efdaa54c0f20c7adf612882df0950f5a951637e0307cdcb4c672f298b8bc66060820152608081018390523060a082015260c001604051602081830303815290604052805190602001209050919050565b73ffffffffffffffffffffffffffffffffffffffff82166111b2576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f2061646472657373006044820152606401610669565b80600260008282546111c49190611629565b909155505073ffffffffffffffffffffffffffffffffffffffff8216600081815260208181526040808320805486019055518481527fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a35050565b73ffffffffffffffffffffffffffffffffffffffff82166112cb576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f2061646472657360448201527f73000000000000000000000000000000000000000000000000000000000000006064820152608401610669565b73ffffffffffffffffffffffffffffffffffffffff821660009081526020819052604090205481811015611381576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e60448201527f63650000000000000000000000000000000000000000000000000000000000006064820152608401610669565b73ffffffffffffffffffffffffffffffffffffffff83166000818152602081815260408083208686039055600280548790039055518581529192917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9101610d1a565b600060208083528351808285015260005b81811015611411578581018301518582016040015282016113f5565b5060006040828601015260407fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f8301168501019250505092915050565b803573ffffffffffffffffffffffffffffffffffffffff8116811461147457600080fd5b919050565b6000806040838503121561148c57600080fd5b61149583611450565b946020939093013593505050565b6000806000606084860312156114b857600080fd5b6114c184611450565b92506114cf60208501611450565b9150604084013590509250925092565b6000602082840312156114f157600080fd5b6114fa82611450565b9392505050565b600080600080600080600060e0888a03121561151c57600080fd5b61152588611450565b965061153360208901611450565b95506040880135945060608801359350608088013560ff8116811461155757600080fd5b9699959850939692959460a0840135945060c09093013592915050565b6000806040838503121561158757600080fd5b61159083611450565b915061159e60208401611450565b90509250929050565b600181811c908216806115bb57607f821691505b6020821081036115f4577f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b808201808211156104d6576104d66115fa565b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff820361166d5761166d6115fa565b506001019056fea26469706673582212208d88fee561cff7120d381c345cfc534cef8229a272dc5809d4bbb685ad67141164736f6c63430008110033"
}
Returns the value from a storage position at a given address.
This endpoint is still experimental and may have potential issues
https://api-zkevm.polygonscan.com/api
?module=proxy
&action=eth_getStorageAt
&address=0xa2036f0538221a77A3937F1379699f44945018d0
&position=0x0
&tag=latest
&apikey=YourApiKeyToken
Query Parameters
Sample Response
{
"jsonrpc": "2.0",
"id": 1,
"result": "0x0000000000000000000000000000000000000000000000000000000000000000"
}
Returns the current price per gas in wei.
https://api-zkevm.polygonscan.com/api
?module=proxy
&action=eth_gasPrice
&apikey=YourApiKeyToken
No parameters required.
Sample Response
{
"jsonrpc": "2.0",
"id": 73,
"result": "0x553c1180"
}
Easily convert ETH units using our unit converter.
Makes a call or transaction, which won't be added to the blockchain and returns the gas used.
https://api-zkevm.polygonscan.com/api
?module=proxy
&action=eth_estimateGas
&data=0x4e71d92d
&to=0xd10c833f4305E1053a64Bc738c550381f48104Ca
&value=0xff22
&gasPrice=0x51da038cc
&gas=2887FA00
&apikey=YourApiKeyToken
Query Parameters
Sample Response
{
"jsonrpc":"2.0",
"id":1,
"result":"0x5248"
}
Try this endpoint in your browser
Try this endpoint in your browser
Parameter | Description |
---|---|
Try this endpoint in your browser
Parameter | Description |
---|---|
Try this endpoint in your browser
Parameter | Description |
---|---|
Try this endpoint in your browser
Parameter | Description |
---|---|
Try this endpoint in your browser
Parameter | Description |
---|---|
Tip: For more information on creating a signed raw transaction, visit this page.
Note: The result
represents the transaction hash of the submitted raw transaction.
Try this endpoint in your browser
Parameter | Description |
---|---|
Try this endpoint in your browser
Parameter | Description |
---|---|
Try this endpoint in your browser
Parameter | Description |
---|---|
Try this endpoint in your browser
Parameter | Description |
---|---|
Try this endpoint in your browser
Tip: The result
is returned in wei.
Try this endpoint in your browser
Parameter | Description |
---|---|
Note: The gas
parameter is capped at 2x the current block gas limit.