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
{
"jsonrpc": "2.0",
"id": 83,
"result": "0x1bbac"
}
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.lineascan.build/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": "0x7",
"difficulty": "0x2",
"extraData": "0xd883010b06846765746888676f312e32302e36856c696e75780000000000000072fe188fadb7624763b2cee78b991aef834f27df8073745d25decd1e69b226ad6e99b45788f2a997597eab9c5994e83b4cc04bfdd0c779e5066fcc9121e61dc300",
"gasLimit": "0x3a2c940",
"gasUsed": "0x20732d",
"hash": "0x7dfe94a40be43302537f723e86deedd645681a1b669379fb8bfaf61cab18d7e3",
"logsBloom": "0x000000002002280040401014890044000000000000010080c0000000000000000800204801a0100000040010000100000204000808001402800000000224008080000020010000080100022800800240000200000044180000040000800000240002000402040084000604000400080000000000602014000001045082000000008201001c002000041020000008200002001001000200480000000009001208024000144000100000010024000088400003000000001000002000002001001088008002000000518600880c0000000200810201804100f000000002041070020010040000220000000100800000000000004080040800600120202480040420",
"miner": "0x0000000000000000000000000000000000000000",
"mixHash": "0x0000000000000000000000000000000000000000000000000000000000000000",
"nonce": "0x0000000000000000",
"number": "0x10d4f",
"parentHash": "0x36ecbbecf4339092acb907eee17204cb2b200ceb9ac94a75aba427e600717a22",
"receiptsRoot": "0x07982b44f18edee7103c6977dc62ada883db8e1021fa26fce94a75d6b2a80859",
"sha3Uncles": "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347",
"size": "0x15c4",
"stateRoot": "0xde067356ab4d7173bdd71140ee949b2aa09d2baaa1b7fbd7e51c4f71bec4b28b",
"timestamp": "0x64c2e439",
"totalDifficulty": "0x21a9f",
"transactions": [
{
"blockHash": "0x7dfe94a40be43302537f723e86deedd645681a1b669379fb8bfaf61cab18d7e3",
"blockNumber": "0x10d4f",
"from": "0xdf5232606a7953ab745d2954c85e7cd7fb5140d9",
"gas": "0x200b20",
"gasPrice": "0xc5870b35",
"hash": "0xd17f2a814c4d1279e9da7c15a3fcb36f85d5248bc1051ee1c0d31adae523ae15",
"input": "0x91b7f5ed0000000000000000000000000000000000000000000000000000002b4491ce80",
"nonce": "0x68b",
"to": "0x8e7b974b7da0c42c630ddc653047c28be0012369",
"transactionIndex": "0x0",
"value": "0x0",
"type": "0x0",
"chainId": "0xe708",
"v": "0x1ce33",
"r": "0x8f524a3548b2382b1fa18f949f8892f06c826a18b016c1b8dcfb7143a284c8f6",
"s": "0x58c8bd6ec2c289b365bd88cda897b18bf2176f367bdd0c9cc9a066883d84a21a"
},
{
"blockHash": "0x7dfe94a40be43302537f723e86deedd645681a1b669379fb8bfaf61cab18d7e3",
"blockNumber": "0x10d4f",
"from": "0x46310c08642618e8d4f00729e062a5acce6c940f",
"gas": "0xd306",
"gasPrice": "0xc2875d5d",
"hash": "0xecbe3d7b8fed5f42c18ac1d613674b2d7b1050ca626149b75b13cb33e18d4a9c",
"input": "0x2e1a7d4d00000000000000000000000000000000000000000000000000753d5278e47f00",
"nonce": "0xe",
"to": "0xe5d7c2a44ffddf6b295a15c148167daaaf5cf34f",
"transactionIndex": "0x1",
"value": "0x0",
"type": "0x0",
"chainId": "0xe708",
"v": "0x1ce33",
"r": "0xf13cd5f5c8ac34ece85e4ac5e732fa70c9658f1031db206d1b2909e389ba46cf",
"s": "0x6ededbd0829845176691f0914156364682bd290c703a732af61224b0537dbdc6"
},
{
"blockHash": "0x7dfe94a40be43302537f723e86deedd645681a1b669379fb8bfaf61cab18d7e3",
"blockNumber": "0x10d4f",
"from": "0xda0442890393bf7da5c4141328d028e87f9b5b15",
"gas": "0x49720",
"gasPrice": "0xc175ad1e",
"maxFeePerGas": "0xc175ad1e",
"maxPriorityFeePerGas": "0xc175ad1e",
"hash": "0x6c190cc8bd988a8e4859f0e936f3abf71b0c52e0416eff0bb067ee441289fa41",
"input": "0x94ec6d780000000000000000000000007f72e0d8e9abf9133a92322b8b50bd8e0f9dcfcb00000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000001600000000000000000000000000000000000000000000000000bc95b6346657bfb000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001a000000000000000000000000000000000000000000000000000000000000000020000000000000000000000007d43aabc515c356145049227cee54b608342c0ad000000000000000000000000000000000000000000000002013948a34668e7f800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000046d84228553dd10000000000000000000000000000000000000000000000000000000000000020000000000000000000000000da0442890393bf7da5c4141328d028e87f9b5b150000000000000000000000000000000000000000000000000000000000000000",
"nonce": "0x2",
"to": "0x80e38291e06339d10aab483c65695d004dbd5c69",
"transactionIndex": "0x2",
"value": "0x46d84228553dd1",
"type": "0x2",
"accessList": [],
"chainId": "0xe708",
"v": "0x1",
"r": "0x27e879657cf5d77db5b27d9364528880280e46a2a9fac141ebbc1a0982bce464",
"s": "0x9f856ec8324565d08e869e8dbaec572be49159a31462e7404f0486e2eb57b89"
},
{
"blockHash": "0x7dfe94a40be43302537f723e86deedd645681a1b669379fb8bfaf61cab18d7e3",
"blockNumber": "0x10d4f",
"from": "0xa9436a0e4bfd13d8eabf288435fc850d74d22026",
"gas": "0xb750",
"gasPrice": "0xc175ad1e",
"maxFeePerGas": "0xc175ad1e",
"maxPriorityFeePerGas": "0xc175ad1e",
"hash": "0xd50da5fdbf39889c5c24ba0a64e88a82c77fb5a04f15760677bbe093a15b8df6",
"input": "0x095ea7b30000000000000000000000001cb60033f61e4fc171c963f0d2d3f63ece24319c00000000000000000000000000000000000000000000001e47379b8747beaaeb",
"nonce": "0x2",
"to": "0x60d01ec2d5e98ac51c8b4cf84dfcce98d527c747",
"transactionIndex": "0x3",
"value": "0x0",
"type": "0x2",
"accessList": [],
"chainId": "0xe708",
"v": "0x0",
"r": "0x76427e2d182f5a2a7ff429bd50d6bf520d54b3de789b723d2ed78d2cd8af3310",
"s": "0x172618f125996eb7f56a6477098cbe058c1e33108661c373c632c0c853446c2b"
},
{
"blockHash": "0x7dfe94a40be43302537f723e86deedd645681a1b669379fb8bfaf61cab18d7e3",
"blockNumber": "0x10d4f",
"from": "0x555ce236c0220695b68341bc48c68d52210cc35b",
"gas": "0x2648f",
"gasPrice": "0xbf912a35",
"hash": "0xe09f135aaeda5b090e51b7ef4cfd2a17c3a22c324726a051051a08295f0cc4b7",
"input": "0xc358547e00000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000000000000000000000000000002db054063bddbfdfa0121fac2024ee1ad68115f84745a3322dfbde0579ca11fb804099a6eab0fb0000000000000000000000000000000000000000000000000000000000000440000000000000000000000000555ce236c0220695b68341bc48c68d52210cc35b000000000000000000000000000000000000000000000000000000000000098100000000000000000000000000000000000000000000000000000000000001c00000000000000000000000000000000000000000000000000000000000000038000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000318dde4bd94c01000000000000000000000000000000000000000000000000000000000000e7080000000000000000000000000000000000000000000000000000000000000240000000000000000000000000000000000000000000000000002db054063bddbf000000000000000000000000000000000000000000000000000000000000028000000000000000000000000000000000000000000000000000000000000002c000000000000000000000000000000000000000000000000000000000000003000000000000000000000000000000000000000000000000000000000000000340000000000000000000000000000000000000000000000000000000000000036000000000000000000000000000000000000000000000000000000000000003800000000000000000000000000000000000000000000000000000000000000014663dc15d3c1ac63ff12e45ab68fea3f0a883c25100000000000000000000000000000000000000000000000000000000000000000000000000000000000000142170ed0880ac9a755fd29b2688956bd959f933f80000000000000000000000000000000000000000000000000000000000000000000000000000000000000014000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000143462943f79dce59770faf5fd087ee0e77545dc3300000000000000000000000000000000000000000000000000000000000000000000000000000000000000143462943f79dce59770faf5fd087ee0e77545dc3300000000000000000000000000000000000000000000000000000000000000000000000000000000000000143462943f79dce59770faf5fd087ee0e77545dc330000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
"nonce": "0x93",
"to": "0xe7351fd770a37282b91d153ee690b63579d6dd7f",
"transactionIndex": "0x4",
"value": "0x2db054063bddbf",
"type": "0x0",
"chainId": "0xe708",
"v": "0x1ce34",
"r": "0x2105d3f6f393828d7765f7bcbcb27e11649b1cc90c19c4d53d1e67eadf524405",
"s": "0x2fe144cc2ce09b2c1795bd55982dc9ce805340aad72a7ac8d75b8dd107e10224"
},
{
"blockHash": "0x7dfe94a40be43302537f723e86deedd645681a1b669379fb8bfaf61cab18d7e3",
"blockNumber": "0x10d4f",
"from": "0xf2794fa47ca84f1a3fd5ce8f92c41fb0d5a02780",
"gas": "0x16448",
"gasPrice": "0xbebc2000",
"hash": "0x1acd4e8537e613f32de828bd779cf8f181a766144c45d7a770ae034aa8da4630",
"input": "0x183ff085",
"nonce": "0x10",
"to": "0xcce9d3f392c135dc038b147ca73ec496f7f89d93",
"transactionIndex": "0x5",
"value": "0x0",
"type": "0x0",
"chainId": "0xe708",
"v": "0x1ce33",
"r": "0xc77068aaa7ac4ad87335fbbadcd30d179f8a4d15b94a4ff97f07482718d4069d",
"s": "0x3f8056d03ca1f485cbe3b504faf856d139b557b4a7d43907ac241294ee3b0b60"
},
{
"blockHash": "0x7dfe94a40be43302537f723e86deedd645681a1b669379fb8bfaf61cab18d7e3",
"blockNumber": "0x10d4f",
"from": "0xeca622a39c03ab4cb191bc09c9cc0dadb216eadd",
"gas": "0xaa863",
"gasPrice": "0xb606b573",
"maxFeePerGas": "0xb606b576",
"maxPriorityFeePerGas": "0xb606b56c",
"hash": "0x893f8b24e6773b143aaa90329c8c4cee6a64acf73d28c6eaf9b5963a23d482f7",
"input": "0xea54063200000000000000000000000066627f389ae46d881773b7131139b2411980e09e0000000000000000000000007d43aabc515c356145049227cee54b608342c0ad000000000000000000000000000000000000000000000000000000000000012c000000000000000000000000000000000000000000000000000000000004338c0000000000000000000000000000000000000000000000000000000000043bc00000000000000000000000000000000000000000000000000000000000041cd00000000000000000000000000000000000000000000000000000000000043b840000000000000000000000000000000000000000000000000000000006815dd5000000000000000000000000000000000000000000000005087855d876874c3f0000000000000000000000000000000000000000000000000000000006363cb5000000000000000000000000000000000000000000000004c3ef5510dcb01298000000000000000000000000eca622a39c03ab4cb191bc09c9cc0dadb216eadd0000000000000000000000000000000000000000000000000000000064c2e8c5",
"nonce": "0xc",
"to": "0x438670d41d5118003b2f42cc0466fbadd760dbf4",
"transactionIndex": "0x6",
"value": "0x0",
"type": "0x2",
"accessList": [],
"chainId": "0xe708",
"v": "0x1",
"r": "0xee64202e035c52f583a95b87cde60ba2a35b0f65120337888b6e935c5c350099",
"s": "0x179f82736dad88aafbbb739af22129df546ee0f2c19806a03ec2a5fb3fcc5bc9"
},
{
"blockHash": "0x7dfe94a40be43302537f723e86deedd645681a1b669379fb8bfaf61cab18d7e3",
"blockNumber": "0x10d4f",
"from": "0x810f97ba4b071aa9c0469e79dcf71f6eae540777",
"gas": "0xb224",
"gasPrice": "0xb606b573",
"maxFeePerGas": "0xb606b576",
"maxPriorityFeePerGas": "0xb606b56c",
"hash": "0xc6507e9e45c8c546aa071ed0008632a44186f26dd4c0b6ace6564202dcbc4962",
"input": "0x183ff085",
"nonce": "0x10",
"to": "0xcce9d3f392c135dc038b147ca73ec496f7f89d93",
"transactionIndex": "0x7",
"value": "0x0",
"type": "0x2",
"accessList": [],
"chainId": "0xe708",
"v": "0x1",
"r": "0x42679a55aca590265eda119ef0e039c2e029cc5806c7b5b69238ae5bd6bd7983",
"s": "0x4ff87e28916b9f4c8457fcbd07d7001119b6c17a613771f328639c86c427d8d1"
},
{
"blockHash": "0x7dfe94a40be43302537f723e86deedd645681a1b669379fb8bfaf61cab18d7e3",
"blockNumber": "0x10d4f",
"from": "0x133d1a02e27128c5111f069c0399c5458fb1c275",
"gas": "0x5208",
"gasPrice": "0xb606b573",
"maxFeePerGas": "0xb606b576",
"maxPriorityFeePerGas": "0xb606b56c",
"hash": "0x78dd83192f9ee65327e5bbb6e2a2e6532efe915c7f78e6968e12f1555724d90b",
"input": "0x",
"nonce": "0x0",
"to": "0xd89dd5eda96ff717a9c967413c1399b3d3d974f0",
"transactionIndex": "0x8",
"value": "0xaa87bee538000",
"type": "0x2",
"accessList": [],
"chainId": "0xe708",
"v": "0x1",
"r": "0x8aab383b5fd647e4d71fccc9045c6818b9e1391c7892d35ec187c5ec05fe6813",
"s": "0x2ab966ed02f7ed2fac4d81d7c8bdd82c6d5e60851b6aa14d5b5a21e4864f07f5"
},
{
"blockHash": "0x7dfe94a40be43302537f723e86deedd645681a1b669379fb8bfaf61cab18d7e3",
"blockNumber": "0x10d4f",
"from": "0xfaf6f09df88e79fa2a92b18c676314b1e47a4468",
"gas": "0x2cfab",
"gasPrice": "0xb606b573",
"maxFeePerGas": "0xb606b576",
"maxPriorityFeePerGas": "0xb606b56c",
"hash": "0xddf5e0e11c4fbef857dff80cfcb8624fb439bc8f86ae553eae6059d23ca07180",
"input": "0x7ff36ab500000000000000000000000000000000000000000000000001eb91e1b785664f0000000000000000000000000000000000000000000000000000000000000080000000000000000000000000faf6f09df88e79fa2a92b18c676314b1e47a44680000000000000000000000000000000000000000000000000000000064c2e8db0000000000000000000000000000000000000000000000000000000000000002000000000000000000000000e5d7c2a44ffddf6b295a15c148167daaaf5cf34f000000000000000000000000f5c6825015280cdfd0b56903f9f8b5a2233476f5",
"nonce": "0x6",
"to": "0x3228d205a96409a07a44d39916b6ea7b765d61f4",
"transactionIndex": "0x9",
"value": "0x470de4df820000",
"type": "0x2",
"accessList": [],
"chainId": "0xe708",
"v": "0x1",
"r": "0x66a1adc5553c98f0bf49e612526aea1b759b9be01f6c52f5e6ca835656e6dd27",
"s": "0x18cebe2a0303b37b0d5da3d9d18408f46dd90fe24f90f6fa186f1d7a31a5dfa8"
},
{
"blockHash": "0x7dfe94a40be43302537f723e86deedd645681a1b669379fb8bfaf61cab18d7e3",
"blockNumber": "0x10d4f",
"from": "0x9da4ebdde588bffc425ea674b6e095a33be7521a",
"gas": "0x58cb3",
"gasPrice": "0xb606b573",
"maxFeePerGas": "0xb606b576",
"maxPriorityFeePerGas": "0xb606b56c",
"hash": "0x3f47351363ae9855428a218d7411a16e3f71164062672834f15b1980383c7071",
"input": "0x4b8a3529000000000000000000000000c7d8489dae3d2ebef075b1db2257e2c231c9d231000000000000000000000000000000000000000000000000008f3ed2c836fef5",
"nonce": "0xc",
"to": "0x009a0b7c38b542208936f1179151cd08e2943833",
"transactionIndex": "0xa",
"value": "0x0",
"type": "0x2",
"accessList": [],
"chainId": "0xe708",
"v": "0x1",
"r": "0xb9a99691c8fc21bed7c9fb9a718660b16303ddf59ee9e8a31f18b1f12cae6d16",
"s": "0x62f46ff9d26214f47e767f53aa774748d340aaedcf734e95e5da2f386328c556"
},
{
"blockHash": "0x7dfe94a40be43302537f723e86deedd645681a1b669379fb8bfaf61cab18d7e3",
"blockNumber": "0x10d4f",
"from": "0x0ea26a02ff109846c187aecd464ae9ae9e758ff3",
"gas": "0xb507",
"gasPrice": "0xb606b573",
"maxFeePerGas": "0xb606b576",
"maxPriorityFeePerGas": "0xb606b56c",
"hash": "0xe3c7293787336053e26993fe8df2b5334b083c1bd7da1a355d44679414fff83a",
"input": "0x095ea7b3000000000000000000000000272e156df8da513c69cb41cc7a99185d53f926bb00000000000000000000000000000000000000000000000148feb3f124f51228",
"nonce": "0xd",
"to": "0x7d43aabc515c356145049227cee54b608342c0ad",
"transactionIndex": "0xb",
"value": "0x0",
"type": "0x2",
"accessList": [],
"chainId": "0xe708",
"v": "0x1",
"r": "0x26e8e4171a00ce6674c3229d2c8be08e0a1ba6914308566ab0cff0ee5a8134b9",
"s": "0x57adf78438d7cf969c1b5f68f473854f88efb3bb9690c7e8a121ca83a9b6ce7c"
},
{
"blockHash": "0x7dfe94a40be43302537f723e86deedd645681a1b669379fb8bfaf61cab18d7e3",
"blockNumber": "0x10d4f",
"from": "0xb3fd0388667e5e6d4a00369a7d3997a659f80917",
"gas": "0x5c212",
"gasPrice": "0xb606b573",
"maxFeePerGas": "0xb606b576",
"maxPriorityFeePerGas": "0xb606b56c",
"hash": "0xc6b6e7095112d44afd5dc02a13af108da271ab59cacd5c5af524f4b24a00538c",
"input": "0x830cbbbd000000000000000000000000c7d8489dae3d2ebef075b1db2257e2c231c9d231000000000000000000000000000000000000000000000000004706f5950464be",
"nonce": "0x6",
"to": "0x009a0b7c38b542208936f1179151cd08e2943833",
"transactionIndex": "0xc",
"value": "0x0",
"type": "0x2",
"accessList": [],
"chainId": "0xe708",
"v": "0x0",
"r": "0xec127ccb8dd37406ac789213ad73bd955076b00d22474262f33a386d55258add",
"s": "0x7ab1c2cc2a528777282ece33e4ffa012786e050e28632789f7f865479062de4"
},
{
"blockHash": "0x7dfe94a40be43302537f723e86deedd645681a1b669379fb8bfaf61cab18d7e3",
"blockNumber": "0x10d4f",
"from": "0xe991b334b75625624e6982d6b735521526325272",
"gas": "0x200d5",
"gasPrice": "0xb606b573",
"maxFeePerGas": "0xb606b576",
"maxPriorityFeePerGas": "0xb606b56c",
"hash": "0x57f1d375d05371a3109ccb8dafe915b2d5162b440a4cc25eed8a78675cb6929d",
"input": "0x7c6a25d4000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a0fc52225463c370e4fa2cff98e16bf29053e6a05836f507961dfc2685cdd4ef420000000000000000000000000000000000000000000000000000000000000006706f7972617a000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000056c696e6561000000000000000000000000000000000000000000000000000000",
"nonce": "0x6",
"to": "0x07039fb83798d979bc4697ab4e3e1bb715bf9570",
"transactionIndex": "0xd",
"value": "0x0",
"type": "0x2",
"accessList": [],
"chainId": "0xe708",
"v": "0x0",
"r": "0xec338446303502a47b75506de6fd91657a3a29b67f305e54688f8c83d0cad4d5",
"s": "0x61cb6d28c93bfbe9d940b3ac59f01dcbf454e1f571b68432c01bee1293d917f0"
},
{
"blockHash": "0x7dfe94a40be43302537f723e86deedd645681a1b669379fb8bfaf61cab18d7e3",
"blockNumber": "0x10d4f",
"from": "0x289ec155781394e94d0c5ac7ff94d64fd65a3271",
"gas": "0x28172",
"gasPrice": "0xa815c900",
"maxFeePerGas": "0xa815c901",
"maxPriorityFeePerGas": "0xa815c8f9",
"hash": "0x8ba1ee87dbb168c21904ca134b2d6127e19643a6c0fa7b981decc46f8abfc7bc",
"input": "0x84bb1e42000000000000000000000000289ec155781394e94d0c5ac7ff94d64fd65a32710000000000000000000000000000000000000000000000000000000000000001000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee000000000000000000000000000000000000000000000000000221b262dd800000000000000000000000000000000000000000000000000000000000000000c0000000000000000000000000000000000000000000000000000000000000018000000000000000000000000000000000000000000000000000000000000000800000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000221b262dd8000000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
"nonce": "0x0",
"to": "0x1fe8e2e1a42b0f8f0548b6993ccfea26efc3eeab",
"transactionIndex": "0xe",
"value": "0x221b262dd8000",
"type": "0x2",
"accessList": [],
"chainId": "0xe708",
"v": "0x1",
"r": "0xdd128e0c0acee291e96be50bfcb33c54be98bb531e8d18604192655376068598",
"s": "0x2cedb78cd044012382ed186a51bbd3feac617cae27da6b9aab265a9189557b06"
}
],
"transactionsRoot": "0x957468ac87553da70d9213eef60973b76ea0675614e25c08b41802299aa79eff",
"uncles": []
}
}Returns information about a uncle by block number.
eth_getBlockTransactionCountByNumber
Returns the number of transactions in a block.
https://api.lineascan.build/api
?module=proxy
&action=eth_getBlockTransactionCountByNumber
&tag=1BAFE
&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": "0xc"
}
eth_getTransactionByHash
Returns the information about a transaction requested by transaction hash.
https://api.lineascan.build/api
?module=proxy
&action=eth_getTransactionByHash
&txhash=0x1888a560cfa3cc3dceb01ef3bc01d4f2b13839fa8bb6b66a7a33712c019c519f
&apikey=YourApiKeyToken
Try this endpoint in your browser 🔗
Query Parameters
Parameter | Description |
---|---|
txhash | the |
Sample Response
{
"jsonrpc": "2.0",
"id": 1,
"result": {
"blockHash": "0xa0ef3af5d887c1b0ce19ceb8fa5681ada9249f8af24a4b4a229722e358b06fe5",
"blockNumber": "0x1bafe",
"from": "0xe40778d56fe4e817435ec0046473e2046ee75d8e",
"gas": "0x414d4",
"gasPrice": "0xa6e49c00",
"hash": "0x1888a560cfa3cc3dceb01ef3bc01d4f2b13839fa8bb6b66a7a33712c019c519f",
"input": "0xf2b9fdb8000000000000000000000000c7d8489dae3d2ebef075b1db2257e2c231c9d231000000000000000000000000000000000000000000000000016345785d8a0000",
"nonce": "0x1e",
"to": "0x009a0b7c38b542208936f1179151cd08e2943833",
"transactionIndex": "0xb",
"value": "0x16345785d8a0000",
"type": "0x0",
"chainId": "0xe708",
"v": "0x1ce33",
"r": "0x45e8ebf042a2e86cfcf760640dbcea23058872d4d8fda19dcdf8b9c91e45b763",
"s": "0x4d1c294f680eba747979714e16721bcc0f0acb7505d7cd67d4d32016f218de5e"
}
}
eth_getTransactionByBlockNumberAndIndex
Returns information about a transaction by block number.
https://api.lineascan.build/api
?module=proxy
&action=eth_getTransactionByBlockNumberAndIndex
&tag=1BAFE
&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": "0xa0ef3af5d887c1b0ce19ceb8fa5681ada9249f8af24a4b4a229722e358b06fe5",
"blockNumber": "0x1bafe",
"from": "0x96ec0d916715163079308fa9d59ce0440883d59e",
"gas": "0xb224",
"gasPrice": "0x12a05f200",
"maxFeePerGas": "0x12a05f200",
"maxPriorityFeePerGas": "0x12a05f200",
"hash": "0x03409514dd9ca0da84530abc5bba183b9da5edffd5105f43bc7727cd1b22aa0b",
"input": "0x183ff085",
"nonce": "0x16",
"to": "0xcce9d3f392c135dc038b147ca73ec496f7f89d93",
"transactionIndex": "0x0",
"value": "0x0",
"type": "0x2",
"accessList": [],
"chainId": "0xe708",
"v": "0x0",
"r": "0xaafa03033ef537bf3a0223271f852f79637feb0de5e7442e3ca2b3522980f156",
"s": "0x4ce8697bda594a4cb394956c3d533ccec00d78bc182c76fd644b919d5500d174"
}
}
eth_getTransactionCount
Returns the number of transactions performed by an address.
https://api.lineascan.build/api
?module=proxy
&action=eth_getTransactionCount
&address=0xe40778d56FE4E817435eC0046473e2046ee75d8E
&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": "0x1f"
}
eth_sendRawTransaction
Submits a pre-signed transaction for broadcast to the Linea network.
https://api.lineascan.build/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.lineascan.build/api
?module=proxy
&action=eth_getTransactionReceipt
&txhash=0xa142d269c92fb563222abbf401670f94186f401899a8163df9a1b49e6057b47c
&apikey=YourApiKeyToken
Try this endpoint in your browser 🔗
Query Parameters
Parameter | Description |
---|---|
txhash | the |
Sample Response
{
"jsonrpc": "2.0",
"id": 1,
"result": {
"blockHash": "0x9439f37456d8acec79a32fe5e701f5b977674efb79514791ea540febdb2756dd",
"blockNumber": "0x1bafd",
"contractAddress": null,
"cumulativeGasUsed": "0xb3a46",
"effectiveGasPrice": "0xa6e49c00",
"from": "0xe40778d56fe4e817435ec0046473e2046ee75d8e",
"gasUsed": "0x3909d",
"logs": [
{
"address": "0xc7d8489dae3d2ebef075b1db2257e2c231c9d231",
"topics": [
"0xe1979fe4c35e0cef342fef5668e2c8e7a7e9f5d5d1ca8fee0ac6c427fa4153af"
],
"data": "0x000000000000000000000000e40778d56fe4e817435ec0046473e2046ee75d8e000000000000000000000000000000000000000000000000016345785d8a000000000000000000000000000000000000000000000000000003782dbbe55658b0",
"blockNumber": "0x1bafd",
"transactionHash": "0xa142d269c92fb563222abbf401670f94186f401899a8163df9a1b49e6057b47c",
"transactionIndex": "0x7",
"blockHash": "0x9439f37456d8acec79a32fe5e701f5b977674efb79514791ea540febdb2756dd",
"logIndex": "0xe",
"removed": false
}
],
"logsBloom": "0x00000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000000000000000000080000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000000000000100000000800000002000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
"status": "0x1",
"to": "0x009a0b7c38b542208936f1179151cd08e2943833",
"transactionHash": "0xa142d269c92fb563222abbf401670f94186f401899a8163df9a1b49e6057b47c",
"transactionIndex": "0x7",
"type": "0x0"
}
}
eth_call
Executes a new message call immediately without creating a transaction on the block chain.
https://api.lineascan.build/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.lineascan.build/api
?module=proxy
&action=eth_getCode
&address=0x009a0b7C38B542208936F1179151CD08E2943833
&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": "0x60806040526004361061031a5760003560e01c80638456cb59116101ab578063c2998238116100f7578063e61604cf11610095578063f2b9fdb81161006f578063f2b9fdb8146108b7578063f2fde38b146108ca578063f8982e7a146108ea578063fa680561146109195761031a565b8063e61604cf14610864578063ede4edd014610877578063eefc5947146108975761031a565b8063d6b76b9c116100d1578063d6b76b9c146107f1578063d9452b0414610804578063db91323614610824578063de02d642146108445761031a565b8063c299823814610791578063c4d66de8146107b1578063d136af44146107d15761031a565b80639629417811610164578063abdb5ea81161013e578063abdb5ea814610729578063aced16611461073c578063b1283e7714610751578063c04f31ff146107715761031a565b806396294178146106c9578063a2a2d5bb146106e9578063a8431081146107095761031a565b80638456cb59146106355780638b95e3351461064a5780638c765e941461065f5780638da5cb5b14610674578063928fe47714610689578063929fe9a1146106a95761031a565b8063571abe301161026a5780636922d7b611610223578063748747e6116101fd578063748747e6146105c05780637a81308f146105e05780637f0927f214610600578063830cbbbd146106155761031a565b80636922d7b61461055e5780636e8584fd1461057e578063715018a6146105ab5761031a565b8063571abe30146104cc57806359086a5e146104e157806359341a1a146104f45780635c975abb1461050957806366ae02091461051e57806368155ec11461053e5761031a565b8063186db48f116102d75780633a941f73116102b15780633a941f73146104575780633f4ba83a146104775780634b8a35291461048c5780635189e110146104ac5761031a565b8063186db48f14610400578063375a7cba146104205780633a5381b5146104425761031a565b806305308b9f1461031f5780630c5ff1021461034a57806312348e961461036c5780631327d3d81461038e5780631488ca08146103ae578063158ef93e146103de575b600080fd5b34801561032b57600080fd5b5061033461092e565b604051610341919061474f565b60405180910390f35b34801561035657600080fd5b5061035f610934565b6040516103419190613e02565b34801561037857600080fd5b5061038c610387366004613d62565b610943565b005b34801561039a57600080fd5b5061038c6103a9366004613a9a565b610a19565b3480156103ba57600080fd5b506103ce6103c9366004613a9a565b610adc565b6040516103419493929190613f8d565b3480156103ea57600080fd5b506103f3610b07565b6040516103419190613f82565b34801561040c57600080fd5b5061038c61041b366004613bff565b610b10565b34801561042c57600080fd5b50610435610c6e565b6040516103419190613ee3565b34801561044e57600080fd5b5061035f610cd0565b34801561046357600080fd5b5061038c610472366004613b94565b610cdf565b34801561048357600080fd5b5061038c610f2b565b34801561049857600080fd5b5061038c6104a7366004613bd4565b610f87565b3480156104b857600080fd5b506104356104c7366004613a9a565b6111a7565b3480156104d857600080fd5b5061035f61121d565b61038c6104ef366004613b94565b61122c565b34801561050057600080fd5b5061035f611337565b34801561051557600080fd5b506103f3611346565b34801561052a57600080fd5b5061038c610539366004613a9a565b61134f565b34801561054a57600080fd5b5061038c610559366004613b44565b611412565b34801561056a57600080fd5b5061038c610579366004613a9a565b611571565b34801561058a57600080fd5b5061059e610599366004613a9a565b61160b565b6040516103419190614722565b3480156105b757600080fd5b5061038c611666565b3480156105cc57600080fd5b5061038c6105db366004613a9a565b6116ef565b3480156105ec57600080fd5b5061038c6105fb366004613a9a565b6117b7565b34801561060c57600080fd5b5061038c61187a565b34801561062157600080fd5b50610334610630366004613bd4565b61190d565b34801561064157600080fd5b5061038c611ac3565b34801561065657600080fd5b5061035f611b1d565b34801561066b57600080fd5b50610334611b2c565b34801561068057600080fd5b5061035f611b32565b34801561069557600080fd5b506103f36106a4366004613b0c565b611b41565b3480156106b557600080fd5b506103f36106c4366004613b0c565b611b61565b3480156106d557600080fd5b506103346106e4366004613bd4565b611b91565b3480156106f557600080fd5b5061035f610704366004613bd4565b611c49565b34801561071557600080fd5b5061038c610724366004613d62565b611c7e565b61038c610737366004613bd4565b611d05565b34801561074857600080fd5b5061035f611e0e565b34801561075d57600080fd5b5061035f61076c366004613d62565b611e22565b34801561077d57600080fd5b5061038c61078c366004613bd4565b611e49565b34801561079d57600080fd5b5061038c6107ac366004613c68565b612003565b3480156107bd57600080fd5b5061038c6107cc366004613a9a565b612038565b3480156107dd57600080fd5b5061038c6107ec366004613bff565b6120d1565b61038c6107ff366004613b94565b612228565b34801561081057600080fd5b5061038c61081f366004613ad2565b6123ab565b34801561083057600080fd5b5061038c61083f366004613a9a565b612570565b34801561085057600080fd5b5061038c61085f366004613a9a565b612817565b61038c610872366004613b44565b6128da565b34801561088357600080fd5b5061038c610892366004613a9a565b612ddc565b3480156108a357600080fd5b5061038c6108b2366004613a9a565b612fe3565b6103346108c5366004613bd4565b6130b4565b3480156108d657600080fd5b5061038c6108e5366004613a9a565b61344b565b3480156108f657600080fd5b5061090a610905366004613a9a565b61350b565b60405161034193929190614758565b34801561092557600080fd5b5061038c61359e565b600a5481565b6003546001600160a01b031681565b60025461010090046001600160a01b03163314806109795750610964611b32565b6001600160a01b0316336001600160a01b0316145b61099e5760405162461bcd60e51b81526004016109959061417f565b60405180910390fd5b66b1a2bc2ec5000081101580156109bd5750670c7d713b49da00008111155b6109d95760405162461bcd60e51b81526004016109959061449d565b600a8190556040517fd88469f5aa8525dce9ae07fa2d8df83e2ec766fc060483b66a0082ff36d6582d90610a0e90839061474f565b60405180910390a150565b60025461010090046001600160a01b0316331480610a4f5750610a3a611b32565b6001600160a01b0316336001600160a01b0316145b610a6b5760405162461bcd60e51b81526004016109959061417f565b6001600160a01b038116610a915760405162461bcd60e51b81526004016109959061456e565b600480546001600160a01b0319166001600160a01b0383161790556040517fb3a3a56265020415cf2f7ff198e2052a6e1d43d7eb127450af725829e40e08c290610a0e908390613e02565b600960205260009081526040902080546001820154600283015460039093015460ff90921692909184565b600e5460ff1681565b60025461010090046001600160a01b0316331480610b465750610b31611b32565b6001600160a01b0316336001600160a01b0316145b610b625760405162461bcd60e51b81526004016109959061417f565b8215801590610b7057508281145b610b8c5760405162461bcd60e51b8152600401610995906145dc565b60005b83811015610c6757828282818110610ba357fe5b9050602002013560096000878785818110610bba57fe5b9050602002016020810190610bcf9190613a9a565b6001600160a01b03168152602081019190915260400160002060020155848482818110610bf857fe5b9050602002016020810190610c0d9190613a9a565b6001600160a01b03167f84d2db42497fc6f1882756be420935d982025ad8a2a903dfb83638a09e49a775848484818110610c4357fe5b90506020020135604051610c57919061474f565b60405180910390a2600101610b8f565b5050505050565b60606008805480602002602001604051908101604052809291908181526020018280548015610cc657602002820191906000526020600020905b81546001600160a01b03168152600190910190602001808311610ca8575b5050505050905090565b6004546001600160a01b031681565b6001600160a01b038316600090815260096020526040902054839060ff16610d195760405162461bcd60e51b8152600401610995906144d4565b6003546001600160a01b03163314610d435760405162461bcd60e51b8152600401610995906146ed565b60026001541415610d665760405162461bcd60e51b81526004016109959061467f565b6002600155610d73611346565b15610d905760405162461bcd60e51b8152600401610995906142a2565b60006001600160a01b0316846001600160a01b0316636f307dc36040518163ffffffff1660e01b815260040160206040518083038186803b158015610dd457600080fd5b505afa158015610de8573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e0c9190613ab6565b6001600160a01b031614610e325760405162461bcd60e51b8152600401610995906141c6565b610e3c8433613605565b604051634b8a352960e01b81526001600160a01b03851690634b8a352990610e6a9033908690600401613e5d565b602060405180830381600087803b158015610e8457600080fd5b505af1158015610e98573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ebc9190613d7a565b506006546040516359debb6760e11b81526001600160a01b039091169063b3bd76ce90610eef9087908790600401613e76565b600060405180830381600087803b158015610f0957600080fd5b505af1158015610f1d573d6000803e3d6000fd5b505060018055505050505050565b60025461010090046001600160a01b0316331480610f615750610f4c611b32565b6001600160a01b0316336001600160a01b0316145b610f7d5760405162461bcd60e51b81526004016109959061417f565b610f856136f5565b565b6001600160a01b038216600090815260096020526040902054829060ff16610fc15760405162461bcd60e51b8152600401610995906144d4565b60026001541415610fe45760405162461bcd60e51b81526004016109959061467f565b6002600155610ff1611346565b1561100e5760405162461bcd60e51b8152600401610995906142a2565b6110188333613605565b6004805460405163368f515360e21b81526001600160a01b039091169163da3d454c9161104b9187913391889101613e39565b602060405180830381600087803b15801561106557600080fd5b505af1158015611079573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061109d9190613d05565b6110b95760405162461bcd60e51b8152600401610995906142cc565b604051634b8a352960e01b81526001600160a01b03841690634b8a3529906110e79033908690600401613e5d565b602060405180830381600087803b15801561110157600080fd5b505af1158015611115573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111399190613d7a565b506006546040516359debb6760e11b81526001600160a01b039091169063b3bd76ce9061116c9086903390600401613e76565b600060405180830381600087803b15801561118657600080fd5b505af115801561119a573d6000803e3d6000fd5b5050600180555050505050565b6001600160a01b0381166000908152600c602090815260409182902080548351818402810184019094528084526060939283018282801561121157602002820191906000526020600020905b81546001600160a01b031681526001909101906020018083116111f3575b50505050509050919050565b6006546001600160a01b031681565b6001600160a01b038316600090815260096020526040902054839060ff166112665760405162461bcd60e51b8152600401610995906144d4565b600260015414156112895760405162461bcd60e51b81526004016109959061467f565b6002600155611296611346565b156112b35760405162461bcd60e51b8152600401610995906142a2565b604051632c84352f60e11b81526001600160a01b038516906359086a5e9034906112e590339088908890600401613e39565b6020604051808303818588803b1580156112fe57600080fd5b505af1158015611312573d6000803e3d6000fd5b50505050506040513d601f19601f82011682018060405250810190610ebc9190613d7a565b6005546001600160a01b031681565b60025460ff1690565b60025461010090046001600160a01b03163314806113855750611370611b32565b6001600160a01b0316336001600160a01b0316145b6113a15760405162461bcd60e51b81526004016109959061417f565b6001600160a01b0381166113c75760405162461bcd60e51b815260040161099590614050565b600680546001600160a01b0319166001600160a01b0383161790556040517f2351f252c60252e548e93df4d785886faa1d88410325b8bce69d624a25583ae790610a0e908390613e02565b600260015414156114355760405162461bcd60e51b81526004016109959061467f565b60026001556000805b600854811015611482576008818154811061145557fe5b6000918252602090912001546001600160a01b031633141561147a5760019150611482565b60010161143e565b506001811515146114a55760405162461bcd60e51b8152600401610995906141fd565b604051636119bced60e11b8152339063c23379da906114ce908890889088908890600401613e90565b600060405180830381600087803b1580156114e857600080fd5b505af11580156114fc573d6000803e3d6000fd5b505060065460405163dd9aba1b60e01b81526001600160a01b03909116925063dd9aba1b915061153490339088908890600401613e16565b600060405180830381600087803b15801561154e57600080fd5b505af1158015611562573d6000803e3d6000fd5b50506001805550505050505050565b60025461010090046001600160a01b03163314806115a75750611592611b32565b6001600160a01b0316336001600160a01b0316145b6115c35760405162461bcd60e51b81526004016109959061417f565b6001600160a01b0381166115e95760405162461bcd60e51b815260040161099590614539565b600780546001600160a01b0319166001600160a01b0392909216919091179055565b6116136139fb565b506001600160a01b03166000908152600960209081526040918290208251608081018452815460ff1615158152600182015492810192909252600281015492820192909252600390910154606082015290565b61166e613763565b6001600160a01b031661167f611b32565b6001600160a01b0316146116a55760405162461bcd60e51b8152600401610995906143fa565b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b60025461010090046001600160a01b03163314806117255750611710611b32565b6001600160a01b0316336001600160a01b0316145b6117415760405162461bcd60e51b81526004016109959061417f565b6001600160a01b0381166117675760405162461bcd60e51b81526004016109959061426b565b60028054610100600160a81b0319166101006001600160a01b038416021790556040517f0425bcd291db1d48816f2a98edc7ecaf6dd5c64b973d9e4b3b6b750763dc6c2e90610a0e908390613e02565b60025461010090046001600160a01b03163314806117ed57506117d8611b32565b6001600160a01b0316336001600160a01b0316145b6118095760405162461bcd60e51b81526004016109959061417f565b6001600160a01b03811661182f5760405162461bcd60e51b81526004016109959061442f565b600380546001600160a01b0319166001600160a01b0383161790556040517fa0db7f35e3369b887ccd7d6757ea475d09c689b97f5d0b4ee395add6a5d4545d90610a0e908390613e02565b6002600154141561189d5760405162461bcd60e51b81526004016109959061467f565b600260015560065460405163025181bb60e41b81526001600160a01b03909116906325181bb0906118d5906008903390600401613f20565b600060405180830381600087803b1580156118ef57600080fd5b505af1158015611903573d6000803e3d6000fd5b5050600180555050565b6001600160a01b038216600090815260096020526040812054839060ff166119475760405162461bcd60e51b8152600401610995906144d4565b6002600154141561196a5760405162461bcd60e51b81526004016109959061467f565b6002600155611977611346565b156119945760405162461bcd60e51b8152600401610995906142a2565b60405163830cbbbd60e01b81526000906001600160a01b0386169063830cbbbd906119c59033908890600401613e5d565b602060405180830381600087803b1580156119df57600080fd5b505af11580156119f3573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611a179190613d7a565b600654604051639ba24c9b60e01b81529192506001600160a01b031690639ba24c9b90611a4a9088903390600401613e76565b600060405180830381600087803b158015611a6457600080fd5b505af1158015611a78573d6000803e3d6000fd5b505050507fda2fcb771cce6a80cd6c0101db394f4fd1f8755def9185535cc97509f3e03cdd338683604051611aaf93929190613e39565b60405180910390a160018055949350505050565b60025461010090046001600160a01b0316331480611af95750611ae4611b32565b6001600160a01b0316336001600160a01b0316145b611b155760405162461bcd60e51b81526004016109959061417f565b610f85613767565b6007546001600160a01b031681565b600b5481565b6000546001600160a01b031690565b600d60209081526000928352604080842090915290825290205460ff1681565b6001600160a01b038082166000908152600d602090815260408083209386168352929052205460ff165b92915050565b6001600160a01b038216600090815260096020526040812054839060ff16611bcb5760405162461bcd60e51b8152600401610995906144d4565b60026001541415611bee5760405162461bcd60e51b81526004016109959061467f565b6002600155611bfb611346565b15611c185760405162461bcd60e51b8152600401610995906142a2565b6040516312c5282f60e31b81526000906001600160a01b038616906396294178906119c59033908890600401613e5d565b600c6020528160005260406000208181548110611c6257fe5b6000918252602090912001546001600160a01b03169150829050565b60025461010090046001600160a01b0316331480611cb45750611c9f611b32565b6001600160a01b0316336001600160a01b0316145b611cd05760405162461bcd60e51b81526004016109959061417f565b600b8190556040517f6791c9b68799eda502f8f7808e4ab556a632237eea58a66c4f7e4e6f94574d0d90610a0e90839061474f565b6001600160a01b038216600090815260096020526040902054829060ff16611d3f5760405162461bcd60e51b8152600401610995906144d4565b60026001541415611d625760405162461bcd60e51b81526004016109959061467f565b6002600155611d6f611346565b15611d8c5760405162461bcd60e51b8152600401610995906142a2565b60405163157b6bd560e31b81526001600160a01b0384169063abdb5ea8903490611dbc9033908790600401613e5d565b6020604051808303818588803b158015611dd557600080fd5b505af1158015611de9573d6000803e3d6000fd5b50505050506040513d601f19601f820116820180604052508101906111399190613d7a565b60025461010090046001600160a01b031681565b60088181548110611e2f57fe5b6000918252602090912001546001600160a01b0316905081565b60025461010090046001600160a01b0316331480611e7f5750611e6a611b32565b6001600160a01b0316336001600160a01b0316145b611e9b5760405162461bcd60e51b81526004016109959061417f565b6001600160a01b038216600090815260096020526040902054829060ff16611ed55760405162461bcd60e51b8152600401610995906144d4565b670c7d713b49da0000821115611efd5760405162461bcd60e51b815260040161099590614466565b8115801590611f89575060075460405163fc57d4df60e01b81526001600160a01b039091169063fc57d4df90611f37908690600401613e02565b60206040518083038186803b158015611f4f57600080fd5b505afa158015611f63573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611f879190613d7a565b155b15611fa65760405162461bcd60e51b8152600401610995906140da565b6001600160a01b03831660009081526009602052604090819020600301839055517f275d6207ccd4271a12c584febf2bcf32254205dfb4639ce1a9184d2e2609e2d090611ff69085908590613e5d565b60405180910390a1505050565b60005b81518110156120345761202c82828151811061201e57fe5b602002602001015133613605565b600101612006565b5050565b612040613763565b6001600160a01b0316612051611b32565b6001600160a01b0316146120775760405162461bcd60e51b8152600401610995906143fa565b600e5460ff161561209a5760405162461bcd60e51b8152600401610995906142f9565b6120a26137c2565b600780546001600160a01b0319166001600160a01b0392909216919091179055600e805460ff19166001179055565b60025461010090046001600160a01b031633148061210757506120f2611b32565b6001600160a01b0316336001600160a01b0316145b6121235760405162461bcd60e51b81526004016109959061417f565b821580159061213157508281145b61214d5760405162461bcd60e51b8152600401610995906145dc565b60005b83811015610c675782828281811061216457fe5b905060200201356009600087878581811061217b57fe5b90506020020160208101906121909190613a9a565b6001600160a01b031681526020810191909152604001600020600101558484828181106121b957fe5b90506020020160208101906121ce9190613a9a565b6001600160a01b03167f638a463c59949a284e093291dedfbadcb32ebf9007e649767344e67346ab882984848481811061220457fe5b90506020020135604051612218919061474f565b60405180910390a2600101612150565b6001600160a01b038316600090815260096020526040902054839060ff166122625760405162461bcd60e51b8152600401610995906144d4565b6003546001600160a01b0316331461228c5760405162461bcd60e51b8152600401610995906146ed565b600260015414156122af5760405162461bcd60e51b81526004016109959061467f565b60026001556122bc611346565b156122d95760405162461bcd60e51b8152600401610995906142a2565b60006001600160a01b0316846001600160a01b0316636f307dc36040518163ffffffff1660e01b815260040160206040518083038186803b15801561231d57600080fd5b505afa158015612331573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906123559190613ab6565b6001600160a01b03161461237b5760405162461bcd60e51b8152600401610995906141c6565b60405163157b6bd560e31b81526001600160a01b0385169063abdb5ea89034906112e59033908790600401613e5d565b60025461010090046001600160a01b03163314806123e157506123cc611b32565b6001600160a01b0316336001600160a01b0316145b6123fd5760405162461bcd60e51b81526004016109959061417f565b6001600160a01b03841660009081526009602052604090205460ff16156124365760405162461bcd60e51b8152600401610995906146b6565b60005b60085481101561249557846001600160a01b03166008828154811061245a57fe5b6000918252602090912001546001600160a01b0316141561248d5760405162461bcd60e51b8152600401610995906146b6565b600101612439565b506040805160808101825260018082526020808301878152838501878152606085018781526001600160a01b038b16600081815260099095528785209651875460ff1916901515178755925186860155905160028601555160039094019390935560088054928301815590527ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee30180546001600160a01b0319169091179055517fcf583bb0c569eb967f806b11601c4cb93c10310485c67add5f8362c2f212321f90612562908690613e02565b60405180910390a150505050565b60025461010090046001600160a01b03163314806125a65750612591611b32565b6001600160a01b0316336001600160a01b0316145b6125c25760405162461bcd60e51b81526004016109959061417f565b6001600160a01b03811660009081526009602052604090205460ff166125fa5760405162461bcd60e51b815260040161099590614326565b806001600160a01b03166318160ddd6040518163ffffffff1660e01b815260040160206040518083038186803b15801561263357600080fd5b505afa158015612647573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061266b9190613d7a565b1580156126e65750806001600160a01b0316638285ef406040518163ffffffff1660e01b815260040160206040518083038186803b1580156126ac57600080fd5b505afa1580156126c0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906126e49190613d7a565b155b6127025760405162461bcd60e51b8152600401610995906145a5565b60085460005b8181101561281257826001600160a01b03166008828154811061272757fe5b6000918252602090912001546001600160a01b0316141561280a576008600183038154811061275257fe5b600091825260209091200154600880546001600160a01b03909216918390811061277857fe5b9060005260206000200160006101000a8154816001600160a01b0302191690836001600160a01b0316021790555060088054806127b157fe5b60008281526020808220830160001990810180546001600160a01b03191690559092019092556001600160a01b03851682526009905260408120805460ff19168155600181018290556002810182905560030155612812565b600101612708565b505050565b60025461010090046001600160a01b031633148061284d5750612838611b32565b6001600160a01b0316336001600160a01b0316145b6128695760405162461bcd60e51b81526004016109959061417f565b6001600160a01b03811661288f5760405162461bcd60e51b815260040161099590614608565b600580546001600160a01b0319166001600160a01b0383161790556040517f827daa11640de0eb908d0b06593ffb3f2b5e14e83d678fb922e512075f1d36f090610a0e908390613e02565b600260015414156128fd5760405162461bcd60e51b81526004016109959061467f565b600260015561290a611346565b156129275760405162461bcd60e51b8152600401610995906142a2565b60006001600160a01b0316846001600160a01b0316636f307dc36040518163ffffffff1660e01b815260040160206040518083038186803b15801561296b57600080fd5b505afa15801561297f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906129a39190613ab6565b6001600160a01b0316146129b757806129b9565b345b6001600160a01b03851660009081526009602052604090205490915060ff1680156129fc57506001600160a01b03831660009081526009602052604090205460ff165b612a185760405162461bcd60e51b8152600401610995906144d4565b6001600160a01b038084166000908152600d602090815260408083209386168352929052205460ff16612a5d5760405162461bcd60e51b81526004016109959061464f565b6001600160a01b038316600090815260096020526040902060030154612a955760405162461bcd60e51b81526004016109959061464f565b60048054600a546040516312e8123160e11b81526001600160a01b03909216926325d0246292612acc928992889288929101613eba565b602060405180830381600087803b158015612ae657600080fd5b505af1158015612afa573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612b1e9190613d05565b612b3a5760405162461bcd60e51b815260040161099590614502565b600080856001600160a01b031663e61604cf34873388886040518663ffffffff1660e01b8152600401612b709493929190613e90565b6060604051808303818588803b158015612b8957600080fd5b505af1158015612b9d573d6000803e3d6000fd5b50505050506040513d601f19601f82011682018060405250810190612bc29190613d92565b60405163b2a02ff160e01b815291945092506001600160a01b038716915063b2a02ff190612bf890339088908690600401613e39565b600060405180830381600087803b158015612c1257600080fd5b505af1158015612c26573d6000803e3d6000fd5b505060065460405163dd9aba1b60e01b81526001600160a01b03909116925063dd9aba1b9150612c5e90889088903390600401613e16565b600060405180830381600087803b158015612c7857600080fd5b505af1158015612c8c573d6000803e3d6000fd5b505050506000821115612d6c5760055460405163b2a02ff160e01b81526001600160a01b038781169263b2a02ff192612ccf929091169088908790600401613e39565b600060405180830381600087803b158015612ce957600080fd5b505af1158015612cfd573d6000803e3d6000fd5b505060065460055460405163dd9aba1b60e01b81526001600160a01b03928316945063dd9aba1b9350612d39928a928a92911690600401613e16565b600060405180830381600087803b158015612d5357600080fd5b505af1158015612d67573d6000803e3d6000fd5b505050505b6006546040516359debb6760e11b81526001600160a01b039091169063b3bd76ce90612d9e9089908890600401613e76565b600060405180830381600087803b158015612db857600080fd5b505af1158015612dcc573d6000803e3d6000fd5b5050600180555050505050505050565b6001600160a01b038116600090815260096020526040902054819060ff16612e165760405162461bcd60e51b8152600401610995906144d4565b6001600160a01b0382166000908152600d60209081526040808320338452909152902054829060ff16612e5b5760405162461bcd60e51b815260040161099590614019565b612e63613a25565b60405163497d274760e11b81526001600160a01b038516906392fa4e8e90612e8f903390600401613e02565b606060405180830381600087803b158015612ea957600080fd5b505af1158015612ebd573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612ee19190613d25565b90508060200151600014612f075760405162461bcd60e51b815260040161099590613fd8565b60048054825160405163eabe7d9160e01b81526001600160a01b039092169263eabe7d9192612f3a928992339201613e39565b602060405180830381600087803b158015612f5457600080fd5b505af1158015612f68573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612f8c9190613d05565b612fa85760405162461bcd60e51b815260040161099590614355565b612fb284336137dc565b7fe699a64c18b07ac5b7301aa273f36a2287239eb9501d81950672794afba29a0d8433604051612562929190613e76565b600260015414156130065760405162461bcd60e51b81526004016109959061467f565b600260019081556040805182815280820190915260609160208083019080368337019050509050818160008151811061303b57fe5b6001600160a01b03928316602091820292909201015260065460405163025181bb60e41b81529116906325181bb09061307a9084903390600401613ef6565b600060405180830381600087803b15801561309457600080fd5b505af11580156130a8573d6000803e3d6000fd5b50506001805550505050565b6001600160a01b038216600090815260096020526040812054839060ff166130ee5760405162461bcd60e51b8152600401610995906144d4565b600260015414156131115760405162461bcd60e51b81526004016109959061467f565b600260015561311e611346565b1561313b5760405162461bcd60e51b8152600401610995906142a2565b60006001600160a01b0316846001600160a01b0316636f307dc36040518163ffffffff1660e01b815260040160206040518083038186803b15801561317f57600080fd5b505afa158015613193573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906131b79190613ab6565b6001600160a01b0316146131cb57826131cd565b345b6001600160a01b0385166000908152600960205260409020600101549093508015806132ff5750806132fc856132f6670de0b6b3a76400006132f08a6001600160a01b0316633ba0b9a96040518163ffffffff1660e01b815260040160206040518083038186803b15801561324157600080fd5b505afa158015613255573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906132799190613d7a565b8b6001600160a01b03166318160ddd6040518163ffffffff1660e01b815260040160206040518083038186803b1580156132b257600080fd5b505afa1580156132c6573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906132ea9190613d7a565b90613963565b906139a4565b906139d6565b11155b61331b5760405162461bcd60e51b815260040161099590614148565b6000856001600160a01b031663f2b9fdb83433886040518463ffffffff1660e01b815260040161334c929190613e5d565b6020604051808303818588803b15801561336557600080fd5b505af1158015613379573d6000803e3d6000fd5b50505050506040513d601f19601f8201168201806040525081019061339e9190613d7a565b600654604051639ba24c9b60e01b81529192506001600160a01b031690639ba24c9b906133d19089903390600401613e76565b600060405180830381600087803b1580156133eb57600080fd5b505af11580156133ff573d6000803e3d6000fd5b505050507f2bbccc947c61d8ee81518a7f91c8e99f62691dbacce3401d6ab09fb692fbe17333878760405161343693929190613e39565b60405180910390a16001805595945050505050565b613453613763565b6001600160a01b0316613464611b32565b6001600160a01b03161461348a5760405162461bcd60e51b8152600401610995906143fa565b6001600160a01b0381166134b05760405162461bcd60e51b815260040161099590614094565b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b60048054604051635ec88c7960e01b8152600092839283926001600160a01b0390911691635ec88c799161354191889101613e02565b60606040518083038186803b15801561355957600080fd5b505afa15801561356d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906135919190613d92565b9250925092509193909250565b600654604051637ee0d61360e01b81526001600160a01b0390911690637ee0d613906135d1906008903390600401613f20565b600060405180830381600087803b1580156135eb57600080fd5b505af11580156135ff573d6000803e3d6000fd5b50505050565b6001600160a01b038216600090815260096020526040902054829060ff1661363f5760405162461bcd60e51b8152600401610995906144d4565b6001600160a01b038084166000908152600d602090815260408083209386168352929052205460ff16612812576001600160a01b038084166000818152600d602090815260408083209487168352938152838220805460ff19166001908117909155600c825284832080549182018155835291200180546001600160a01b0319169091179055517f3ab23ab0d51cccc0c3085aec51f99228625aa1a922b3a8ca89a26b0f2027a1a590611ff69085908590613e76565b6136fd611346565b6137195760405162461bcd60e51b815260040161099590613faa565b6002805460ff191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa61374c613763565b6040516137599190613e02565b60405180910390a1565b3390565b61376f611346565b1561378c5760405162461bcd60e51b8152600401610995906142a2565b6002805460ff191660011790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a25861374c613763565b6706f05b59d3b20000600a55670ff59ee833b30000600b55565b6001600160a01b0381166000908152600c60205260409020546138115760405162461bcd60e51b8152600401610995906143c3565b6001600160a01b038083166000908152600d602090815260408083209385168352928152828220805460ff19169055600c905290812054905b818110156135ff576001600160a01b038381166000908152600c602052604090208054918616918390811061387b57fe5b6000918252602090912001546001600160a01b0316141561395b576001600160a01b0383166000908152600c60205260409020805460001984019081106138be57fe5b60009182526020808320909101546001600160a01b038681168452600c90925260409092208054919092169190839081106138f557fe5b600091825260208083209190910180546001600160a01b0319166001600160a01b039485161790559185168152600c9091526040902080548061393457fe5b600082815260209020810160001990810180546001600160a01b03191690550190556135ff565b60010161384a565b60008261397257506000611b8b565b8282028284828161397f57fe5b041461399d5760405162461bcd60e51b815260040161099590614382565b9392505050565b60008082116139c55760405162461bcd60e51b815260040161099590614234565b8183816139ce57fe5b049392505050565b60008282018381101561399d5760405162461bcd60e51b815260040161099590614111565b60405180608001604052806000151581526020016000815260200160008152602001600081525090565b60405180606001604052806000815260200160008152602001600081525090565b8035611b8b816147b5565b60008083601f840112613a62578182fd5b50813567ffffffffffffffff811115613a79578182fd5b6020830191508360208083028501011115613a9357600080fd5b9250929050565b600060208284031215613aab578081fd5b813561399d816147b5565b600060208284031215613ac7578081fd5b815161399d816147b5565b60008060008060808587031215613ae7578283fd5b8435613af2816147b5565b966020860135965060408601359560600135945092505050565b60008060408385031215613b1e578182fd5b8235613b29816147b5565b91506020830135613b39816147b5565b809150509250929050565b60008060008060808587031215613b59578384fd5b8435613b64816147b5565b93506020850135613b74816147b5565b92506040850135613b84816147b5565b9396929550929360600135925050565b600080600060608486031215613ba8578283fd5b8335613bb3816147b5565b92506020840135613bc3816147b5565b929592945050506040919091013590565b60008060408385031215613be6578182fd5b8235613bf1816147b5565b946020939093013593505050565b60008060008060408587031215613c14578384fd5b843567ffffffffffffffff80821115613c2b578586fd5b613c3788838901613a51565b90965094506020870135915080821115613c4f578384fd5b50613c5c87828801613a51565b95989497509550505050565b60006020808385031215613c7a578182fd5b823567ffffffffffffffff811115613c90578283fd5b8301601f81018513613ca0578283fd5b8035613cb3613cae82614795565b61476e565b8181528381019083850185840285018601891015613ccf578687fd5b8694505b83851015613cf957613ce58982613a46565b835260019490940193918501918501613cd3565b50979650505050505050565b600060208284031215613d16578081fd5b8151801515811461399d578182fd5b600060608284031215613d36578081fd5b613d40606061476e565b8251815260208301516020820152604083015160408201528091505092915050565b600060208284031215613d73578081fd5b5035919050565b600060208284031215613d8b578081fd5b5051919050565b600080600060608486031215613da6578081fd5b8351925060208401519150604084015190509250925092565b6000815180845260208085019450808401835b83811015613df75781516001600160a01b031687529582019590820190600101613dd2565b509495945050505050565b6001600160a01b0391909116815260200190565b6001600160a01b0393841681529183166020830152909116604082015260600190565b6001600160a01b039384168152919092166020820152604081019190915260600190565b6001600160a01b03929092168252602082015260400190565b6001600160a01b0392831681529116602082015260400190565b6001600160a01b039485168152928416602084015292166040820152606081019190915260800190565b6001600160a01b0394851681529290931660208301526040820152606081019190915260800190565b60006020825261399d6020830184613dbf565b600060408252613f096040830185613dbf565b905060018060a01b03831660208301529392505050565b6000604082016040835280855480835260608501915086845260209250828420845b82811015613f675781546001600160a01b031684529284019260019182019101613f42565b5050506001600160a01b039490941692019190915250919050565b901515815260200190565b931515845260208401929092526040830152606082015260800190565b60208082526014908201527314185d5cd8589b194e881b9bdd081c185d5cd95960621b604082015260600190565b60208082526021908201527f436f72653a20626f72726f772062616c616e6365206d757374206265207a65726040820152606f60f81b606082015260800190565b60208082526017908201527f436f72653a206d75737420656e746572206d61726b6574000000000000000000604082015260600190565b60208082526024908201527f436f72653a20696e76616c6964206c61624469737472696275746f72206164646040820152637265737360e01b606082015260800190565b60208082526026908201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160408201526564647265737360d01b606082015260800190565b6020808252601e908201527f436f72653a20696e76616c696420756e6465726c79696e672070726963650000604082015260600190565b6020808252601b908201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604082015260600190565b60208082526018908201527f436f72653a20737570706c792063617020726561636865640000000000000000604082015260600190565b60208082526027908201527f436f72653a2063616c6c6572206973206e6f7420746865206f776e6572206f726040820152661035b2b2b832b960c91b606082015260800190565b6020808252601e908201527f436f72653a20696e76616c696420756e6465726c79696e672061737365740000604082015260600190565b6020808252601d908201527f436f72653a2063616c6c65722073686f756c64206265206d61726b6574000000604082015260600190565b6020808252601a908201527f536166654d6174683a206469766973696f6e206279207a65726f000000000000604082015260600190565b6020808252601c908201527f436f72653a20696e76616c6964206b6565706572206164647265737300000000604082015260600190565b60208082526010908201526f14185d5cd8589b194e881c185d5cd95960821b604082015260600190565b602080825260139082015272436f72653a2063616e6e6f7420626f72726f7760681b604082015260600190565b602080825260139082015272185b1c9958591e481a5b9a5d1a585b1a5e9959606a1b604082015260600190565b60208082526015908201527410dbdc994e881d5b9b1a5cdd1959081b585c9ad95d605a1b604082015260600190565b602080825260139082015272436f72653a2063616e6e6f742072656465656d60681b604082015260600190565b60208082526021908201527f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f6040820152607760f81b606082015260800190565b6020808252601c908201527f436f72653a2063616e6e6f7420706f702075736572206d61726b657400000000604082015260600190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b6020808252601e908201527f436f72653a20696e76616c6964206e667420636f726520616464726573730000604082015260600190565b6020808252601f908201527f436f72653a20696e76616c696420636f6c6c61746572616c20666163746f7200604082015260600190565b6020808252601a908201527f436f72653a20696e76616c696420636c6f736520666163746f72000000000000604082015260600190565b60208082526014908201527310dbdc994e881a5b9d985b1a59081b585c9ad95d60621b604082015260600190565b6020808252601d908201527f436f72653a2063616e6e6f74206c697175696461746520626f72726f77000000604082015260600190565b6020808252818101527f436f72653a20696e76616c69642063616c63756c61746f722061646472657373604082015260600190565b6020808252601f908201527f436f72653a20696e76616c69642076616c696461746f72206164647265737300604082015260600190565b6020808252601a908201527f436f72653a2063616e6e6f742072656d6f7665206d61726b6574000000000000604082015260600190565b602080825260129082015271436f72653a20696e76616c6964206461746160701b604082015260600190565b60208082526027908201527f436f72653a20696e76616c6964207265626174654469737472696275746f72206040820152666164647265737360c81b606082015260800190565b60208082526016908201527510dbdc994e881b9bdd08184818dbdb1b185d195c985b60521b604082015260600190565b6020808252601f908201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604082015260600190565b6020808252601b908201527f436f72653a20616c7265616479206c6973746564206d61726b65740000000000604082015260600190565b6020808252818101527f436f72653a2063616c6c6572206973206e6f7420746865206e667420636f7265604082015260600190565b81511515815260208083015190820152604080830151908201526060918201519181019190915260800190565b90815260200190565b9283526020830191909152604082015260600190565b60405181810167ffffffffffffffff8111828210171561478d57600080fd5b604052919050565b600067ffffffffffffffff8211156147ab578081fd5b5060209081020190565b6001600160a01b03811681146147ca57600080fd5b5056fea2646970667358221220151fcb4dd0a54ec178948cebb8313a1e99b96e5482dae622bd2c3d035475d03b64736f6c634300060c0033"
}
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.lineascan.build/api
?module=proxy
&action=eth_getStorageAt
&address=0x6e03d9cce9d60f3e9f2597e13cd4c54c55330cfd
&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": "0x0000000000000000000000000000000000000000000000000000000000000000"
}
eth_gasPrice
Returns the current price per gas in wei.
https://api.lineascan.build/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": "0x652685d7"
}
📖 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.lineascan.build/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