Skip to content

Commit 6f44168

Browse files
committed
update response fields, tx types
1 parent 2d4eca0 commit 6f44168

1 file changed

Lines changed: 22 additions & 4 deletions

File tree

docs/base-chain/reference/json-rpc-api.mdx

Lines changed: 22 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -434,11 +434,23 @@ Returns information about a block by its block number.
434434
Base fee per gas in this block (EIP-1559).
435435
</ResponseField>
436436
<ResponseField name="withdrawals" type="array">
437-
Array of validator withdrawals included in the block (EIP-4895).
437+
Array of validator withdrawals included in the block (EIP-4895). Always `[]` on Base — L2 does not process validator withdrawals.
438438
</ResponseField>
439439
<ResponseField name="withdrawalsRoot" type="string">
440440
32-byte root of the withdrawals trie (EIP-4895).
441441
</ResponseField>
442+
<ResponseField name="parentBeaconBlockRoot" type="string">
443+
32-byte beacon block root of the parent block (EIP-4788). Present on all Base blocks.
444+
</ResponseField>
445+
<ResponseField name="requestsHash" type="string">
446+
Hash of the requests list (EIP-7685). Always the empty requests hash (`0xe3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855`) on Base.
447+
</ResponseField>
448+
<ResponseField name="blobGasUsed" type="string">
449+
Total blob gas consumed by blob-carrying transactions in this block (EIP-4844). Accurately reflects blob gas in both finalized and preconfirmed (Flashblocks) blocks.
450+
</ResponseField>
451+
<ResponseField name="excessBlobGas" type="string">
452+
Cumulative excess blob gas used to calculate the blob base fee (EIP-4844).
453+
</ResponseField>
442454
</Expandable>
443455
</ResponseField>
444456

@@ -737,7 +749,7 @@ Returns transaction information for a given transaction hash.
737749
ABI-encoded call data sent with the transaction. `"0x"` for plain ETH transfers.
738750
</ResponseField>
739751
<ResponseField name="type" type="string">
740-
Transaction type: `"0x0"` (legacy), `"0x1"` (EIP-2930 access list), `"0x2"` (EIP-1559), `"0x7e"` (deposit transaction on Base).
752+
Transaction type: `"0x0"` (Legacy), `"0x1"` (EIP-2930/Access List), `"0x2"` (EIP-1559), `"0x7e"` (Deposit).
741753
</ResponseField>
742754
<ResponseField name="chainId" type="string">
743755
Chain ID the transaction is valid for. `"0x2105"` for Base Mainnet, `"0x14a34"` for Base Sepolia.
@@ -908,7 +920,7 @@ Returns transaction information for a given block number and transaction index p
908920
Returns the receipt for a mined transaction. Receipts are only available after the transaction has been included in a block.
909921

910922
<Info>
911-
For preconfirmed transaction receipts before a block is sealed, use a [Flashblocks-aware endpoint](/base-chain/flashblocks/api-reference#eth_gettransactionreceipt).
923+
For preconfirmed transaction receipts before a block is sealed, use a [Flashblocks-aware endpoint](/base-chain/flashblocks/api-reference#endpoints).
912924
</Info>
913925

914926
**Parameters**
@@ -963,7 +975,13 @@ For preconfirmed transaction receipts before a block is sealed, use a [Flashbloc
963975
`"0x1"` for a successful transaction, `"0x0"` for a failed (reverted) transaction.
964976
</ResponseField>
965977
<ResponseField name="type" type="string">
966-
Transaction type: `"0x0"` (legacy), `"0x1"` (EIP-2930), `"0x2"` (EIP-1559).
978+
Transaction type: `"0x0"` (Legacy), `"0x1"` (EIP-2930/Access List), `"0x2"` (EIP-1559), `"0x7e"` (Deposit).
979+
</ResponseField>
980+
<ResponseField name="blobGasUsed" type="string">
981+
Blob gas consumed by this transaction (EIP-4844). `"0x0"` for non-blob transactions. When querying via a [Flashblocks-aware endpoint](/base-chain/flashblocks/api-reference#endpoints), this is accurately propagated from the preconfirmed block state.
982+
</ResponseField>
983+
<ResponseField name="blobGasPrice" type="string">
984+
Blob gas price at the time of the transaction (EIP-4844).
967985
</ResponseField>
968986
</Expandable>
969987
</ResponseField>

0 commit comments

Comments
 (0)