Geth/Parity Proxy
For the full documentation of available parameters and descriptions, please visit the official Ethereum JSON-RPC docs.
For compatibility with Parity, please prefix all hex strings with " 0x ".
eth_blockNumber
Returns the number of most recent block
https://api-alfajores.celoscan.io/api
?module=proxy
&action=eth_blockNumber
&apikey=YourApiKeyToken
No parameters required.
Sample response
{
"jsonrpc":"2.0",
"result":"0x118e474",
"id":83
}
eth_getBlockByNumber
Returns information about a block by block number.
https://api-alfajores.celoscan.io/api
?module=proxy
&action=eth_getBlockByNumber
&tag=0x118e474
&boolean=true
&apikey=YourApiKeyToken
Query Parameters
Sample response
{
"jsonrpc":"2.0",
"id":1,
"result":{
"baseFeePerGas":"0x12a05f200",
"epochSnarkData":null,
"extraData":"0xd983010702846765746889676f312e31372e3133856c696e7578000000000000f8b2c0c080b841b3127522e71360040f7ebe8231842574bb10ad98c7cbd77c9b92e4e95061298a7368cc87d837d32624b8d002109af12b4294616b83d314cbe41e31ff9448825b00f58201dbb0e27d06a0b1d7871522ca9aa941f495fded5e3a56277deb60f9897f5dfd1cbe3b15c97f2b8d37d8e787f50ba8ff95cb8080f58203ffb00f209c7dba857b0f6b72431ca5cc75acec2b62d60f6bce8625652efe5ff5f4528aed7bae5ecb6aad7f1ae8fcaf9d910180",
"gasLimit":"0x2160ec0",
"gasUsed":"0x3290c",
"hash":"0x0a269e821c7ec8bfe341c7d8c42cdcdaa14c2d74ff0ca33fd1e591e64094f109",
"logsBloom":"0x00000000080224000000000010008000000000000100000000000000000000000000000000004000000000000000008000000000000008000001000000100000200000000000000000000008000000000000000000000000000008008100000000000000020400080000000020000800000000000000000000000010000000004000000880080000000000000004000008400000000000040000000400000000000000002000000000000000000000000000000000000000040000040000000000004002000800000000000001040000010000000000000000000800000022000000000020000000000000000000000000000000000200008000000000000040",
"miner":"0xef58d4c159712a7f2d3d24ea5362d951bd794531",
"number":"0x118e474",
"parentHash":"0x4447e80c9e58c8976866f4cf9e006e4f7cabb863a6a9095d97a9ab0048dbad4c",
"randomness":{
"committed":"0x2aeabdcd3b8e42f6344a55b887da3305513022a92a23504314f752711e0a86c4",
"revealed":"0x001de760094c8dc4243d2e2c53ef147cf101e79bb268bad4c32dca9db865dcac"
},
"receiptsRoot":"0xa03f9784eb61a67510db5e2872121ae5e82744bd4aa793b2a271cfa00945d8e9",
"size":"0x4de",
"stateRoot":"0xcac9a4a815df7ad8dafa8b1974877bc41a4634fd5e279ad2b69cf00795afa777",
"timestamp":"0x6493ffee",
"totalDifficulty":"0x118e475",
"transactions":[
{
"blockHash":"0x0a269e821c7ec8bfe341c7d8c42cdcdaa14c2d74ff0ca33fd1e591e64094f109",
"blockNumber":"0x118e474",
"from":"0x6100492abd07851311bbd2b637d1b8fbdc0994ab",
"gas":"0x1d5d7",
"gasPrice":"0x5d21dba00",
"maxFeePerGas":"0x5d21dba00",
"maxPriorityFeePerGas":"0x5d21dba00",
"feeCurrency":null,
"gatewayFeeRecipient":null,
"gatewayFee":"0x0",
"hash":"0xee7e9bb63a68750033072abb26df1ba7c6b8a5dc6ed057cfdf496d55acb6a0f3",
"input":"0x379607f50000000000000000000000000000000000000000000000000000000000000002",
"nonce":"0x9",
"to":"0xafa0cc1667406e6fadb39614cfb924a0b54fb50d",
"transactionIndex":"0x0",
"value":"0x0",
"type":"0x2",
"accessList":[
],
"chainId":"0xaef3",
"v":"0x1",
"r":"0x31125bd379225c4c4d31221288bccf861d3147dbcc6b2e9e5f9239c08a67edac",
"s":"0x228fbb90c4a8d00b056de49f3aa7dbb636a172f4c9b456d62aad3be46fb1f66b",
"ethCompatible":false
},
{
"blockHash":"0x0a269e821c7ec8bfe341c7d8c42cdcdaa14c2d74ff0ca33fd1e591e64094f109",
"blockNumber":"0x118e474",
"from":"0x6131a6d616a4be3737b38988847270a64bc10caa",
"gas":"0x9ff6",
"gasPrice":"0x5d21dba00",
"feeCurrency":null,
"gatewayFeeRecipient":null,
"gatewayFee":"0x0",
"hash":"0xad3f23b3088f773be4b7132bac4291a9e94549b05e532b32d4853132ac5c7a26",
"input":"0x",
"nonce":"0x519de",
"to":"0x6131a6d616a4be3737b38988847270a64bc10caa",
"transactionIndex":"0x1",
"value":"0x1",
"type":"0x0",
"v":"0x15e0a",
"r":"0x518e30554a5d46a0e8b4999b48a2705d0e34816754a9cc2e97e7d64b1f667a67",
"s":"0x28dd57fa2677e6516c8da14a126a3c777ef2e3b0b77ea49b9730f1147d5976f4",
"ethCompatible":false
},
{
"blockHash":"0x0a269e821c7ec8bfe341c7d8c42cdcdaa14c2d74ff0ca33fd1e591e64094f109",
"blockNumber":"0x118e474",
"from":"0x37b9dd1597558d2d77c929533f74d11feadc30df",
"gas":"0x3aa4c",
"gasPrice":"0x2a8ea5c7c",
"feeCurrency":"0x874069fa1eb16d44d622f2e0ca25eea172369bc1",
"gatewayFeeRecipient":null,
"gatewayFee":"0x0",
"hash":"0xf567ffe5b4544a8f872f9a736a9599364497373589055202b8e32564eccc7981",
"input":"0xe1d6aceb000000000000000000000000e5f5363e31351c38ac82dbadead91fd5a7b0884600000000000000000000000000000000000000000000000000470de4df82000000000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000000",
"nonce":"0x0",
"to":"0x874069fa1eb16d44d622f2e0ca25eea172369bc1",
"transactionIndex":"0x2",
"value":"0x0",
"type":"0x0",
"v":"0x15e0a",
"r":"0xdcbb7f32c3fdb790a1d3f1aa17c98f6e372ae1d3b0324a10e8b45de75b6669bf",
"s":"0x5886037a8085696c115d2f779c88daa57546b32cbd9182be40fd86769a14dc99",
"ethCompatible":false
}
],
"transactionsRoot":"0xa9cb2dc02c56df58f7f2446bb519248f6a32021af2551502bb9fbd6b3006d356"
}
}
eth_getUncleByBlockNumberAndIndex
Returns information about a uncle by block number.
https://api-alfajores.celoscan.io/api
?module=proxy
&action=eth_getUncleByBlockNumberAndIndex
&tag=0x585842
&index=0x0
&apikey=YourApiKeyToken
Query Parameters
Sample response
{
"jsonrpc":"2.0",
"result":{
"author":"0xfbb61b8b98a59fbc4bd79c23212addbefaeb289f",
"baseFeePerGas":"0x8",
"difficulty":"0x8b2beb4a",
"extraData":"0xd883010a08846765746888676f312e31372e31856c696e7578",
"gasLimit":"0x7a1200",
"gasUsed":"0x5de46",
"hash":"0x40f6c83833c19d5bd7a03c931cc7784e9f65557a1570e5f229861d74a6ec5e62",
"logsBloom":"0x00000000000000000000000000000000000004000000000000000000000000000000000000000000001000000000000001000000000000000000000000200000040000000000000000000208001000000082000000000000000000080000000020000000000000020000000000000000000000200000001000000010100000000004100010000050000000000000000000000000080000000000000000000008000000000000000000000000100002000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000000000000002002000000000000000000000000000000000200000000",
"miner":"0xfbb61b8b98a59fbc4bd79c23212addbefaeb289f",
"mixHash":"0x4700359ce304acd4482ef9a7ef92769be95963957409820ccdd29b36af1481eb",
"nonce":"0x56bbab3526efb0ac",
"number":"0xac3530",
"parentHash":"0x05214ed8e1e9d6d7f44717e1026016d306cbe82bc1aac908a91a0f64f02819dd",
"receiptsRoot":"0x4c96e79395af99a0603d8068cbc078a0426f0b6d0a5b49c86c941d195b1cec75",
"sealFields":[
"0xa04700359ce304acd4482ef9a7ef92769be95963957409820ccdd29b36af1481eb",
"0x8856bbab3526efb0ac"
],
"sha3Uncles":"0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347",
"size":"0x1021",
"stateRoot":"0x9e8222fbd8dc7240d00266e60167b179026945ae2bb835d3a64a17c4027bc4e2",
"timestamp":"0x61744e25",
"totalDifficulty":"0x7dbee62f001b5c",
"transactions":[
],
"transactionsRoot":"0x3d97832e2c4830815208920f5510f5d97d7b8b078e94a494c5a19b9733faac20",
"uncles":[
]
},
"id":1
}
eth_getBlockTransactionCountByNumber
Returns the number of transactions in a block.
https://api-alfajores.celoscan.io/api
?module=proxy
&action=eth_getBlockTransactionCountByNumber
&tag=0x585842
&apikey=YourApiKeyToken
Query Parameters
Sample response
{
"jsonrpc":"2.0",
"result":"0x4",
"id":1
}
eth_getTransactionByHash
Returns the information about a transaction requested by transaction hash.
https://api-alfajores.celoscan.io/api
?module=proxy
&action=eth_getTransactionByHash
&txhash=0xd148bd8f6dec3058355ec1806a55f26e4f374ec6146af1b90e0563a3b53765ec
&apikey=YourApiKeyToken
Query Parameters
Sample Response
{
"jsonrpc":"2.0",
"id":1,
"result":{
"blockHash":"0xb8414f838e4840cd0ae119fc8623af260bdf79d1e8283ac98464743c2c7052bf",
"blockNumber":"0x118e407",
"from":"0x22579ca45ee22e2e16ddf72d955d6cf4c767b0ef",
"gas":"0xf1c4",
"gasPrice":"0x5d21dba00",
"feeCurrency":null,
"gatewayFeeRecipient":null,
"gatewayFee":"0x0",
"hash":"0xd148bd8f6dec3058355ec1806a55f26e4f374ec6146af1b90e0563a3b53765ec",
"input":"0xa9059cbb0000000000000000000000006100492abd07851311bbd2b637d1b8fbdc0994ab00000000000000000000000000000000000000000000000006f05b59d3b20000",
"nonce":"0xa568b",
"to":"0xf194afdf50b03e69bd7d057c1aa9e10c9954e4c9",
"transactionIndex":"0x0",
"value":"0x0",
"type":"0x0",
"v":"0x15e09",
"r":"0x7b25b9de9100b7b139a2a3bc0a9824091d07e95bf3369c2868e0035a86e9af9a",
"s":"0x154d5661d3b8f333ac3b496ef0581ea7b0b37ab57eb1eda278b67171b69cf753",
"ethCompatible":false
}
}
eth_getTransactionByBlockNumberAndIndex
Returns information about a transaction by block number and transaction index position.
https://api-alfajores.celoscan.io/api
?module=proxy
&action=eth_getTransactionByBlockNumberAndIndex
&tag=0x585842
&index=0x1
&apikey=YourApiKeyToken
Query Parameters
Sample Response
{
"jsonrpc":"2.0",
"result":{
"accessList":[
],
"blockHash":"0x60d94a8232c1bc35fd15467cda7ea578861242433611cf50099fa73943ae8c1a",
"blockNumber":"0x585842",
"chainId":"0x5",
"condition":null,
"creates":null,
"from":"0x3f88c2b3e267e6b8e9de017cdb47a59ac9ecb284",
"gas":"0xb6bb",
"gasPrice":"0x73a20e2c",
"hash":"0x209621362617f04a186e084ad83fc8e09e8630361b0b23f0ab237431934e041f",
"input":"0x8defd82500000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000cec0300000000000000000000000000000000000000000000000000000000000cec0310000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000300000000000000000000000000000000000000000000000000000000000000c0000000000000000000000000000000000000000000000000000000000000002e516d54724e6d6a6b663143383536476f5132356f5a7743766565666642695a32524333426e6a3577685547687555000000000000000000000000000000000000",
"maxFeePerGas":"0x73a20e33",
"maxPriorityFeePerGas":"0x73a20e25",
"nonce":"0x17c6d",
"publicKey":"0x327daee82733c16efcfffa86604fe90059d6832c4b749d90af6a7977216ac2fdc986fd769ba5219d942333a8f2175c7df1d3f9df3339f42f785dce4d0c60798d",
"r":"0x1f210f7d433555458d8ff0e7015b9aaaaec11da17bdee79be5030fde3056dce8",
"raw":"0x02f901930583017c6d8473a20e258473a20e3382b6bb94c0556fc048b0f189f412dbba536abd1a4ebd134980b901248defd82500000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000cec0300000000000000000000000000000000000000000000000000000000000cec0310000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000300000000000000000000000000000000000000000000000000000000000000c0000000000000000000000000000000000000000000000000000000000000002e516d54724e6d6a6b663143383536476f5132356f5a7743766565666642695a32524333426e6a3577685547687555000000000000000000000000000000000000c001a01f210f7d433555458d8ff0e7015b9aaaaec11da17bdee79be5030fde3056dce8a0098d075fa878c305945675005bb77a620e5bc8234dde477257923d317c4b1094",
"s":"0x98d075fa878c305945675005bb77a620e5bc8234dde477257923d317c4b1094",
"to":"0xc0556fc048b0f189f412dbba536abd1a4ebd1349",
"transactionIndex":"0x1",
"type":"0x2",
"v":"0x1",
"value":"0x0"
},
"id":1
}
eth_getTransactionCount
Returns the number of transactions performed by an address.
https://api-alfajores.celoscan.io/api
?module=proxy
&action=eth_getTransactionCount
&address=0x3f88c2b3e267e6b8e9de017cdb47a59ac9ecb284
&tag=latest
&apikey=YourApiKeyToken
Query Parameters
Sample Response
{
"jsonrpc":"2.0",
"result":"0x17c78",
"id":1
}
eth_sendRawTransaction
Submits a pre-signed transaction for broadcast to the Ethereum network.
https://api-alfajores.celoscan.io/api
?module=proxy
&action=eth_sendRawTransaction
&hex=0x02f874030185012a05f200852e90edd00082520894eeee7341f206302f2216e39d715b96d8c6901a1c880de0b6b3a764000080c001a0bf61ea5419c7856be4ea2221b721b849d50fec738d10a714e7aaa809d9ad8838a01e59353aa8e567cc0661fb58b047361998df234df6593bf424839bc5ea214a2c
&apikey=YourApiKeyToken
Query Parameters
Sample Response
{
"id":1,
"jsonrpc": "2.0",
"result": "0x84c81fc1e23474e13be0114f94f99b43696830f33292fd1d642f37e87e95acd6"
}
Use eth_getTransactionReceipt to retrieve full details.
eth_getTransactionReceipt
Returns the receipt of a transaction by transaction hash.
https://api-alfajores.celoscan.io/api
?module=proxy
&action=eth_getTransactionReceipt
&txhash=0x052c3959d6d25abb1892b7d796dda57965790d1f05a073514a25f5a1b025bf20
&apikey=YourApiKeyToken
Query Parameters
Sample Response
{
"jsonrpc":"2.0",
"result":{
"blockHash":"0xda20d1ebb7e93eaacfb0462f201c9d86838050025752644a1171349d61270652",
"blockNumber":"0x58580e",
"contractAddress":null,
"cumulativeGasUsed":"0xb5b9",
"effectiveGasPrice":"0x73a20e2c",
"from":"0x3f88c2b3e267e6b8e9de017cdb47a59ac9ecb284",
"gasUsed":"0xb5b9",
"logs":[
{
"address":"0xc0556fc048b0f189f412dbba536abd1a4ebd1349",
"blockHash":"0xda20d1ebb7e93eaacfb0462f201c9d86838050025752644a1171349d61270652",
"blockNumber":"0x58580e",
"data":"0x0000000000000000000000000000000000000000000000000000000000cec0050000000000000000000000000000000000000000000000000000000000cec0050000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000300000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000000000000000000000000000000000000000002e516d6171635a676e7877336671555a633962574861674a6470455641724168425a6d6258423847734b72527a4d77000000000000000000000000000000000000",
"logIndex":"0x0",
"removed":false,
"topics":[
"0x28be462f7201a7fb00d382965861c289c80b933d88532b002b59f45beaee83f2",
"0xd8f069ff1b7ce592606c367fb3c32f44b8f7614f75f3fc616ce9337e8bea7196",
"0x0000000000000000000000003f88c2b3e267e6b8e9de017cdb47a59ac9ecb284",
"0x0000000000000000000000000000000000000000000000000000000000000001"
],
"transactionHash":"0x052c3959d6d25abb1892b7d796dda57965790d1f05a073514a25f5a1b025bf20",
"transactionIndex":"0x0",
"transactionLogIndex":"0x0",
"type":"mined"
}
],
"logsBloom":"0x00000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000000000000000000000000000040000000001000000000000000000000000800000000000040000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000200000000000000000000000000100000000080000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000040000000200000000000000000000000000000000000000100000000000004020000",
"status":"0x1",
"to":"0xc0556fc048b0f189f412dbba536abd1a4ebd1349",
"transactionHash":"0x052c3959d6d25abb1892b7d796dda57965790d1f05a073514a25f5a1b025bf20",
"transactionIndex":"0x0",
"type":"0x2"
},
"id":1
}
eth_call
Executes a new message call immediately without creating a transaction on the block chain.
https://api-alfajores.celoscan.io/api
?module=proxy
&action=eth_call
&to=0xfab2b4b677a4e104759d378ea25504862150256e
&data=0x
&tag=latest
&apikey=YourApiKeyToken
Query Parameters
Sample Response
{
"jsonrpc":"2.0",
"result":"0x",
"id":1
}
eth_getCode
Returns code at a given address.
https://api-alfajores.celoscan.io/api
?module=proxy
&action=eth_getCode
&address=0x75ccaf64919659bc6b26b3a29380d65491fbff0b
&tag=latest
&apikey=YourApiKeyToken
Query Parameters
Sample Response
{
"jsonrpc":"2.0",
"result":"0x6080604052600436106100ab5760003560e01c806378b91e701161006457806378b91e70146102b6578063871b8ff1146102cb5780638773334c146102e0578063b269b9ae14610309578063c3f596871461031e578063f00e6a2a14610351576100ba565b806325394645146100c25780632a3174f41461013f5780633b154b7314610166578063439fab911461017b5780635a99719e146101f85780636fc4914014610229576100ba565b366100ba576100b8610366565b005b6100b8610366565b3480156100ce57600080fd5b506100b8600480360360208110156100e557600080fd5b81019060208101813564010000000081111561010057600080fd5b82018360208201111561011257600080fd5b8035906020019184600183028401116401000000008311171561013457600080fd5b509092509050610397565b34801561014b57600080fd5b506101546103cc565b60408051918252519081900360200190f35b34801561017257600080fd5b506100b86104fe565b34801561018757600080fd5b506100b86004803603602081101561019e57600080fd5b8101906020810181356401000000008111156101b957600080fd5b8201836020820111156101cb57600080fd5b803590602001918460018302840111640100000000831117156101ed57600080fd5b50909250905061061a565b34801561020457600080fd5b5061020d61064f565b604080516001600160a01b039092168252519081900360200190f35b34801561023557600080fd5b506100b86004803603604081101561024c57600080fd5b6001600160a01b03823516919081019060408101602082013564010000000081111561027757600080fd5b82018360208201111561028957600080fd5b803590602001918460018302840111640100000000831117156102ab57600080fd5b509092509050610674565b3480156102c257600080fd5b506100b86107d4565b3480156102d757600080fd5b506100b86108ed565b3480156102ec57600080fd5b506102f5610a06565b604080519115158252519081900360200190f35b34801561031557600080fd5b506100b8610b1a565b34801561032a57600080fd5b506100b86004803603602081101561034157600080fd5b50356001600160a01b0316610c33565b34801561035d57600080fd5b5061020d610c85565b6000610370610c85565b905060405136600082376000803683855af43d806000843e818015610393578184f35b8184fd5b6040805162461bcd60e51b8152602060048201526005602482015264757067313160d81b604482015290519081900360640190fd5b60008060006103d9610c85565b60408051600481526024810182526020810180516001600160e01b0316630a8c5d3d60e21b178152915181516001600160a01b039490941693919290918291908083835b6020831061043c5780518252601f19909201916020918201910161041d565b6001836020036101000a038019825116818451168082178552505050505050905001915050600060405180830381855af49150503d806000811461049c576040519150601f19603f3d011682016040523d82523d6000602084013e6104a1565b606091505b5091509150816104e0576040805162461bcd60e51b8152602060048201526005602482015264756e70313160d81b604482015290519081900360640190fd5b8080602001905160208110156104f557600080fd5b50519250505090565b61050733610caa565b6000610511610c85565b60408051600481526024810182526020810180516001600160e01b0316633b154b7360e01b178152915181516001600160a01b039490941693919290918291908083835b602083106105745780518252601f199092019160209182019101610555565b6001836020036101000a038019825116818451168082178552505050505050905001915050600060405180830381855af49150503d80600081146105d4576040519150601f19603f3d011682016040523d82523d6000602084013e6105d9565b606091505b5050905080610617576040805162461bcd60e51b81526020600482015260056024820152646e7073313160d81b604482015290519081900360640190fd5b50565b6040805162461bcd60e51b8152602060048201526005602482015264696e69313160d81b604482015290519081900360640190fd5b7fb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d61035490565b61067d33610caa565b61068683610cfc565b6000610690610c85565b6001600160a01b031683836040516024018080602001828103825284848281815260200192508082843760008382015260408051601f909201601f1990811690940182810390940182529283526020810180516001600160e01b0316632539464560e01b17815292518151919750955085945091925081905083835b6020831061072b5780518252601f19909201916020918201910161070c565b6001836020036101000a038019825116818451168082178552505050505050905001915050600060405180830381855af49150503d806000811461078b576040519150601f19603f3d011682016040523d82523d6000602084013e610790565b606091505b50509050806107ce576040805162461bcd60e51b8152602060048201526005602482015264756675313160d81b604482015290519081900360640190fd5b50505050565b6107dd33610caa565b60006107e7610c85565b60408051600481526024810182526020810180516001600160e01b031663078b91e760e41b178152915181516001600160a01b039490941693919290918291908083835b6020831061084a5780518252601f19909201916020918201910161082b565b6001836020036101000a038019825116818451168082178552505050505050905001915050600060405180830381855af49150503d80600081146108aa576040519150601f19603f3d011682016040523d82523d6000602084013e6108af565b606091505b5050905080610617576040805162461bcd60e51b8152602060048201526005602482015264757073313160d81b604482015290519081900360640190fd5b6108f633610caa565b6000610900610c85565b60408051600481526024810182526020810180516001600160e01b031663871b8ff160e01b178152915181516001600160a01b039490941693919290918291908083835b602083106109635780518252601f199092019160209182019101610944565b6001836020036101000a038019825116818451168082178552505050505050905001915050600060405180830381855af49150503d80600081146109c3576040519150601f19603f3d011682016040523d82523d6000602084013e6109c8565b606091505b5050905080610617576040805162461bcd60e51b8152602060048201526005602482015264707563313160d81b604482015290519081900360640190fd5b6000806000610a13610c85565b60408051600481526024810182526020810180516001600160e01b03166321dcccd360e21b178152915181516001600160a01b039490941693919290918291908083835b60208310610a765780518252601f199092019160209182019101610a57565b6001836020036101000a038019825116818451168082178552505050505050905001915050600060405180830381855af49150503d8060008114610ad6576040519150601f19603f3d011682016040523d82523d6000602084013e610adb565b606091505b5091509150816104e0576040805162461bcd60e51b8152602060048201526005602482015264726675313160d81b604482015290519081900360640190fd5b610b2333610caa565b6000610b2d610c85565b60408051600481526024810182526020810180516001600160e01b0316635934dcd760e11b178152915181516001600160a01b039490941693919290918291908083835b60208310610b905780518252601f199092019160209182019101610b71565b6001836020036101000a038019825116818451168082178552505050505050905001915050600060405180830381855af49150503d8060008114610bf0576040519150601f19603f3d011682016040523d82523d6000602084013e610bf5565b606091505b5050905080610617576040805162461bcd60e51b8152602060048201526005602482015264707566313160d81b604482015290519081900360640190fd5b610c3c33610caa565b6001600160a01b038116610c7c576040805162461bcd60e51b81526020600482015260026024820152610c5960f21b604482015290519081900360640190fd5b61061781610d20565b7f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc5490565b610cb261064f565b6001600160a01b0316816001600160a01b031614610617576040805162461bcd60e51b8152602060048201526002602482015261316360f01b604482015290519081900360640190fd5b7f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc55565b7fb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d61035556fea264697066735822122082bfe951767a04e426dacce75618d58bcf3c6e6e9e996816a519a2d5d653615d64736f6c63430007060033",
"id":1
}
eth_getStorageAt
Returns the value from a storage position at a given address.
This endpoint is still experimental and may have potential issues
https://api-alfajores.celoscan.io/api
?module=proxy
&action=eth_getStorageAt
&address=0x520911f182564ba3642432963028d4d35fc79287
&position=0x0
&tag=latest
&apikey=YourApiKeyToken
Query Parameters
Sample Response
{
"jsonrpc":"2.0",
"result":"0x0000000000000000000000005ffa688ad60158ac09edc93bca72fbb496b5fd9a",
"id":1
}
eth_gasPrice
Returns the current price per gas in wei.
https://api-alfajores.celoscan.io/api
?module=proxy
&action=eth_gasPrice
&apikey=YourApiKeyToken
No parameters required.
Sample Response
{
"jsonrpc":"2.0",
"result":"0x7029fe63",
"id":73
}
Easily convert CELO units using our unit converter.
eth_estimateGas
Makes a call or transaction, which won't be added to the blockchain and returns the used gas.
https://api-alfajores.celoscan.io/api
?module=proxy
&action=eth_estimateGas
&data=0x
&to=0xe84d601e5d945031129a83e5602be0cc7f182cf3
&value=0x1
&gasPrice=0x51da038cc
&gas=0x186A0
&apikey=YourApiKeyToken
Query Parameters
Sample Response
{
"jsonrpc":"2.0",
"result":"0x5208",
"id":1
}
Last updated