Geth Proxy
Last updated
Last updated
For the full documentation of available parameters and descriptions, please visit the official Ethereum JSON-RPC docs.
Returns the number of most recent block
https://api.bscscan.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":"0xa11446"
}
Returns information about a block by block number.
https://api.bscscan.com/api
?module=proxy
&action=eth_getBlockByNumber
&tag=0xa11446
&boolean=true
&apikey=YourApiKeyToken
Query Parameters
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"
]
}
}
Returns the number of transactions in a block.
https://api.bscscan.com/api
?module=proxy
&action=eth_getBlockTransactionCountByNumber
&tag=0xa11446
&apikey=YourApiKeyToken
Query Parameters
Sample response
{
"jsonrpc":"2.0",
"id":1,
"result":"0xfc"
}
Returns information about a transaction requested by transaction hash.
https://api.bscscan.com/api
?module=proxy
&action=eth_getTransactionByHash
&txhash=0x9983332a52df5ad1dabf8fa81b1642e9383f302a399c532fc47ecb6a7a967166
&apikey=YourApiKeyToken
Query Parameters
Sample Response
{
"jsonrpc":"2.0",
"id":1,
"result":{
"blockHash":"0x4beb0710a78f560687a455d2f0faf4595a306dd5ce46006005eec82c4081efe0",
"blockNumber":"0xa11595",
"from":"0x25f1358276a9f93feaffeb5bf92e0a62554db3d3",
"gas":"0x4e033",
"gasPrice":"0x12a05f200",
"hash":"0x9983332a52df5ad1dabf8fa81b1642e9383f302a399c532fc47ecb6a7a967166",
"input":"0xd3243f25000000000000000000000000000000000000000000000000000000000000153b000000000000000000000000000000000000000000000000000000000000091a",
"nonce":"0x2a8",
"to":"0x67d9b4921bc8b397d9b0c0ca7274ada50167e7d0",
"transactionIndex":"0x10e",
"value":"0x0",
"type":"0x0",
"v":"0x94",
"r":"0x26a2b15bae27427462a4ec5830f4b17f5dd51bfaa1e898a6e61207be61d204a7",
"s":"0x5e9347d499cee66a021ddb1a38b15dcf106efbc54fa3c8d1929f8c28bcc41188"
}
}
Returns information about a transaction by block number and transaction index position.
https://api.bscscan.com/api
?module=proxy
&action=eth_getTransactionByBlockNumberAndIndex
&tag=0xa11446
&index=0x1
&apikey=YourApiKeyToken
Query Parameters
Sample Response
{
"jsonrpc":"2.0",
"id":1,
"result":{
"blockHash":"0xaa75425f0e34a85eeea562726e2f7017b500e79bc89b70ac693a0ff3406b0662",
"blockNumber":"0xa11446",
"from":"0xe2fc31f816a9b94326492132018c3aecc4a93ae1",
"gas":"0x32918",
"gasPrice":"0x2540be400",
"hash":"0x12aaa273d1b7430c8167f29a75083beae9586a88e424e01352b9da4fe0860dd3",
"input":"0xa9059cbb000000000000000000000000df74a017543a7f73e224c8ed99d658d14e85d0fe00000000000000000000000000000000000000000000001b1ae4d6e2ef500000",
"nonce":"0x21312a",
"to":"0x8f0528ce5ef7b51152a59745befdd91d97091d2f",
"transactionIndex":"0x1",
"value":"0x0",
"type":"0x0",
"v":"0x94",
"r":"0xf2ff6078eada7d3b5b0d9e8e0e5dcb5f1349daf5b9c7a942b3c510b16a8c4431",
"s":"0x3ffd02c9b16fa582435e35eaa9389dac5daf1b71125ac66b2a8e9845a3a126d3"
}
}
Returns the number of transactions performed by an address.
https://api.bscscan.com/api
?module=proxy
&action=eth_getTransactionCount
&address=0x4430b3230294D12c6AB2aAC5C2cd68E80B16b581
&tag=latest
&apikey=YourApiKeyToken
Query Parameters
Sample Response
{
"jsonrpc":"2.0",
"id":1,
"result":"0x7de54"
}
Submits a pre-signed transaction for broadcast to the BNB Smart Chain network.
https://api.bscscan.com/api
?module=proxy
&action=eth_sendRawTransaction
&hex=0xf904808000831cfde080
&apikey=YourApiKeyToken
Query Parameters
Sample Response
{
"id":1,
"jsonrpc": "2.0",
"result": "0xe670ec64341771606e55d6b4ca35a1a6b75ee3d5145a99d05921026d1527331"
}
Use eth_getTransactionReceipt to retrieve full details.
Returns the receipt of a transaction that has been validated.
https://api.bscscan.com/api
?module=proxy
&action=eth_getTransactionReceipt
&txhash=0x2122b2317d6cf409846f80e829c1e45ecb30306907ba0a00a02730c78890739f
&apikey=YourApiKeyToken
Query Parameters
Sample Response
{
"jsonrpc":"2.0",
"id":1,
"result":{
"blockHash":"0x552853a401a7faa54ff6f26059a1eee86323bd2140ccfaa16209679277264ddb",
"blockNumber":"0xa11605",
"contractAddress":null,
"cumulativeGasUsed":"0x264dd36",
"from":"0x8c0191f0e4ed98f1f72c96d06a4a207495c5e4a5",
"gasUsed":"0x1b348",
"logs":[
{
"address":"0x0e09fabb73bd3ade0a17ecc321fd13a19e81ce82",
"topics":[
"0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef",
"0x0000000000000000000000000000000000000000000000000000000000000000",
"0x0000000000000000000000008488cb2f54ecb9aa1cdc1bc83bc1d200bb2f216b"
],
"data":"0x00000000000000000000000000000000000000000000000006c637d7bfdd83fd",
"blockNumber":"0xa11605",
"transactionHash":"0x2122b2317d6cf409846f80e829c1e45ecb30306907ba0a00a02730c78890739f",
"transactionIndex":"0xe7",
"blockHash":"0x552853a401a7faa54ff6f26059a1eee86323bd2140ccfaa16209679277264ddb",
"logIndex":"0x340",
"removed":false
},
{
"address":"0x0e09fabb73bd3ade0a17ecc321fd13a19e81ce82",
"topics":[
"0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef",
"0x0000000000000000000000000000000000000000000000000000000000000000",
"0x000000000000000000000000009cf7bc57584b7998236eff51b98a168dcea9b0"
],
"data":"0x00000000000000000000000000000000000000000000000043be2e6d7ea727ea",
"blockNumber":"0xa11605",
"transactionHash":"0x2122b2317d6cf409846f80e829c1e45ecb30306907ba0a00a02730c78890739f",
"transactionIndex":"0xe7",
"blockHash":"0x552853a401a7faa54ff6f26059a1eee86323bd2140ccfaa16209679277264ddb",
"logIndex":"0x341",
"removed":false
},
{
"address":"0x0e09fabb73bd3ade0a17ecc321fd13a19e81ce82",
"topics":[
"0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef",
"0x000000000000000000000000009cf7bc57584b7998236eff51b98a168dcea9b0",
"0x0000000000000000000000008c0191f0e4ed98f1f72c96d06a4a207495c5e4a5"
],
"data":"0x000000000000000000000000000000000000000000000000009913aad1eb6e16",
"blockNumber":"0xa11605",
"transactionHash":"0x2122b2317d6cf409846f80e829c1e45ecb30306907ba0a00a02730c78890739f",
"transactionIndex":"0xe7",
"blockHash":"0x552853a401a7faa54ff6f26059a1eee86323bd2140ccfaa16209679277264ddb",
"logIndex":"0x342",
"removed":false
},
{
"address":"0x73feaa1ee314f8c655e354234017be2193c9e24e",
"topics":[
"0x90890809c654f11d6e72a28fa60149770a0d11ec6c92319d6ceb2bb0a4ea1a15",
"0x0000000000000000000000008c0191f0e4ed98f1f72c96d06a4a207495c5e4a5",
"0x00000000000000000000000000000000000000000000000000000000000001a7"
],
"data":"0x0000000000000000000000000000000000000000000000000000000000000000",
"blockNumber":"0xa11605",
"transactionHash":"0x2122b2317d6cf409846f80e829c1e45ecb30306907ba0a00a02730c78890739f",
"transactionIndex":"0xe7",
"blockHash":"0x552853a401a7faa54ff6f26059a1eee86323bd2140ccfaa16209679277264ddb",
"logIndex":"0x343",
"removed":false
}
],
"logsBloom":"0x00000000100000000000000000000000000000000400000000004000000000000000000000000000000000000008000008000000000002000000000000000000008000000000000000000008000000000000000010000002000000000010000000000000020000000000000000002800000000000000020000000410000000000000000000000000000000000000000000000000000080002000000000000000000000000040000000000000000000000000000000000000000000000000000000000002000200000000000000000000000000000000000000000000000024000000000000000000000000000000000000000008400000000000000000000000",
"status":"0x1",
"to":"0x73feaa1ee314f8c655e354234017be2193c9e24e",
"transactionHash":"0x2122b2317d6cf409846f80e829c1e45ecb30306907ba0a00a02730c78890739f",
"transactionIndex":"0xe7",
"type":"0x0"
}
}
Executes a new message call immediately without creating a transaction on the block chain.
https://api.bscscan.com/api
?module=proxy
&action=eth_call
&to=0xAEEF46DB4855E25702F8237E8f403FddcaF931C0
&data=0x70a08231000000000000000000000000e16359506c028e51f16be38986ec5746251e9724
&tag=latest
&apikey=YourApiKeyToken
Query Parameters
⛽ Note: The gas
parameter is capped at 2x the current block gas limit.
Sample Response
{
"jsonrpc":"2.0",
"id":1,
"result":"0x00000000000000000000000000000000000000000000000000601d8888141c00"
}
Returns code at a given address.
https://api.bscscan.com/api
?module=proxy
&action=eth_getCode
&address=0x0e09fabb73bd3ade0a17ecc321fd13a19e81ce82
&tag=latest
&apikey=YourApiKeyToken
Query Parameters
Sample Response
{
"jsonrpc":"2.0",
"id":1,
"result":"0x608060405234801561001057600080fd5b50600436106101b95760003560e01c8063782d6fe1116100f9578063a9059cbb11610097578063dd62ed3e11610071578063dd62ed3e1461056c578063e7a324dc1461059a578063f1127ed8146105a2578063f2fde38b146105f4576101b9565b8063a9059cbb146104d3578063b4b5ea57146104ff578063c3cda52014610525576101b9565b80638da5cb5b116100d35780638da5cb5b1461047a57806395d89b4114610482578063a0712d681461048a578063a457c2d7146104a7576101b9565b8063782d6fe1146104205780637ecebe001461044c578063893d20e814610472576101b9565b806339509351116101665780635c19a95c116101405780635c19a95c1461038d5780636fcfff45146103b357806370a08231146103f2578063715018a614610418576101b9565b806339509351146102f157806340c10f191461031d578063587cde1e1461034b576101b9565b806320606b701161019757806320606b701461029557806323b872dd1461029d578063313ce567146102d3576101b9565b806306fdde03146101be578063095ea7b31461023b57806318160ddd1461027b575b600080fd5b6101c661061a565b6040805160208082528351818301528351919283929083019185019080838360005b838110156102005781810151838201526020016101e8565b50505050905090810190601f16801561022d5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6102676004803603604081101561025157600080fd5b506001600160a01b0381351690602001356106b0565b604080519115158252519081900360200190f35b6102836106ce565b60408051918252519081900360200190f35b6102836106d4565b610267600480360360608110156102b357600080fd5b506001600160a01b038135811691602081013590911690604001356106f8565b6102db61077f565b6040805160ff9092168252519081900360200190f35b6102676004803603604081101561030757600080fd5b506001600160a01b038135169060200135610788565b6103496004803603604081101561033357600080fd5b506001600160a01b0381351690602001356107d6565b005b6103716004803603602081101561036157600080fd5b50356001600160a01b0316610873565b604080516001600160a01b039092168252519081900360200190f35b610349600480360360208110156103a357600080fd5b50356001600160a01b0316610891565b6103d9600480360360208110156103c957600080fd5b50356001600160a01b031661089e565b6040805163ffffffff9092168252519081900360200190f35b6102836004803603602081101561040857600080fd5b50356001600160a01b03166108b6565b6103496108d1565b6102836004803603604081101561043657600080fd5b506001600160a01b03813516906020013561099d565b6102836004803603602081101561046257600080fd5b50356001600160a01b0316610ba5565b610371610bb7565b610371610bc6565b6101c6610bd5565b610267600480360360208110156104a057600080fd5b5035610c36565b610267600480360360408110156104bd57600080fd5b506001600160a01b038135169060200135610cbb565b610267600480360360408110156104e957600080fd5b506001600160a01b038135169060200135610d23565b6102836004803603602081101561051557600080fd5b50356001600160a01b0316610d37565b610349600480360360c081101561053b57600080fd5b506001600160a01b038135169060208101359060408101359060ff6060820135169060808101359060a00135610d9b565b6102836004803603604081101561058257600080fd5b506001600160a01b0381358116916020013516611065565b610283611090565b6105d4600480360360408110156105b857600080fd5b5080356001600160a01b0316906020013563ffffffff166110b4565b6040805163ffffffff909316835260208301919091528051918290030190f35b6103496004803603602081101561060a57600080fd5b50356001600160a01b03166110e1565b60048054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156106a65780601f1061067b576101008083540402835291602001916106a6565b820191906000526020600020905b81548152906001019060200180831161068957829003601f168201915b5050505050905090565b60006106c46106bd611154565b8484611158565b5060015b92915050565b60035490565b7f8cad95687ba82c2ce50e74f7b754645e5117c3a5bec8151c0726d5857980a86681565b6000610705848484611244565b61077584610711611154565b61077085604051806060016040528060288152602001611ae5602891396001600160a01b038a1660009081526002602052604081209061074f611154565b6001600160a01b031681526020810191909152604001600020549190611396565b611158565b5060019392505050565b60065460ff1690565b60006106c4610795611154565b8461077085600260006107a6611154565b6001600160a01b03908116825260208083019390935260409182016000908120918c16815292529020549061142d565b6107de611154565b6000546001600160a01b03908116911614610840576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b61084a8282611487565b6001600160a01b0380831660009081526007602052604081205461086f92168361156d565b5050565b6001600160a01b039081166000908152600760205260409020541690565b61089b33826116af565b50565b60096020526000908152604090205463ffffffff1681565b6001600160a01b031660009081526001602052604090205490565b6108d9611154565b6000546001600160a01b0390811691161461093b576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080547fffffffffffffffffffffffff0000000000000000000000000000000000000000169055565b60004382106109dd5760405162461bcd60e51b8152600401808060200182810382526027815260200180611b676027913960400191505060405180910390fd5b6001600160a01b03831660009081526009602052604090205463ffffffff1680610a0b5760009150506106c8565b6001600160a01b038416600090815260086020908152604080832063ffffffff600019860181168552925290912054168310610a7a576001600160a01b03841660009081526008602090815260408083206000199490940163ffffffff168352929052206001015490506106c8565b6001600160a01b038416600090815260086020908152604080832083805290915290205463ffffffff16831015610ab55760009150506106c8565b600060001982015b8163ffffffff168163ffffffff161115610b6e57600282820363ffffffff16048103610ae7611a38565b506001600160a01b038716600090815260086020908152604080832063ffffffff808616855290835292819020815180830190925280549093168082526001909301549181019190915290871415610b49576020015194506106c89350505050565b805163ffffffff16871115610b6057819350610b67565b6001820392505b5050610abd565b506001600160a01b038516600090815260086020908152604080832063ffffffff9094168352929052206001015491505092915050565b600a6020526000908152604090205481565b6000610bc1610bc6565b905090565b6000546001600160a01b031690565b60058054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156106a65780601f1061067b576101008083540402835291602001916106a6565b6000610c40611154565b6000546001600160a01b03908116911614610ca2576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b610cb3610cad611154565b83611487565b506001919050565b60006106c4610cc8611154565b8461077085604051806060016040528060258152602001611bf96025913960026000610cf2611154565b6001600160a01b03908116825260208083019390935260409182016000908120918d16815292529020549190611396565b60006106c4610d30611154565b8484611244565b6001600160a01b03811660009081526009602052604081205463ffffffff1680610d62576000610d94565b6001600160a01b038316600090815260086020908152604080832063ffffffff60001986011684529091529020600101545b9392505050565b60007f8cad95687ba82c2ce50e74f7b754645e5117c3a5bec8151c0726d5857980a866610dc661061a565b80519060200120610dd561175c565b60408051602080820195909552808201939093526060830191909152306080808401919091528151808403909101815260a0830182528051908401207fe48329057bfd03d55e49b547132e39cffd9c1820ad7b9d4c5307691425d15adf60c08401526001600160a01b038b1660e084015261010083018a90526101208084018a905282518085039091018152610140840183528051908501207f19010000000000000000000000000000000000000000000000000000000000006101608501526101628401829052610182808501829052835180860390910181526101a285018085528151918701919091206000918290526101c2860180865281905260ff8b166101e287015261020286018a905261022286018990529351929650909492939092600192610242808401937fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08301929081900390910190855afa158015610f41573d6000803e3d6000fd5b50506040517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe001519150506001600160a01b038116610fb15760405162461bcd60e51b8152600401808060200182810382526026815260200180611b0d6026913960400191505060405180910390fd5b6001600160a01b0381166000908152600a60205260409020805460018101909155891461100f5760405162461bcd60e51b8152600401808060200182810382526022815260200180611bb46022913960400191505060405180910390fd5b8742111561104e5760405162461bcd60e51b8152600401808060200182810382526026815260200180611abf6026913960400191505060405180910390fd5b611058818b6116af565b505050505b505050505050565b6001600160a01b03918216600090815260026020908152604080832093909416825291909152205490565b7fe48329057bfd03d55e49b547132e39cffd9c1820ad7b9d4c5307691425d15adf81565b60086020908152600092835260408084209091529082529020805460019091015463ffffffff9091169082565b6110e9611154565b6000546001600160a01b0390811691161461114b576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b61089b81611760565b3390565b6001600160a01b03831661119d5760405162461bcd60e51b8152600401808060200182810382526024815260200180611a756024913960400191505060405180910390fd5b6001600160a01b0382166111e25760405162461bcd60e51b8152600401808060200182810382526022815260200180611c1e6022913960400191505060405180910390fd5b6001600160a01b03808416600081815260026020908152604080832094871680845294825291829020859055815185815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a3505050565b6001600160a01b0383166112895760405162461bcd60e51b8152600401808060200182810382526025815260200180611a506025913960400191505060405180910390fd5b6001600160a01b0382166112ce5760405162461bcd60e51b8152600401808060200182810382526023815260200180611bd66023913960400191505060405180910390fd5b61130b81604051806060016040528060268152602001611b8e602691396001600160a01b0386166000908152600160205260409020549190611396565b6001600160a01b03808516600090815260016020526040808220939093559084168152205461133a908261142d565b6001600160a01b0380841660008181526001602090815260409182902094909455805185815290519193928716927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a3505050565b600081848411156114255760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b838110156113ea5781810151838201526020016113d2565b50505050905090810190601f1680156114175780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b600082820183811015610d94576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b6001600160a01b0382166114e2576040805162461bcd60e51b815260206004820152601f60248201527f42455032303a206d696e7420746f20746865207a65726f206164647265737300604482015290519081900360640190fd5b6003546114ef908261142d565b6003556001600160a01b038216600090815260016020526040902054611515908261142d565b6001600160a01b03831660008181526001602090815260408083209490945583518581529351929391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a35050565b816001600160a01b0316836001600160a01b03161415801561158f5750600081115b156116aa576001600160a01b03831615611621576001600160a01b03831660009081526009602052604081205463ffffffff1690816115cf576000611601565b6001600160a01b038516600090815260086020908152604080832063ffffffff60001987011684529091529020600101545b9050600061160f8285611818565b905061161d8684848461185a565b5050505b6001600160a01b038216156116aa576001600160a01b03821660009081526009602052604081205463ffffffff16908161165c57600061168e565b6001600160a01b038416600090815260086020908152604080832063ffffffff60001987011684529091529020600101545b9050600061169c828561142d565b905061105d8584848461185a565b505050565b6001600160a01b03808316600090815260076020526040812054909116906116d6846108b6565b6001600160a01b0385811660008181526007602052604080822080547fffffffffffffffffffffffff000000000000000000000000000000000000000016898616908117909155905194955093928616927f3134e8a2e6d97e929a7e54011ea5485d7d196dd5f0ba4d4ef95803e8e3fc257f9190a461175682848361156d565b50505050565b4690565b6001600160a01b0381166117a55760405162461bcd60e51b8152600401808060200182810382526026815260200180611a996026913960400191505060405180910390fd5b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080547fffffffffffffffffffffffff0000000000000000000000000000000000000000166001600160a01b0392909216919091179055565b6000610d9483836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250611396565b600061187e43604051806060016040528060348152602001611b33603491396119da565b905060008463ffffffff161180156118c757506001600160a01b038516600090815260086020908152604080832063ffffffff6000198901811685529252909120548282169116145b15611904576001600160a01b038516600090815260086020908152604080832063ffffffff60001989011684529091529020600101829055611990565b60408051808201825263ffffffff808416825260208083018681526001600160a01b038a166000818152600884528681208b861682528452868120955186549086167fffffffffffffffffffffffffffffffffffffffffffffffffffffffff00000000918216178755925160019687015590815260099092529390208054928801909116919092161790555b604080518481526020810184905281516001600160a01b038816927fdec2bacdd2f05b59de34da9b523dff8be42e5e38e818c82fdb0bae774387a724928290030190a25050505050565b6000816401000000008410611a305760405162461bcd60e51b81526020600482018181528351602484015283519092839260449091019190850190808383600083156113ea5781810151838201526020016113d2565b509192915050565b60408051808201909152600080825260208201529056fe42455032303a207472616e736665722066726f6d20746865207a65726f206164647265737342455032303a20617070726f76652066726f6d20746865207a65726f20616464726573734f776e61626c653a206e6577206f776e657220697320746865207a65726f206164647265737343414b453a3a64656c656761746542795369673a207369676e6174757265206578706972656442455032303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e636543414b453a3a64656c656761746542795369673a20696e76616c6964207369676e617475726543414b453a3a5f7772697465436865636b706f696e743a20626c6f636b206e756d6265722065786365656473203332206269747343414b453a3a6765745072696f72566f7465733a206e6f74207965742064657465726d696e656442455032303a207472616e7366657220616d6f756e7420657863656564732062616c616e636543414b453a3a64656c656761746542795369673a20696e76616c6964206e6f6e636542455032303a207472616e7366657220746f20746865207a65726f206164647265737342455032303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726f42455032303a20617070726f766520746f20746865207a65726f2061646472657373a26469706673582212209755240809e31aec9fa5790314682233ca431b7c4f252d7e4bba347e2e74208664736f6c634300060c0033"
}
Returns the value from a storage position at a given address.
This endpoint is still experimental and may have potential issues
https://api.bscscan.com/api
?module=proxy
&action=eth_getStorageAt
&address=0x0e09fabb73bd3ade0a17ecc321fd13a19e81ce82
&position=0x0
&tag=latest
&apikey=YourApiKeyToken
Query Parameters
Sample Response
{
"jsonrpc":"2.0",
"id":1,
"result":"0x00000000000000000000000073feaa1ee314f8c655e354234017be2193c9e24e"
}
Returns the current price per gas in wei.
https://api.bscscan.com/api
?module=proxy
&action=eth_gasPrice
&apikey=YourApiKeyToken
No parameters required.
Sample Response
{
"jsonrpc":"2.0",
"id":73,
"result":"0x12a05f200"
}
Easily convert Ethereum units using our unit converter.
Makes a call or transaction, which won't be added to the blockchain and returns the gas used.
https://api.bscscan.com/api
?module=proxy
&action=eth_estimateGas
&data=0x4e71d92d
&to=0xEeee7341f206302f2216e39D715B96D8C6901A1C
&value=0xff22
&gasPrice=0x51da038cc
&gas=0x5f5e0ff
&apikey=YourApiKeyToken
Query Parameters
Sample Response
{
"jsonrpc":"2.0",
"id":1,
"result":"0x5248"
}
Try this endpoint in your browser
Parameter | Description |
---|---|
Try this endpoint in your browser
Parameter | Description |
---|---|
Try this endpoint in your browser
Parameter | Description |
---|---|
Try this endpoint in your browser
Parameter | Description |
---|---|
Try this endpoint in your browser
Parameter | Description |
---|---|
Try this endpoint in your browser
Parameter | Description |
---|---|
Tip: For more information on creating a signed raw transaction, visit this page.
Note: The result
represents the transaction hash of the submitted raw transaction.
Try this endpoint in your browser
Parameter | Description |
---|---|
Try this endpoint in your browser
Parameter | Description |
---|---|
Try this endpoint in your browser
Parameter | Description |
---|---|
Try this endpoint in your browser
Parameter | Description |
---|---|
Try this endpoint in your browser
Tip: The result
is returned in wei.
Try this endpoint in your browser
Parameter | Description |
---|---|
Note: The gas
parameter is capped at 2x the current block gas limit.