Skip to content

fix: align receipt format in Flashblocks node examples with official schema#2

Open
Cloakie47 wants to merge 1 commit intomasterfrom
Cloakie47-patch-2
Open

fix: align receipt format in Flashblocks node examples with official schema#2
Cloakie47 wants to merge 1 commit intomasterfrom
Cloakie47-patch-2

Conversation

@Cloakie47
Copy link
Copy Markdown
Owner

The example JSON responses in the Run a Flashblocks Node page show inconsistent receipt formats between the Initial Response and Diff Response examples, and neither matches the official Receipt Object schema documented in the API reference.

What changed? Why?
Updated the receipt format in the Initial Response example to match the official Receipt Object schema (type, status, cumulativeGasUsed, logs, logsBloom, transactionIndex). The previous example used a "Deposit" wrapper key that doesn't exist in the official schema, which would confuse developers writing receipt parsing code.

Notes to reviewers
Docs-only change. The fix aligns the example data with the Receipt Object schema defined in the Flashblocks API Reference.

How has it been tested?
Verified against the Receipt Object schema in the Flashblocks API Reference which defines the correct flat structure without any wrapper keys.

…schema

The Initial Response example used a "Deposit" wrapper key that doesn't exist in the official Receipt Object schema. Updated to match the flat structure defined in the Flashblocks API Reference.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant