Skip to content
Open
Show file tree
Hide file tree
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
11 changes: 11 additions & 0 deletions src/eth/transaction.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -49,3 +49,14 @@
name: Receipt Information
schema:
$ref: '#/components/schemas/ReceiptInfo'
- name: eth_getReceiptProof
summary: Returns the merkle proof for a given transaction receipt.
params:
- name: Transaction hash
required: true
schema:
$ref: '#/components/schemas/hash32'
result:
name: Receipt proof
schema:
$ref: '#/components/schemas/ReceiptProof'
15 changes: 15 additions & 0 deletions src/schemas/receipt.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -102,3 +102,18 @@ ReceiptInfo:
title: effective gas price
description: The actual value per gas deducted from the senders account. Before EIP-1559, this is equal to the transaction's gas price. After, it is equal to baseFeePerGas + min(maxFeePerGas - baseFeePerGas, maxPriorityFeePerGas).
$ref: '#/components/schemas/uint'
ReceiptProof:
title: Receipt proof
type: object
required:
- receipt
- proof
properties:
value:
title: receipt
$ref: '#/components/schemas/ReceiptInfo'
proof:
title: proof
type: array
items:
$ref: '#/components/schemas/bytes'