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
35 changes: 34 additions & 1 deletion src/schemas/receipt.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,29 @@ Log:
type: array
items:
$ref: '#/components/schemas/bytes32'
FrameReceipt:
title: frame receipt
description: The result of a single frame of a frame transaction as defined by EIP-8141.
type: object
required:
- status
- gasUsed
- logs
additionalProperties: false
properties:
status:
title: status
description: 1 on success, 0 on failure, and 2 when the frame was skipped because its atomic batch failed.
$ref: '#/components/schemas/uint'
gasUsed:
title: gas used
description: The amount of gas used by this frame, before refunds.
$ref: '#/components/schemas/uint'
logs:
title: logs
type: array
items:
$ref: '#/components/schemas/Log'
ReceiptInfo:
type: object
title: Receipt information
Expand Down Expand Up @@ -112,8 +135,18 @@ ReceiptInfo:
$ref: '#/components/schemas/hash32'
status:
title: status
description: Either 1 (success) or 0 (failure). Only specified for transactions included after the Byzantium upgrade.
description: Either 1 (success) or 0 (failure). Only specified for transactions included after the Byzantium upgrade. A frame transaction as defined by EIP-8141 has no status of its own, so this is 1 if every entry of frameReceipts has status 1, and 0 otherwise.
$ref: '#/components/schemas/uint'
payer:
title: payer
description: The account charged for the transaction. Only specified for frame transactions as defined by EIP-8141, where it need not be the sender.
$ref: '#/components/schemas/address'
frameReceipts:
title: frame receipts
description: The per-frame results, in frame order. Only specified for frame transactions as defined by EIP-8141.
type: array
items:
$ref: '#/components/schemas/FrameReceipt'
effectiveGasPrice:
title: effective gas price
description: The actual value per gas deducted from the sender's account. Before EIP-1559, this is equal to the transaction's gas price. After, it is equal to baseFeePerGas + min(maxFeePerGas - baseFeePerGas, maxPriorityFeePerGas).
Expand Down