From cd5633fda13dc04a37002c5af3363c8002520c5a Mon Sep 17 00:00:00 2001 From: Sina Mahmoodi Date: Mon, 9 May 2022 12:30:13 +0200 Subject: [PATCH] graphql: add raw fields to block and tx --- graphql.json | 64 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 64 insertions(+) diff --git a/graphql.json b/graphql.json index 0451aceb..a4fdecc0 100644 --- a/graphql.json +++ b/graphql.json @@ -734,6 +734,38 @@ }, "isDeprecated": false, "deprecationReason": null + }, + { + "name": "rawHeader", + "description": "RawHeader is the RLP encoding of the block's header.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Bytes", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "raw", + "description": "Raw is the RLP encoding of the block.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Bytes", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null } ], "inputFields": null, @@ -2060,6 +2092,38 @@ }, "isDeprecated": false, "deprecationReason": null + }, + { + "name": "raw", + "description": "Raw is the canonical encoding of the transaction.\nFor legacy transactions, it returns the RLP encoding.\nFor EIP-2718 typed transactions, it returns the type and payload.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Bytes", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "rawReceipt", + "description": "RawReceipt is the canonical encoding of the receipt. For post EIP-2718 typed transactions\nthis is equivalent to TxType || ReceiptEncoding.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Bytes", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null } ], "inputFields": null,