For the full documentation of available parameters and descriptions, please visit the official Wemix 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.wemixscan.com/api
?module=proxy
&action=eth_blockNumber
&apikey=YourApiKeyToken
Try this endpoint in your browser 🔗
Sample response
{
"jsonrpc":"2.0",
"id":83,
"result":"0x1c33f7c"
}
eth_getBlockByNumber
Returns information about a block by block number.
https://api.wemixscan.com/api
?module=proxy
&action=eth_getBlockByNumber
&tag=0x10d4f
&boolean=true
&apikey=YourApiKeyToken
Try this endpoint in your browser 🔗
Query Parameters
Parameter | Description |
---|
| the block number, in hex eg. 0xC36B3C |
| the boolean value to show full transaction objects. when true , returns full transaction objects and their information, when false only returns a list of transactions. |
Sample response
{
"jsonrpc": "2.0",
"id": 1,
"result": {
"baseFeePerGas": "0x1",
"difficulty": "0x1",
"extraData": "0x6777656d69782f76302e31302e302f6c696e75782f676f312e31392e32",
"fees": "0x0",
"gasLimit": "0x6422c40",
"gasUsed": "0x0",
"hash": "0x4c836c2cb3a49a2bdbb90677094d9c0d67a1eacf09fc5032faab6effbcb66abb",
"logsBloom": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
"miner": "0x1bb321cea5993be66048bb40a9a5abc2a0c64e81",
"minerNodeId": "0x",
"minerNodeSig": "0x07dc285cb2d62219c977e9f7952a29b65d14c68464121d7ad1979748496d5e012f6c7c54bfe307b740cf6305b8d7884edf96587c7d951ae8a85d5a08ff0c8fe700",
"mixHash": "0xac2c68227e82f7142b69ee10ad11185ca8d1dacc826f93f71ac8eace5ccacf53",
"nonce": "0x57d8345e6462c65a",
"number": "0x10d4f",
"parentHash": "0xd3c602d15e8042b7827611722ae8f9f7f0bfc3f63f7f704d8363d0e7a94dc1e1",
"receiptsRoot": "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421",
"rewards": "0x5b7b2261646472223a22307835656666303863363439393265613734356335333265613737366331623631663361663063326433222c22726577617264223a31303030303030303030303030303030307d2c7b2261646472223a22307839366464363937313132353633396337666233333631383964323864343830343966306432623663222c22726577617264223a31303030303030303030303030303030307d2c7b2261646472223a22307831333061653137663636383337313935356537633130316335316261616663363135366537306437222c22726577617264223a31303030303030303030303030303030307d2c7b2261646472223a22307862363432303466656361326237666533353135653062353736316234666563336462373939613661222c22726577617264223a31303030303030303030303030303030307d2c7b2261646472223a22307836366162376432663939633266666465353762396230386233306636306136336463373939363334222c22726577617264223a31303030303030303030303030303030307d2c7b2261646472223a22307834656637306133346139363434373936383362376238333961323864346366373632393165353032222c22726577617264223a31303030303030303030303030303030307d2c7b2261646472223a22307836353063356166616364333663306430363732356334383438396339353230316332313334633132222c22726577617264223a31303030303030303030303030303030307d2c7b2261646472223a22307861626539396532393136373339643766613861333838303863343936656532323537396137363866222c22726577617264223a31303030303030303030303030303030307d2c7b2261646472223a22307865656532623830663461636339633637333131333036623762363331656661333835363835323366222c22726577617264223a31303030303030303030303030303030307d2c7b2261646472223a22307837326262663333623666353332303333356339306665366662623832366135323236376437653433222c22726577617264223a31303030303030303030303030303030307d2c7b2261646472223a22307866306639616263373766613030633030383232643036336634626637366131376266656465356566222c22726577617264223a31303030303030303030303030303030307d2c7b2261646472223a22307864646463666264303762316565393938326562386231303934303635343063346131336536306132222c22726577617264223a31303030303030303030303030303030307d2c7b2261646472223a22307836656331343936363438306533626166346336326131663435333263393563343262303762396339222c22726577617264223a31303030303030303030303030303030307d2c7b2261646472223a22307830656432356230613664353530323164623866393866663630373664326264326538366134613435222c22726577617264223a31303030303030303030303030303030307d2c7b2261646472223a22307830646238613063343562346135666637323535323931633837613665336133343761636261373832222c22726577617264223a31303030303030303030303030303030307d2c7b2261646472223a22307832623763383761633466323832663034306630306437656166363832646137393138363334366431222c22726577617264223a31303030303030303030303030303030307d2c7b2261646472223a22307830393666393438656666663139386131623461663338353239633730323966393264346537353436222c22726577617264223a31303030303030303030303030303030307d2c7b2261646472223a22307865663963366130613863323031333965643564646135316339376463343862383332636465643863222c22726577617264223a31303030303030303030303030303030307d2c7b2261646472223a22307839363934363831323435653233613537646565393034633830373938373461333964646238323832222c22726577617264223a31303030303030303030303030303030307d2c7b2261646472223a22307863303862353137396365373131626465353636623437363265383366653938626462333964356562222c22726577617264223a31303030303030303030303030303030307d2c7b2261646472223a22307837393132323533353335623130616236336133376138386337343530623036646336623965613238222c22726577617264223a31303030303030303030303030303030307d2c7b2261646472223a22307838363639653439616439643365323636636563393366643435393931346338363064393433323934222c22726577617264223a31303030303030303030303030303030307d2c7b2261646472223a22307866636432343036373631316433356264333661653665346465356465376433343338353232383162222c22726577617264223a31303030303030303030303030303030307d2c7b2261646472223a22307831626233323163656135393933626536363034386262343061396135616263326130633634653831222c22726577617264223a31303030303030303030303030303030307d2c7b2261646472223a22307831366361336137333061646135616336363232613763336566663630316534383938646466613738222c22726577617264223a31303030303030303030303030303030307d2c7b2261646472223a22307862363639663838363033396431663031643263303236383363393566373263386265633837343536222c22726577617264223a31303030303030303030303030303030307d2c7b2261646472223a22307830346362633832326138316234666265303361326262366438653136626536376137656235353962222c22726577617264223a31303030303030303030303030303030307d2c7b2261646472223a22307830366264373837333334313966643961653538386231303964383236326266393832363062373235222c22726577617264223a31303030303030303030303030303030307d2c7b2261646472223a22307836383938343561393736366263656537306538393735326161376666373537303361633362383661222c22726577617264223a31303030303030303030303030303030307d2c7b2261646472223a22307866363365663434326537393966306566663830636639636463353235336539656563616266366338222c22726577617264223a31303030303030303030303030303030307d2c7b2261646472223a22307862393664616532613462636666633132303435383435303734393565636133323162636538393161222c22726577617264223a31303030303030303030303030303030307d2c7b2261646472223a22307837663738336563636666333333336261633932346331303062303837303032316430316661666164222c22726577617264223a31303030303030303030303030303030307d2c7b2261646472223a22307863646139373931646238356233376337333366303965323839626465643434343534303066343938222c22726577617264223a31303030303030303030303030303030307d2c7b2261646472223a22307832373233333665303365326262333033336135323637633538333533383166353132653732336537222c22726577617264223a31303030303030303030303030303030307d2c7b2261646472223a22307835323661663264653338616262636665316339393564623637646436333634626435353539326537222c22726577617264223a31303030303030303030303030303030307d2c7b2261646472223a22307835306337666132663736353365336562333662623436353062663433353062383637346166616431222c22726577617264223a31303030303030303030303030303030307d2c7b2261646472223a22307861373433313664653063623962373839323132326135306165316633643231343261613865333865222c22726577617264223a31303030303030303030303030303030307d2c7b2261646472223a22307862376636623939343535336563623962306130633666323538623162363039363133643463333831222c22726577617264223a31303030303030303030303030303030307d2c7b2261646472223a22307862393562323934636664383361366234623031656534633334373034343032333462626636313262222c22726577617264223a31303030303030303030303030303030307d2c7b2261646472223a22307864326165633537616664343639333932303465326539626334303361643166393166373061336536222c22726577617264223a31303030303030303030303030303030307d2c7b2261646472223a22307835343366636534666131303039613039303936303162663030663030353637336339366438333065222c22726577617264223a3130303030303030303030303030303030307d2c7b2261646472223a22307831396165633837363030633361643033373834393962313335323932393861386166313538303366222c22726577617264223a3235303030303030303030303030303030307d2c7b2261646472223a22307862626162333736666439633361306635656631643231313463386464313531326664383538656532222c22726577617264223a3235303030303030303030303030303030307d5d",
"sha3Uncles": "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347",
"size": "0x1005",
"stateRoot": "0x4a446268937e45025958026eb593dadb6ca27d8633e574862c54ce2b4f3a7dc7",
"timestamp": "0x6351c749",
"totalDifficulty": "0x10d50",
"transactions": [],
"transactionsRoot": "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421",
"uncles": []
}
}
eth_getBlockTransactionCountByNumber
Returns the number of transactions in a block.
https://api.wemixscan.com/api
?module=proxy
&action=eth_getBlockTransactionCountByNumber
&tag=1C33CA7
&apikey=YourApiKeyToken
Try this endpoint in your browser 🔗
Query Parameters
Parameter | Description |
---|
| the block number, in hex eg. 0x10FB78 |
Sample response
{
"jsonrpc":"2.0",
"id":1,
"result":"0xe"
}
eth_getTransactionByHash
Returns the information about a transaction requested by transaction hash.
https://api.wemixscan.com/api
?module=proxy
&action=eth_getTransactionByHash
&txhash=0x53d632699b8d6c5997f03221ca7b89c1c079c76b64498ed539b30d97bcb17f37
&apikey=YourApiKeyToken
Try this endpoint in your browser 🔗
Query Parameters
Parameter | Description |
---|
| the string representing the hash of the transaction |
Sample Response
{
"jsonrpc": "2.0",
"id": 1,
"result": {
"blockHash": "0x2bcbf2403725de6c4d03f46a3334d773822ec25eeb49666df457b18f5ebf0f55",
"blockNumber": "0x1c33bc9",
"from": "0x0292e4d76361b8781f8fc04119a06774d3ce3216",
"gas": "0xf423f",
"gasPrice": "0x174876e801",
"hash": "0x53d632699b8d6c5997f03221ca7b89c1c079c76b64498ed539b30d97bcb17f37",
"input": "0x38ed17390000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000caec2e118abc4c510440a8d1ac8565fec0180c000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000000000000020000000000000000000000007d72b22a74a216af4a002a1095c8c707d6ec1c5f0000000000000000000000008e81fcc2d4a3baa0ee9044e0d7e36f59c9bba9c1",
"nonce": "0x10a66b",
"to": "0x80a5a916fb355a8758f0a3e47891dc288dac2665",
"transactionIndex": "0xd",
"value": "0x0",
"type": "0x0",
"v": "0x8d2",
"r": "0xacef2fda0395bfc8733cc84c0ee4c24168421056301333ff6a38f8cf56e0296a",
"s": "0x295879f5016c8c812e0e23b8c48f6bf523607bfc8998cfdc0f5af3f66288af1d"
}
}
eth_getTransactionByBlockNumber
Returns information about a transaction by block number
https://api.wemixscan.com/api
?module=proxy
&action=eth_getTransactionByBlockNumberAndIndex
&tag=1C33CA7
&apikey=YourApiKeyToken
Try this endpoint in your browser 🔗
Query Parameters
Parameter | Description |
---|
| the block number, in hex eg. 0x10FB78 |
Sample Response
{
"jsonrpc": "2.0",
"id": 1,
"result": {
"blockHash": "0xf13a6f43cf570500ba5a1140da362f8f191af54e020708a3adad9cc03b46b88b",
"blockNumber": "0x1c33ca7",
"from": "0x48ed99efbe4126bdd64b171f235f6734d2827059",
"gas": "0x989680",
"gasPrice": "0x174876e801",
"maxFeePerGas": "0x174876e801",
"maxPriorityFeePerGas": "0x174876e801",
"hash": "0x32e2d56e9b98fbe77e826af61e435cfc3c3c32999c579ed270a91e7bb997adfb",
"input": "0x38ed17390000000000000000000000000000000000000000000000000000000000000064000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000caec2e118abc4c510440a8d1ac8565fec0180c000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000000000000020000000000000000000000007d72b22a74a216af4a002a1095c8c707d6ec1c5f0000000000000000000000008e81fcc2d4a3baa0ee9044e0d7e36f59c9bba9c1",
"nonce": "0x1be4b5",
"to": "0x80a5a916fb355a8758f0a3e47891dc288dac2665",
"transactionIndex": "0x0",
"value": "0x0",
"type": "0x2",
"accessList": [],
"chainId": "0x457",
"v": "0x0",
"r": "0x49ac9e3fed0405ff65b7e865e0af299c52e81e74cb3974143977cc527e5c688f",
"s": "0x139d48dc49c6a550c3de7c15af9d20f49790794970d0d12e7f2f3ecceacf1abd"
}
}
eth_getTransactionCount
Returns the number of transactions performed by an address.
https://api.wemixscan.com/api
?module=proxy
&action=eth_getTransactionCount
&address=0x0292e4d76361b8781f8fc04119a06774d3ce3216
&tag=latest
&apikey=YourApiKeyToken
Try this endpoint in your browser 🔗
Query Parameters
Parameter | Description |
---|
| the string representing the address to get transaction count |
| the string pre-defined block parameter, either earliest , pending or latest |
Sample Response
{
"jsonrpc":"2.0",
"id":1,
"result":"0x10accd"
}
eth_sendRawTransaction
Submits a pre-signed transaction for broadcast to the Wemix network.
https://api.wemixscan.com/api
?module=proxy
&action=eth_sendRawTransaction
&hex=0xf904808000831cfde080
&apikey=YourApiKeyToken
Try this endpoint in your browser 🔗
Query Parameters
Parameter | Description |
---|
| the string representing the signed raw transaction data to broadcast. |
💡 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.wemixscan.com/api
?module=proxy
&action=eth_getTransactionReceipt
&txhash=0x53d632699b8d6c5997f03221ca7b89c1c079c76b64498ed539b30d97bcb17f37
&apikey=YourApiKeyToken
Try this endpoint in your browser 🔗
Query Parameters
Parameter | Description |
---|
| the string representing the hash of the transaction |
Sample Response
{
"jsonrpc": "2.0",
"id": 1,
"result": {
"blockHash": "0x2bcbf2403725de6c4d03f46a3334d773822ec25eeb49666df457b18f5ebf0f55",
"blockNumber": "0x1c33bc9",
"contractAddress": null,
"cumulativeGasUsed": "0x13d867",
"effectiveGasPrice": "0x174876e801",
"from": "0x0292e4d76361b8781f8fc04119a06774d3ce3216",
"gasUsed": "0x160dd",
"logs": [
{
"address": "0x7d72b22a74a216af4a002a1095c8c707d6ec1c5f",
"topics": [
"0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef",
"0x0000000000000000000000000292e4d76361b8781f8fc04119a06774d3ce3216",
"0x00000000000000000000000000caec2e118abc4c510440a8d1ac8565fec0180c"
],
"data": "0x0000000000000000000000000000000000000000000000000000000000000002",
"blockNumber": "0x1c33bc9",
"transactionHash": "0x53d632699b8d6c5997f03221ca7b89c1c079c76b64498ed539b30d97bcb17f37",
"transactionIndex": "0xd",
"blockHash": "0x2bcbf2403725de6c4d03f46a3334d773822ec25eeb49666df457b18f5ebf0f55",
"logIndex": "0x36",
"removed": false
},
{
"address": "0x8e81fcc2d4a3baa0ee9044e0d7e36f59c9bba9c1",
"topics": [
"0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef",
"0x00000000000000000000000000caec2e118abc4c510440a8d1ac8565fec0180c",
"0x00000000000000000000000000caec2e118abc4c510440a8d1ac8565fec0180c"
],
"data": "0x0000000000000000000000000000000000000000000000000000000000000001",
"blockNumber": "0x1c33bc9",
"transactionHash": "0x53d632699b8d6c5997f03221ca7b89c1c079c76b64498ed539b30d97bcb17f37",
"transactionIndex": "0xd",
"blockHash": "0x2bcbf2403725de6c4d03f46a3334d773822ec25eeb49666df457b18f5ebf0f55",
"logIndex": "0x37",
"removed": false
},
{
"address": "0x00caec2e118abc4c510440a8d1ac8565fec0180c",
"topics": [
"0x1c411e9a96e071241c2f21f7726b17ae89e3cab4c78be50e062b03a9fffbbad1"
],
"data": "0x00000000000000000000000000000000000000000001aca9e060a4fb2d4408cc000000000000000000000000000000000000000000018611ca79926e29b55498",
"blockNumber": "0x1c33bc9",
"transactionHash": "0x53d632699b8d6c5997f03221ca7b89c1c079c76b64498ed539b30d97bcb17f37",
"transactionIndex": "0xd",
"blockHash": "0x2bcbf2403725de6c4d03f46a3334d773822ec25eeb49666df457b18f5ebf0f55",
"logIndex": "0x38",
"removed": false
},
{
"address": "0x00caec2e118abc4c510440a8d1ac8565fec0180c",
"topics": [
"0xd78ad95fa46c994b6551d0da85fc275fe613ce37657fb8d5e3d130840159d822",
"0x00000000000000000000000080a5a916fb355a8758f0a3e47891dc288dac2665",
"0x00000000000000000000000000caec2e118abc4c510440a8d1ac8565fec0180c"
],
"data": "0x0000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001",
"blockNumber": "0x1c33bc9",
"transactionHash": "0x53d632699b8d6c5997f03221ca7b89c1c079c76b64498ed539b30d97bcb17f37",
"transactionIndex": "0xd",
"blockHash": "0x2bcbf2403725de6c4d03f46a3334d773822ec25eeb49666df457b18f5ebf0f55",
"logIndex": "0x39",
"removed": false
}
],
"logsBloom": "0x00200000000000400000000083000000000000000000000000000000000001011000000000040000000000000000000000000000000000000000000010000000000000000002000000000008000000200000000000000000000000000000000100000000000000000000200000000000000000000000000000000012000800000000000800000000000400000000000000000000000000080000004000000000000000800000000000000000000000000000000000000000000000000008000010000002000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000000000000000000000",
"status": "0x1",
"to": "0x80a5a916fb355a8758f0a3e47891dc288dac2665",
"transactionHash": "0x53d632699b8d6c5997f03221ca7b89c1c079c76b64498ed539b30d97bcb17f37",
"transactionIndex": "0xd",
"type": "0x0"
}
}
eth_call
Executes a new message call immediately without creating a transaction on the block chain.
https://api.wemixscan.com/api
?module=proxy
&action=eth_call
&to=0x80a5a916fb355a8758f0a3e47891dc288dac2665
&data=0x38ed17390000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000caec2e118abc4c510440a8d1ac8565fec0180c000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000000000000020000000000000000000000007d72b22a74a216af4a002a1095c8c707d6ec1c5f0000000000000000000000008e81fcc2d4a3baa0ee9044e0d7e36f59c9bba9c1
&tag=latest
&apikey=YourApiKeyToken
Try this endpoint in your browser 🔗
Query Parameters
Parameter | Description |
---|
| the string representing the address to interact with |
| the hash of the method signature and encoded parameters |
| the string pre-defined block parameter, either earliest , pending or latest |
⛽ Note: The gas
parameter is capped at 2x the current block gas limit.
Sample Response
{
"jsonrpc": "2.0",
"id": 1,
"error": {
"code": 3,
"message": "execution reverted: TransferHelper::transferFrom: transferFrom failed",
"data": "0x08c379a0000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000315472616e7366657248656c7065723a3a7472616e7366657246726f6d3a207472616e7366657246726f6d206661696c6564000000000000000000000000000000"
}
}
eth_getCode
Returns code at a given address.
https://api.wemixscan.com/api
?module=proxy
&action=eth_getCode
&address=0x80a5a916fb355a8758f0a3e47891dc288dac2665
&tag=latest
&apikey=YourApiKeyToken
Try this endpoint in your browser 🔗
Query Parameters
Parameter | Description |
---|
| the string representing the address to get code |
| the string pre-defined block parameter, either earliest , pending or latest |
Sample Response
{
"jsonrpc":"2.0",
"id":1,
"result":"0x3660008037602060003660003473273930d21e01ee25e4c219b63259d214872220a261235a5a03f21560015760206000f3"
}
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.wemixscan.com/api
?module=proxy
&action=eth_getStorageAt
&address=0x6e03d9cce9d60f3e9f2597e13cd4c54c55330cfd
&position=0x0
&tag=latest
&apikey=YourApiKeyToken
Try this endpoint in your browser
Query Parameters
Parameter | Description |
---|
| the string representing the address to get code |
| the hex code of the position in storage, eg 0x0 |
| the string pre-defined block parameter, either earliest , pending or latest |
Sample Response
{
"jsonrpc":"2.0",
"id":1,
"result":"0x0000000000000000000000003d0768da09ce77d25e2d998e6a7b6ed4b9116c2d"
}
eth_gasPrice
Returns the current price per gas in wei.
https://api.wemixscan.com/api
?module=proxy
&action=eth_gasPrice
&apikey=YourApiKeyToken
Try this endpoint in your browser 🔗
Sample Response
{
"jsonrpc":"2.0",
"id":73,
"result":"0x430e23400"
}
📖 Tip: The result
is returned in wei.
Easily convert Wemix 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.wemixscan.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 |
---|
| the hash of the method signature and encoded parameters |
| the string representing the address to interact with |
| the value sent in this transaction, in hex eg. 0xff22 |
| the amount of gas provided for the transaction, in hex eg. 0x5f5e0ff |
| the gas price paid for each unit of gas, in wei post EIP-1559, the gasPrice has to be higher than the block's baseFeePerGas |
⛽ Note: The gas
parameter is capped at 2x the current block gas limit.
Sample Response
{
"jsonrpc":"2.0",
"id":1,
"result":"0x6556"
}