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
18 changes: 17 additions & 1 deletion graphql.json
Original file line number Diff line number Diff line change
Expand Up @@ -2152,6 +2152,22 @@
},
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "revertReason",
"description": "Reason returned when transaction fails.",
"args": [],
"type": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "SCALAR",
"name": "Bytes",
"ofType": null
}
},
"isDeprecated": false,
"deprecationReason": null
}
],
"inputFields": null,
Expand Down Expand Up @@ -3098,4 +3114,4 @@
}
]
}
}
}
7 changes: 6 additions & 1 deletion schema.graphqls
Original file line number Diff line number Diff line change
Expand Up @@ -547,6 +547,11 @@ type Transaction {
this is equivalent to TxType || ReceiptEncoding.
"""
rawReceipt: Bytes!

"""
Reason returned when transaction fails.
"""
revertReason: Bytes
}

"""EIP-4895"""
Expand All @@ -564,4 +569,4 @@ type Withdrawal {

"""Amount is the withdrawal value in Gwei."""
amount: Long!
}
}