diff --git a/src/eth/block.yaml b/src/eth/block.yaml index 9e54ca85d..b5a1eb2bb 100644 --- a/src/eth/block.yaml +++ b/src/eth/block.yaml @@ -95,5 +95,6 @@ $ref: '#/components/schemas/BlockNumberOrTagOrHash' result: name: Receipts information - schema: - $ref: '#/components/schemas/ReceiptsInfo' + type: array + items: + $ref: '#/components/schemas/ReceiptInfo' diff --git a/src/schemas/receipt.yaml b/src/schemas/receipt.yaml index f35e7c7bf..aeb192c90 100644 --- a/src/schemas/receipt.yaml +++ b/src/schemas/receipt.yaml @@ -111,9 +111,3 @@ 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' - -ReceiptsInfo: - type: array - title: Receipts info - items: - $ref: '#/components/schemas/ReceiptInfo'