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.kromascan.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":"0xc36b29"
}
eth_getBlockByNumber
Returns information about a block by block number.
https://api.kromascan.com/api
?module=proxy
&action=eth_getBlockByNumber
&tag=0x10d4f
&boolean=true
&apikey=YourApiKeyToken
Try this endpoint in your browser 🔗
Query Parameters
Parameter | Description |
---|---|
tag | the block number, in hex eg. |
boolean | the when |
Sample response
{
"jsonrpc":"2.0",
"id":1,
"result":{
"baseFeePerGas":"0x5cfe76044",
"difficulty":"0x1b4ac252b8a531",
"extraData":"0xd883010a06846765746888676f312e31362e36856c696e7578",
"gasLimit":"0x1caa87b",
"gasUsed":"0x5f036a",
"hash":"0x396288e0ad6690159d56b5502a172d54baea649698b4d7af2393cf5d98bf1bb3",
"logsBloom":"0x5020418e211832c600000411c00098852850124700800500580d406984009104010420410c00420080414b044000012202448082084560844400d00002202b1209122000812091288804302910a246e25380282000e00002c00050009038cc205a018180028225218760100040820ac12302840050180448420420b000080000410448288400e0a2c2402050004024a240200415016c105844214060005009820302001420402003200452808508401014690208808409000033264a1b0d200c1200020280000cc0220090a8000801c00b0100a1040a8110420111870000250a22dc210a1a2002409c54140800c9804304b408053112804062088bd700900120",
"miner":"0x5a0b54d5dc17e0aadc383d2db43b0a0d3e029c4c",
"mixHash":"0xc547c797fb85c788ecfd4f5d24651bddf15805acbaad2c74b96b0b2a2317e66c",
"nonce":"0x04a99df972bd8412",
"number":"0xc63251",
"parentHash":"0xbb2d43395f93dab5c424421be22d874f8c677e3f466dc993c218fa2cd90ef120",
"receiptsRoot":"0x3de3b59d208e0fd441b6a2b3b1c814a2929f5a2d3016716465d320b4d48cc1e5",
"sha3Uncles":"0xee2e81479a983dd3d583ab89ec7098f809f74485e3849afb58c2ea8e64dd0930",
"size":"0x6cb6",
"stateRoot":"0x60fdb78b92f0e621049e0aed52957971e226a11337f633856d8b953a56399510",
"timestamp":"0x6110bab2",
"totalDifficulty":"0x612789b0aba90e580f8",
"transactions":[
"0x40330c87750aa1ba1908a787b9a42d0828e53d73100ef61ae8a4d925329587b5",
"0x6fa2208790f1154b81fc805dd7565679d8a8cc26112812ba1767e1af44c35dd4",
"0xe31d8a1f28d4ba5a794e877d65f83032e3393809686f53fa805383ab5c2d3a3c",
"0xa6a83df3ca7b01c5138ec05be48ff52c7293ba60c839daa55613f6f1c41fdace",
"0x4e46edeb68a62dde4ed081fae5efffc1fb5f84957b5b3b558cdf2aa5c2621e17",
"0x356ee444241ae2bb4ce9f77cdbf98cda9ffd6da244217f55465716300c425e82",
"0x1a4ec2019a3f8b1934069fceff431e1370dcc13f7b2561fe0550cc50ab5f4bbc",
"0xad7994bc966aed17be5d0b6252babef3f56e0b3f35833e9ac414b45ed80dac93"
],
"transactionsRoot":"0xaceb14fcf363e67d6cdcec0d7808091b764b4428f5fd7e25fb18d222898ef779",
"uncles":[
"0x9e8622c7bf742bdeaf96c700c07151c1203edaf17a38ea8315b658c2e6d873cd"
]
}
}
eth_getBlockTransactionCountByNumber
Returns the number of transactions in a block.
https://api.kromascan.com/api
?module=proxy
&action=eth_getBlockTransactionCountByNumber
&tag=0x10FB78
&apikey=YourApiKeyToken
Try this endpoint in your browser 🔗
Query Parameters
Parameter | Description |
---|---|
tag | the block number, in hex eg. |
Sample response
{
"jsonrpc":"2.0",
"id":1,
"result":"0x1"
}
eth_getTransactionByHash
Returns the information about a transaction requested by transaction hash.
https://api.kromascan.com/api
?module=proxy
&action=eth_getTransactionByHash
&txhash=0xb971101419ff4a56420f6e8a689f6017388790c2e2b2bafea994a3d9afba0589
&apikey=YourApiKeyToken
Try this endpoint in your browser 🔗
Query Parameters
Parameter | Description |
---|---|
txhash | the |
Sample Response
{
"jsonrpc": "2.0",
"id": 1,
"result": {
"blockHash": "0x08f7bd2944b5bac8dcbd84f21af458a24f979c0c2638bb922cb8ba4e4bda3bc6",
"blockNumber": "0x40a26e",
"from": "0xcd93ef1ce3adc9aa7c46ec4bc3a2fd76db1d1f19",
"gas": "0x569df",
"gasPrice": "0x989680",
"maxFeePerGas": "0x989680",
"maxPriorityFeePerGas": "0x989680",
"hash": "0xb971101419ff4a56420f6e8a689f6017388790c2e2b2bafea994a3d9afba0589",
"input": "0x75ceafe6000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000cd93ef1ce3adc9aa7c46ec4bc3a2fd76db1d1f190000000000000000000000000000000000000000000000000000000002b8daba0000000000000000000000000000000000000000000000000048405404f0baf7000000000000000000000000000000000000000000000000000000006577d76e000000000000000000000000000000000000000000000000000000000000002b0cf7c2a584988871b654bd79f96899e4cd6c41c00001f44200000000000000000000000000000000000001000000000000000000000000000000000000000000",
"nonce": "0x10",
"to": "0x02f55d53dce23b4aa962cc68b0f685f26143bdb2",
"transactionIndex": "0x1",
"value": "0x0",
"type": "0x2",
"accessList": [],
"chainId": "0xff",
"v": "0x1",
"r": "0xef3e9d42dcdde122d873f64c1b4567c09b7b5c88f1552af399d9f966c630dd3f",
"s": "0x27857916a49abcf9b1f81cdf1cfc5496f6b3cc3e9bc9f04f2121cf89d863950c"
}
}
eth_getTransactionByBlockNumberAndIndex
Returns information about a transaction by block number and transaction index position.
https://api.kromascan.com/api
?module=proxy
&action=eth_getTransactionByBlockNumberAndIndex
&tag=40A62A
&apikey=YourApiKeyToken
Try this endpoint in your browser 🔗
Query Parameters
Parameter | Description |
---|---|
tag | the block number, in hex eg. |
Sample Response
{
"jsonrpc": "2.0",
"id": 1,
"result": {
"blockHash": "0xd373e338e709942f0e3cf4b23c40af8ce7583ad45bf6b024915f841258f3be1a",
"blockNumber": "0x40a62a",
"from": "0xdeaddeaddeaddeaddeaddeaddeaddeaddead0001",
"gas": "0xf4240",
"gasPrice": "0x0",
"hash": "0x18f930539833e83c168bb23907bae1d05cde9fa6b93c7fa62338db3034376548",
"input": "0xefc674eb00000000000000000000000000000000000000000000000000000000011e5f04000000000000000000000000000000000000000000000000000000006577dc570000000000000000000000000000000000000000000000000000000767a3d4ecc8731fe74ab1721e321d567b566ef55c110a7374d9c81d0b6fcc0f8fa4924c04000000000000000000000000000000000000000000000000000000000000000200000000000000000000000041b8cd6791de4d8f9e0eaf7861ac506822adce1200000000000000000000000000000000000000000000000000000000000000bc00000000000000000000000000000000000000000000000000000000000a6fe00000000000000000000000000000000000000000000000000000000000001388",
"nonce": "0x40a62a",
"to": "0x4200000000000000000000000000000000000002",
"transactionIndex": "0x0",
"value": "0x0",
"type": "0x7e",
"v": "0x0",
"r": "0x0",
"s": "0x0",
"sourceHash": "0x3b74631cf8d3ea88f299ee466be9571bf3bcd3fc539a751980eaa94f55dba673",
"mint": "0x0"
}
}
eth_getTransactionCount
Returns the number of transactions performed by an address.
https://api.kromascan.com/api
?module=proxy
&action=eth_getTransactionCount
&address=0xcd93ef1ce3adc9aa7c46ec4bc3a2fd76db1d1f19
&tag=latest
&apikey=YourApiKeyToken
Try this endpoint in your browser 🔗
Query Parameters
Parameter | Description |
---|---|
address | the |
tag | the |
Sample Response
{
"jsonrpc":"2.0",
"id":1,
"result":"0x16"
}
eth_sendRawTransaction
Submits a pre-signed transaction for broadcast to the Ethereum network.
https://api.kromascan.com/api
?module=proxy
&action=eth_sendRawTransaction
&hex=0xf904808000831cfde080
&apikey=YourApiKeyToken
Try this endpoint in your browser 🔗
Query Parameters
Parameter | Description |
---|---|
hex | the |
💡 Tip: Send a POST request if your hex string is particularly long.
🖋️ For more information on creating a signed raw transaction, visit this page.
Sample Response
{
"id":1,
"jsonrpc": "2.0",
"result": "0xe670ec64341771606e55d6b4ca35a1a6b75ee3d5145a99d05921026d1527331"
}
⛏️ Note: The result
represents the transaction hash of the submitted raw transaction.
Use eth_getTransactionReceipt to retrieve full details.
eth_getTransactionReceipt
Returns the receipt of a transaction by transaction hash.
https://api.kromascan.com/api
?module=proxy
&action=eth_getTransactionReceipt
&txhash=0xb971101419ff4a56420f6e8a689f6017388790c2e2b2bafea994a3d9afba0589
&apikey=YourApiKeyToken
Try this endpoint in your browser 🔗
Query Parameters
Parameter | Description |
---|---|
txhash | the |
Sample Response
{
"jsonrpc": "2.0",
"id": 1,
"result": {
"blockHash": "0x08f7bd2944b5bac8dcbd84f21af458a24f979c0c2638bb922cb8ba4e4bda3bc6",
"blockNumber": "0x40a26e",
"contractAddress": null,
"cumulativeGasUsed": "0x48d07",
"effectiveGasPrice": "0x989680",
"from": "0xcd93ef1ce3adc9aa7c46ec4bc3a2fd76db1d1f19",
"gasUsed": "0x38942",
"l1Fee": "0x48f1d2e841d3",
"l1FeeScalar": "0.684",
"l1GasPrice": "0x6edddca4c",
"l1GasUsed": "0xea8",
"logs": [
{
"address": "0x4200000000000000000000000000000000000001",
"topics": [
"0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef",
"0x0000000000000000000000001782d71a0f16efcb632baf210a54ce641852a138",
"0x000000000000000000000000cd93ef1ce3adc9aa7c46ec4bc3a2fd76db1d1f19"
],
"data": "0x00000000000000000000000000000000000000000000000000489d464a6eb955",
"blockNumber": "0x40a26e",
"transactionHash": "0xb971101419ff4a56420f6e8a689f6017388790c2e2b2bafea994a3d9afba0589",
"transactionIndex": "0x1",
"blockHash": "0x08f7bd2944b5bac8dcbd84f21af458a24f979c0c2638bb922cb8ba4e4bda3bc6",
"logIndex": "0x0",
"removed": false
},
{
"address": "0x0cf7c2a584988871b654bd79f96899e4cd6c41c0",
"topics": [
"0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925",
"0x000000000000000000000000cd93ef1ce3adc9aa7c46ec4bc3a2fd76db1d1f19",
"0x00000000000000000000000002f55d53dce23b4aa962cc68b0f685f26143bdb2"
],
"data": "0x0000000000000000000000000000000000000000000000000000000000000004",
"blockNumber": "0x40a26e",
"transactionHash": "0xb971101419ff4a56420f6e8a689f6017388790c2e2b2bafea994a3d9afba0589",
"transactionIndex": "0x1",
"blockHash": "0x08f7bd2944b5bac8dcbd84f21af458a24f979c0c2638bb922cb8ba4e4bda3bc6",
"logIndex": "0x1",
"removed": false
},
{
"address": "0x0cf7c2a584988871b654bd79f96899e4cd6c41c0",
"topics": [
"0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef",
"0x000000000000000000000000cd93ef1ce3adc9aa7c46ec4bc3a2fd76db1d1f19",
"0x0000000000000000000000001782d71a0f16efcb632baf210a54ce641852a138"
],
"data": "0x0000000000000000000000000000000000000000000000000000000002b8daba",
"blockNumber": "0x40a26e",
"transactionHash": "0xb971101419ff4a56420f6e8a689f6017388790c2e2b2bafea994a3d9afba0589",
"transactionIndex": "0x1",
"blockHash": "0x08f7bd2944b5bac8dcbd84f21af458a24f979c0c2638bb922cb8ba4e4bda3bc6",
"logIndex": "0x2",
"removed": false
},
{
"address": "0x1782d71a0f16efcb632baf210a54ce641852a138",
"topics": [
"0x0fe977d619f8172f7fdbe8bb8928ef80952817d96936509f67d66346bc4cd10f",
"0x0000000000000000000000000cf7c2a584988871b654bd79f96899e4cd6c41c0",
"0x0000000000000000000000004200000000000000000000000000000000000001",
"0x00000000000000000000000000000000000000000000000000000000000001f4"
],
"data": "0x00000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000002b8daba00000000000000000000000000000000000000000000000000489d464a6eb9550000000000000000000000000000000000000000000000000000000000030a21",
"blockNumber": "0x40a26e",
"transactionHash": "0xb971101419ff4a56420f6e8a689f6017388790c2e2b2bafea994a3d9afba0589",
"transactionIndex": "0x1",
"blockHash": "0x08f7bd2944b5bac8dcbd84f21af458a24f979c0c2638bb922cb8ba4e4bda3bc6",
"logIndex": "0x3",
"removed": false
}
],
"logsBloom": "0x00000000000000000000000000000000000000002000000000000000000000000480000000000000800000000000000000004000000000040000000200200000000000000001000001000008000020000000000000008000200000000000000000000000001000020000000000001000020000008000000000000010000004000000000000000000000000000000000000000000000000000000000000000000028000002000000000000000000000014000000000000000000000000000000000000002000000000000000000000000000000000100000000000000000000000010000000800000000000001000000000010020120000000000000000080000",
"status": "0x1",
"to": "0x02f55d53dce23b4aa962cc68b0f685f26143bdb2",
"transactionHash": "0xb971101419ff4a56420f6e8a689f6017388790c2e2b2bafea994a3d9afba0589",
"transactionIndex": "0x1",
"type": "0x2"
}
}
eth_call
Executes a new message call immediately without creating a transaction on the block chain.
https://api.kromascan.com/api
?module=proxy
&action=eth_call
&to=0xAEEF46DB4855E25702F8237E8f403FddcaF931C0
&data=0x70a08231000000000000000000000000e16359506c028e51f16be38986ec5746251e9724
&tag=latest
&apikey=YourApiKeyToken
Try this endpoint in your browser 🔗
Query Parameters
Parameter | Description |
---|---|
to | the |
data | the hash of the method signature and encoded parameters |
tag | the |
⛽ Note: The gas
parameter is capped at 2x the current block gas limit.
Sample Response
{
"jsonrpc":"2.0",
"id":1,
"result":"0x00000000000000000000000000000000000000000000000000601d8888141c00"
}
eth_getCode
Returns code at a given address.
https://api.kromascan.com/api
?module=proxy
&action=eth_getCode
&address=0x02f55d53dce23b4aa962cc68b0f685f26143bdb2
&tag=latest
&apikey=YourApiKeyToken
Try this endpoint in your browser 🔗
Query Parameters
Parameter | Description |
---|---|
address | the |
tag | the |
Sample Response
{
"jsonrpc": "2.0",
"id": 1,
"result": "0x6080604052600436106100cc5760003560e01c806375ceafe61161007a57806375ceafe6146101a9578063826377f6146101bc578063ac9650d8146101cf578063becbcc6a146101ef578063c45a01551461020f578063d3e1c28414610243578063df2ab5bb14610263578063f3da61a91461027657600080fd5b8063115ff67e146100d857806312210e8a14610105578063187806841461010f578063247ec02c1461012f57806346edd9c81461014257806349404b7c146101555780634aa4a4fc1461016857600080fd5b366100d357005b600080fd5b6100eb6100e636600461235e565b610289565b604080519283526020830191909152015b60405180910390f35b61010d61040f565b005b34801561011b57600080fd5b5061010d61012a3660046124ff565b610421565b61010d61013d366004612442565b6104d1565b61010d610150366004612442565b610732565b61010d6101633660046124ad565b610965565b34801561017457600080fd5b5061019c7f000000000000000000000000420000000000000000000000000000000000000181565b6040516100fc919061260c565b6100eb6101b736600461235e565b610ab5565b61010d6101ca366004612442565b610bb7565b6101e26101dd366004612237565b610ea2565b6040516100fc9190612667565b3480156101fb57600080fd5b5061019c61020a3660046121b0565b611023565b34801561021b57600080fd5b5061019c7f0000000000000000000000008c7d3063579bdb0b90997e18a770eae32e1ebb0881565b34801561024f57600080fd5b5061010d61025e3660046124ff565b6110dc565b61010d6102713660046121f6565b61117b565b61010d610284366004612442565b611233565b6000808260800135804211156102ba5760405162461bcd60e51b81526004016102b19061274a565b60405180910390fd5b61033e6102cd6060860160408701612454565b6001600160801b03166102e66040870160208801612171565b60408051808201909152806102fb89806127ac565b8080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525050509082525033602090910152611521565b9150600054925083606001358311156103995760405162461bcd60e51b815260206004820152601c60248201527f546f6f206d75636820706179656420696e20737761704465736972650000000060448201526064016102b1565b6103a96060850160408601612454565b6001600160801b03168210156104015760405162461bcd60e51b815260206004820181905260248201527f546f6f206d7563682072657175657374656420696e207377617044657369726560448201526064016102b1565b506000196000559092909150565b471561041f5761041f33476116d8565b565b600061042f82840184612390565b90506000806000610443846000015161177b565b9250925092506104548383836117b7565b816001600160a01b0316836001600160a01b031610156104835761047e838560200151338b611807565b6104c7565b835161048e90611997565b156104b157835161049e906119d1565b84526104ab883386611521565b506104c7565b6104c1828560200151338b611807565b60008890555b5050505050505050565b806101000135804211156104f75760405162461bcd60e51b81526004016102b19061274a565b6105076040830160208401612171565b6001600160a01b031661051d6020840184612171565b6001600160a01b0316106105435760405162461bcd60e51b81526004016102b1906126db565b60006105756105556020850185612171565b6105656040860160208701612171565b61020a606087016040880161247b565b90503360008061058b60a0870160808801612171565b6001600160a01b0316146105ae576105a960a0860160808701612171565b6105b0565b305b905060006001600160a01b038416632c481252836105d460c08a0160a08b01612454565b6105e460808b0160608c016122c6565b60405180604001604052808c60200160208101906106029190612171565b8d6040016020810190610615919061247b565b8e60000160208101906106289190612171565b60405160200161063a939291906125a5565b6040516020818303038152906040528152602001896001600160a01b031681525060405160200161066b919061276f565b6040516020818303038152906040526040518563ffffffff1660e01b81526004016106999493929190612620565b6040805180830381600087803b1580156106b257600080fd5b505af11580156106c6573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106ea91906124dc565b5090508560e0013581101561072a5760405162461bcd60e51b81526004016102b1906020808252600490820152632c26a4a760e11b604082015260600190565b505050505050565b806101000135804211156107585760405162461bcd60e51b81526004016102b19061274a565b6107686040830160208401612171565b6001600160a01b031661077e6020840184612171565b6001600160a01b0316106107a45760405162461bcd60e51b81526004016102b1906126db565b60006107b66105556020850185612171565b9050336000806107cc60a0870160808801612171565b6001600160a01b0316146107ef576107ea60a0860160808701612171565b6107f1565b305b905060006001600160a01b03841663857f812f8361081560c08a0160a08b01612454565b61082560808b0160608c016122c6565b604080518082019091528061083d60208e018e612171565b8d6040016020810190610850919061247b565b8e60200160208101906108639190612171565b604051602001610875939291906125a5565b6040516020818303038152906040528152602001896001600160a01b03168152506040516020016108a6919061276f565b6040516020818303038152906040526040518563ffffffff1660e01b81526004016108d49493929190612620565b6040805180830381600087803b1580156108ed57600080fd5b505af1158015610901573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061092591906124dc565b9150508560e0013581101561072a5760405162461bcd60e51b81526004016102b1906020808252600490820152632ca6a4a760e11b604082015260600190565b6040516370a0823160e01b81526000906001600160a01b037f000000000000000000000000420000000000000000000000000000000000000116906370a08231906109b490309060040161260c565b60206040518083038186803b1580156109cc57600080fd5b505afa1580156109e0573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a049190612495565b905082811015610a265760405162461bcd60e51b81526004016102b190612720565b8015610ab057604051632e1a7d4d60e01b8152600481018290527f00000000000000000000000042000000000000000000000000000000000000016001600160a01b031690632e1a7d4d90602401600060405180830381600087803b158015610a8e57600080fd5b505af1158015610aa2573d6000803e3d6000fd5b50505050610ab082826116d8565b505050565b600080826080013580421115610add5760405162461bcd60e51b81526004016102b19061274a565b610b58610af06060860160408701612454565b610b006040870160208801612171565b6040805180820190915280610b1589806127ac565b8080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525050509082525033602090910152611a08565b90935091506060840135821015610bb15760405162461bcd60e51b815260206004820181905260248201527f546f6f206d7563682072657175657374656420696e2073776170416d6f756e7460448201526064016102b1565b50915091565b80610100013580421115610bdd5760405162461bcd60e51b81526004016102b19061274a565b610bed6040830160208401612171565b6001600160a01b0316610c036020840184612171565b6001600160a01b031610610c295760405162461bcd60e51b81526004016102b1906126db565b6000610c3b6105556020850185612171565b905033600080610c5160a0870160808801612171565b6001600160a01b031614610c7457610c6f60a0860160808701612171565b610c76565b305b9050610c95604051806040016040528060008152602001600081525090565b6001600160a01b03841663f094685a83610cb560c08a0160a08b01612454565b610cc560808b0160608c016122c6565b6040805180820190915280610cdd60208e018e612171565b8d6040016020810190610cf0919061247b565b8e6020016020810190610d039190612171565b604051602001610d15939291906125a5565b6040516020818303038152906040528152602001896001600160a01b0316815250604051602001610d46919061276f565b6040516020818303038152906040526040518563ffffffff1660e01b8152600401610d749493929190612620565b6040805180830381600087803b158015610d8d57600080fd5b505af1158015610da1573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610dc591906124dc565b60208301528152610ddc60808701606088016122c6565b60020b620c35011415610e6157610df960c0870160a08801612454565b6001600160801b031681600001511015610e615760405162461bcd60e51b8152602060048201526024808201527f546f6f206d7563682072657175657374656420696e20737761705932584465736044820152630d2e4cab60e31b60648201526084016102b1565b8560c001358160200151111561072a5760405162461bcd60e51b81526004016102b1906020808252600490820152630b29a82b60e31b604082015260600190565b6060816001600160401b03811115610eca57634e487b7160e01b600052604160045260246000fd5b604051908082528060200260200182016040528015610efd57816020015b6060815260200190600190039081610ee85790505b50905060005b8281101561101c5760008030868685818110610f2f57634e487b7160e01b600052603260045260246000fd5b9050602002810190610f4191906127ac565b604051610f4f9291906125e0565b600060405180830381855af49150503d8060008114610f8a576040519150601f19603f3d011682016040523d82523d6000602084013e610f8f565b606091505b509150915081610fdb57604481511015610fa857600080fd5b60048101905080806020019051810190610fc291906122e7565b60405162461bcd60e51b81526004016102b191906126c8565b80848481518110610ffc57634e487b7160e01b600052603260045260246000fd5b602002602001018190525050508080611014906128d1565b915050610f03565b5092915050565b604051635f65e63560e11b81526001600160a01b038481166004830152838116602483015262ffffff831660448301526000917f0000000000000000000000008c7d3063579bdb0b90997e18a770eae32e1ebb089091169063becbcc6a9060640160206040518083038186803b15801561109c57600080fd5b505afa1580156110b0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110d49190612194565b949350505050565b60006110ea82840184612390565b905060008060006110fe846000015161177b565b92509250925061110f8383836117b7565b816001600160a01b0316836001600160a01b0316101561116b57835161113490611997565b15611151578351611144906119d1565b84526104ab873386611521565b611161828560200151338a611807565b60008790556104c7565b6104c7838560200151338a611807565b6040516370a0823160e01b81526000906001600160a01b038516906370a08231906111aa90309060040161260c565b60206040518083038186803b1580156111c257600080fd5b505afa1580156111d6573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111fa9190612495565b90508281101561121c5760405162461bcd60e51b81526004016102b190612720565b801561122d5761122d848383611cc1565b50505050565b806101000135804211156112595760405162461bcd60e51b81526004016102b19061274a565b6112696040830160208401612171565b6001600160a01b031661127f6020840184612171565b6001600160a01b0316106112a55760405162461bcd60e51b81526004016102b1906126db565b60006112b76105556020850185612171565b9050336000806112cd60a0870160808801612171565b6001600160a01b0316146112f0576112eb60a0860160808701612171565b6112f2565b305b9050611311604051806040016040528060008152602001600081525090565b6001600160a01b0384166359dd14368361133160c08a0160a08b01612454565b61134160808b0160608c016122c6565b60405180604001604052808c602001602081019061135f9190612171565b8d6040016020810190611372919061247b565b8e60000160208101906113859190612171565b604051602001611397939291906125a5565b6040516020818303038152906040528152602001896001600160a01b03168152506040516020016113c8919061276f565b6040516020818303038152906040526040518563ffffffff1660e01b81526004016113f69493929190612620565b6040805180830381600087803b15801561140f57600080fd5b505af1158015611423573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061144791906124dc565b602083015280825260c0870135101561148b5760405162461bcd60e51b81526004016102b1906020808252600490820152630b09a82b60e31b604082015260600190565b61149b60808701606088016122c6565b60020b620c350019141561072a576114b960c0870160a08801612454565b6001600160801b03168160200151101561072a5760405162461bcd60e51b8152602060048201526024808201527f546f6f206d7563682072657175657374656420696e20737761705832594465736044820152636972655960e01b60648201526084016102b1565b60006001600160a01b038316611535573092505b6000806000611547856000015161177b565b925092509250600061155a848484611023565b9050826001600160a01b0316846001600160a01b0316101561162357806001600160a01b031663f094685a888a620c35018a60405160200161159c919061276f565b6040516020818303038152906040526040518563ffffffff1660e01b81526004016115ca9493929190612620565b6040805180830381600087803b1580156115e357600080fd5b505af11580156115f7573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061161b91906124dc565b5094506116cd565b806001600160a01b03166359dd1436888a620c3500198a60405160200161164a919061276f565b6040516020818303038152906040526040518563ffffffff1660e01b81526004016116789493929190612620565b6040805180830381600087803b15801561169157600080fd5b505af11580156116a5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906116c991906124dc565b9550505b505050509392505050565b604080516000808252602082019092526001600160a01b03841690839060405161170291906125f0565b60006040518083038185875af1925050503d806000811461173f576040519150601f19603f3d011682016040523d82523d6000602084013e611744565b606091505b5050905080610ab05760405162461bcd60e51b815260206004820152600360248201526253544560e81b60448201526064016102b1565b600080806117898482611dc1565b9250611796846014611e75565b90506117ae6117a760036014612876565b8590611dc1565b91509193909250565b6117c2838383611023565b6001600160a01b0316336001600160a01b031614610ab05760405162461bcd60e51b8152602060048201526002602482015261073760f41b60448201526064016102b1565b7f00000000000000000000000042000000000000000000000000000000000000016001600160a01b0316846001600160a01b03161480156118485750804710155b1561196a577f00000000000000000000000042000000000000000000000000000000000000016001600160a01b031663d0e30db0826040518263ffffffff1660e01b81526004016000604051808303818588803b1580156118a857600080fd5b505af11580156118bc573d6000803e3d6000fd5b505060405163a9059cbb60e01b81526001600160a01b038681166004830152602482018690527f000000000000000000000000420000000000000000000000000000000000000116935063a9059cbb92506044019050602060405180830381600087803b15801561192c57600080fd5b505af1158015611940573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061196491906122a6565b5061122d565b6001600160a01b03831630141561198b57611986848383611cc1565b61122d565b61122d84848484611f20565b60006119a560036014612876565b60146119b2600382612876565b6119bc9190612876565b6119c69190612876565b825110159050919050565b6060611a026119e260036014612876565b6119ee60036014612876565b84516119fa919061288e565b849190612022565b92915050565b6000806001600160a01b038416611a1d573093505b3360015b6000611a308660000151611997565b90506000806000611a44896000015161177b565b9250925092506000611a57838584611023565b9050826001600160a01b0316846001600160a01b03161015611b7b576000816001600160a01b031663857f812f87611a8f578d611a91565b305b8f620c34fe1960405180604001604052808b8a8c604051602001611ab7939291906125a5565b60405160208183030381529060405281526020018e6001600160a01b0316815250604051602001611ae8919061276f565b6040516020818303038152906040526040518563ffffffff1660e01b8152600401611b169493929190612620565b6040805180830381600087803b158015611b2f57600080fd5b505af1158015611b43573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611b6791906124dc565b995090508615611b75578099505b50611c7f565b6000816001600160a01b0316632c48125287611b97578d611b99565b305b8f620c34ff60405180604001604052808b8a8c604051602001611bbe939291906125a5565b60405160208183030381529060405281526020018e6001600160a01b0316815250604051602001611bef919061276f565b6040516020818303038152906040526040518563ffffffff1660e01b8152600401611c1d9493929190612620565b6040805180830381600087803b158015611c3657600080fd5b505af1158015611c4a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611c6e91906124dc565b90995090508615611c7d578099505b505b600095508415611ca3578951309750611c97906119d1565b8a52969a508a96611cad565b5050505050611cb7565b5050505050611a21565b5050935093915050565b604080516001600160a01b038481166024830152604480830185905283518084039091018152606490920183526020820180516001600160e01b031663a9059cbb60e01b1790529151600092839290871691611d1d91906125f0565b6000604051808303816000865af19150503d8060008114611d5a576040519150601f19603f3d011682016040523d82523d6000602084013e611d5f565b606091505b5091509150818015611d89575080511580611d89575080806020019051810190611d8991906122a6565b611dba5760405162461bcd60e51b815260206004820152600260248201526114d560f21b60448201526064016102b1565b5050505050565b600081611dcf816014612876565b1015611e125760405162461bcd60e51b8152602060048201526012602482015271746f416464726573735f6f766572666c6f7760701b60448201526064016102b1565b611e1d826014612876565b83511015611e655760405162461bcd60e51b8152602060048201526015602482015274746f416464726573735f6f75744f66426f756e647360581b60448201526064016102b1565b500160200151600160601b900490565b600081611e83816003612876565b1015611ec55760405162461bcd60e51b8152602060048201526011602482015270746f55696e7432345f6f766572666c6f7760781b60448201526064016102b1565b611ed0826003612876565b83511015611f175760405162461bcd60e51b8152602060048201526014602482015273746f55696e7432345f6f75744f66426f756e647360601b60448201526064016102b1565b50016003015190565b604080516001600160a01b0385811660248301528481166044830152606480830185905283518084039091018152608490920183526020820180516001600160e01b03166323b872dd60e01b1790529151600092839290881691611f8491906125f0565b6000604051808303816000865af19150503d8060008114611fc1576040519150601f19603f3d011682016040523d82523d6000602084013e611fc6565b606091505b5091509150818015611ff0575080511580611ff0575080806020019051810190611ff091906122a6565b61072a5760405162461bcd60e51b815260206004820152600360248201526229aa2360e91b60448201526064016102b1565b60608161203081601f612876565b101561204e5760405162461bcd60e51b81526004016102b1906126f8565b826120598382612876565b10156120775760405162461bcd60e51b81526004016102b1906126f8565b6120818284612876565b845110156120c55760405162461bcd60e51b8152602060048201526011602482015270736c6963655f6f75744f66426f756e647360781b60448201526064016102b1565b6060821580156120e4576040519150600082526020820160405261212e565b6040519150601f8416801560200281840101858101878315602002848b0101015b8183101561211d578051835260209283019201612105565b5050858452601f01601f1916604052505b50949350505050565b803561214281612918565b919050565b600060a08284031215612158578081fd5b50919050565b803562ffffff8116811461214257600080fd5b600060208284031215612182578081fd5b813561218d81612918565b9392505050565b6000602082840312156121a5578081fd5b815161218d81612918565b6000806000606084860312156121c4578182fd5b83356121cf81612918565b925060208401356121df81612918565b91506121ed6040850161215e565b90509250925092565b60008060006060848603121561220a578283fd5b833561221581612918565b925060208401359150604084013561222c81612918565b809150509250925092565b60008060208385031215612249578182fd5b82356001600160401b038082111561225f578384fd5b818501915085601f830112612272578384fd5b813581811115612280578485fd5b8660208260051b8501011115612294578485fd5b60209290920196919550909350505050565b6000602082840312156122b7578081fd5b8151801515811461218d578182fd5b6000602082840312156122d7578081fd5b81358060020b811461218d578182fd5b6000602082840312156122f8578081fd5b81516001600160401b0381111561230d578182fd5b8201601f8101841361231d578182fd5b805161233061232b8261284f565b61281f565b818152856020838501011115612344578384fd5b6123558260208301602086016128a5565b95945050505050565b60006020828403121561236f578081fd5b81356001600160401b03811115612384578182fd5b6110d484828501612147565b600060208083850312156123a2578182fd5b82356001600160401b03808211156123b8578384fd5b90840190604082870312156123cb578384fd5b6123d36127f7565b8235828111156123e1578586fd5b83019150601f820187136123f3578485fd5b813561240161232b8261284f565b8181528886838601011115612414578687fd5b818685018783013790810185018690528152612431838501612137565b848201528094505050505092915050565b60006101208284031215612158578081fd5b600060208284031215612465578081fd5b81356001600160801b038116811461218d578182fd5b60006020828403121561248c578081fd5b61218d8261215e565b6000602082840312156124a6578081fd5b5051919050565b600080604083850312156124bf578182fd5b8235915060208301356124d181612918565b809150509250929050565b600080604083850312156124ee578182fd5b505080516020909101519092909150565b60008060008060608587031215612514578182fd5b843593506020850135925060408501356001600160401b0380821115612538578384fd5b818701915087601f83011261254b578384fd5b813581811115612559578485fd5b88602082850101111561256a578485fd5b95989497505060200194505050565b600081518084526125918160208601602086016128a5565b601f01601f19169290920160200192915050565b606093841b6bffffffffffffffffffffffff19908116825260e89390931b6001600160e81b0319166014820152921b166017820152602b0190565b8183823760009101908152919050565b600082516126028184602087016128a5565b9190910192915050565b6001600160a01b0391909116815260200190565b6001600160a01b03851681526001600160801b0384166020820152600283900b604082015260806060820181905260009061265d90830184612579565b9695505050505050565b6000602080830181845280855180835260408601915060408160051b8701019250838701855b828110156126bb57603f198886030184526126a9858351612579565b9450928501929085019060010161268d565b5092979650505050505050565b60208152600061218d6020830184612579565b602080825260039082015262783c7960e81b604082015260600190565b6020808252600e908201526d736c6963655f6f766572666c6f7760901b604082015260600190565b60208082526010908201526f0ae8aa89072409cdee8408adcdeeaced60831b604082015260600190565b6020808252600b908201526a4f7574206f662074696d6560a81b604082015260600190565b60208152600082516040602084015261278b6060840182612579565b602094909401516001600160a01b0316604093909301929092525090919050565b6000808335601e198436030181126127c2578283fd5b8301803591506001600160401b038211156127db578283fd5b6020019150368190038213156127f057600080fd5b9250929050565b604080519081016001600160401b038111828210171561281957612819612902565b60405290565b604051601f8201601f191681016001600160401b038111828210171561284757612847612902565b604052919050565b60006001600160401b0382111561286857612868612902565b50601f01601f191660200190565b60008219821115612889576128896128ec565b500190565b6000828210156128a0576128a06128ec565b500390565b60005b838110156128c05781810151838201526020016128a8565b8381111561122d5750506000910152565b60006000198214156128e5576128e56128ec565b5060010190565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160a01b038116811461292d57600080fd5b5056fea264697066735822122078ee27f2e530732175884dc64f31c6041da99ef6cd21f953da98cf7ec9d451eb64736f6c63430008040033"
}
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.kromascan.com/api
?module=proxy
&action=eth_getStorageAt
&address=0x02f55d53dce23b4aa962cc68b0f685f26143bdb2
&position=0x0
&tag=latest
&apikey=YourApiKeyToken
Try this endpoint in your browser
Query Parameters
Parameter | Description |
---|---|
address | the |
position | the hex code of the position in storage, eg |
tag | the |
Sample Response
{
"jsonrpc":"2.0",
"id":1,
"result":"0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff"
}
eth_gasPrice
Returns the current price per gas in wei.
https://api.kromascan.com/api
?module=proxy
&action=eth_gasPrice
&apikey=YourApiKeyToken
Try this endpoint in your browser 🔗
No parameters required.
Sample Response
{
"jsonrpc":"2.0",
"id":73,
"result":"0x430e23400"
}
📖 Tip: The result
is returned in wei.
Easily convert Ethereum 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.kromascan.com/api
?module=proxy
&action=eth_estimateGas
&data=0x4e71d92d
&to=0xf0160428a8552ac9bb7e050d90eeade4ddd52843
&value=0xff22
&gasPrice=0x51da038cc
&gas=0x5f5e0ff
&apikey=YourApiKeyToken
Try this endpoint in your browser 🔗
Query Parameters
Parameter | Description |
---|---|
data | the hash of the method signature and encoded parameters |
to | the |
value | the value sent in this transaction, in hex eg. |
gas | the amount of gas provided for the transaction, in hex eg. |
gasPrice | the gas price paid for each unit of gas, in wei post EIP-1559, the |
⛽ Note: The gas
parameter is capped at 2x the current block gas limit.
Sample Response
{
"jsonrpc":"2.0",
"id":1,
"result":"0x6556"
}
Last updated