Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 4 additions & 5 deletions docs/interacting/json-rpc-ns/proof.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import TabItem from "@theme/TabItem";

### proof_getTransactionByHash

This function returns the same result as `eth_getTransactionReceipt` and also a tx proof, receipt proof and serialized block headers.
This function returns the same data as `eth_getTransactionByHash` plus a Merkle-Patricia proof of the transaction's inclusion in the block's `transactionsRoot`. When `includeHeader` is `true`, the RLP-encoded block header is also returned, allowing the proof to be verified against the block's `transactionsRoot`.

<Tabs>
<TabItem value="params" label="Parameters">
Expand Down Expand Up @@ -46,7 +46,7 @@ curl localhost:8545 \
```

`result`: _object_
- `blockHeader`: _string_ (hex data)
- `blockHeader`: optional _string_ (hex data), returned when `includeHeader` is `true`
- `transaction`: _object_
- `blockHash`: _string_ (hash)
- `blockNumber`: _string_ (hex integer)
Expand All @@ -62,7 +62,7 @@ curl localhost:8545 \

### proof_getTransactionReceipt

This function should return the same result as `eth_call` and also proofs of all used accounts and their storages and serialized block headers.
This function returns the same data as `eth_getTransactionReceipt` plus Merkle-Patricia proofs of the transaction's inclusion in the block's `transactionsRoot` and of the receipt's inclusion in the block's `receiptsRoot`. When `includeHeader` is `true`, the RLP-encoded block header is also returned, allowing the proofs to be verified against the block's roots.

<Tabs>
<TabItem value="params" label="Parameters">
Expand Down Expand Up @@ -99,7 +99,7 @@ curl localhost:8545 \
```

`result`: _object_
- `blockHeader`: _string_ (hex data)
- `blockHeader`: optional _string_ (hex data), returned when `includeHeader` is `true`
- `receipt`: _object_
- `blobGasPrice`: _string_ (hex integer)
- `blobGasUsed`: _string_ (hex integer)
Expand Down Expand Up @@ -134,4 +134,3 @@ curl localhost:8545 \

</TabItem>
</Tabs>