go-ethereum/internal/ethapi/testdata/eth_getBlockByNumber-number-latest-1.json
Jonas Theis c37f493850
fix(internal/ethapi): tests (#945)
* fix: TestSetFeeDefaults

* fix: TestRPCMarshalBlock, TestRPCGetBlockOrHeader, TestRPCGetTransactionReceipt, TestRPCGetBlockReceipts

* fix: TestTransaction_RoundTripRpcJSON, TestTransactionBlobTx

* improve

---------

Co-authored-by: HAOYUatHZ <37070449+HAOYUatHZ@users.noreply.github.com>
Co-authored-by: HAOYUatHZ <haoyu@protonmail.com>
2024-08-01 11:48:30 +08:00

41 lines
No EOL
2.1 KiB
JSON

{
"baseFeePerGas": "0x2e71a60",
"difficulty": "0x20000",
"extraData": "0x",
"gasLimit": "0x47e7c4",
"gasUsed": "0x5208",
"hash": "0x8e58c69ae16572b785726edbd05bfbda063e9e5bbfefe724eca56a9fa0431731",
"logsBloom": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
"miner": "0x0000000000000000000000000000000000000000",
"mixHash": "0x0000000000000000000000000000000000000000000000000000000000000000",
"nonce": "0x0000000000000000",
"number": "0x9",
"parentHash": "0x34899cddc9e4ef6fe6f57a7cc511d15f80dafd34b8109c4600552f17099628e2",
"receiptsRoot": "0x056b23fbba480696b65fe5a59b8f2148a1299103c4f57df839233af2cf4ca2d2",
"sha3Uncles": "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347",
"size": "0x26a",
"stateRoot": "0x11e89e016a9ef9d0ccc1daad969477fa35c7c43cf88a70febc9b3f2222b937c7",
"timestamp": "0x5a",
"totalDifficulty": "0x1",
"transactions": [
{
"blockHash": "0x8e58c69ae16572b785726edbd05bfbda063e9e5bbfefe724eca56a9fa0431731",
"blockNumber": "0x9",
"from": "0x703c4b2bd70c169f5717101caee543299fc946c7",
"gas": "0x5208",
"gasPrice": "0x2e71a60",
"hash": "0x5a84375f68021e81d15f3fe65107bfbc064fffba7c60da05aeb9a6724aaec655",
"input": "0x",
"nonce": "0x8",
"to": "0x0d3ab14bbad3d99f4203bd7a11acb94882050e7e",
"transactionIndex": "0x0",
"value": "0x3e8",
"type": "0x0",
"v": "0x1b",
"r": "0xc953c8ecb2eceabda8911f7fac7d0d608857f5409f8b7bf7c75a138de694ceae",
"s": "0x5fc199de62916d0da56fbc7803a45e55578ea74d41051fb910e0268fcb4fe71a"
}
],
"transactionsRoot": "0xde9592b9a3fcb4614c9917b382ef41d54ab0a9af84a82a5d76f703ee5c42bd8d",
"uncles": []
}