graphql: add support for tx types and tx access lists (#22491)
This adds support for EIP-2718 access list transactions in the GraphQL API. Co-authored-by: Amit Shah <amitshah0t7@gmail.com> Co-authored-by: Felix Lange <fjl@twurst.com>
This commit is contained in:
@ -69,6 +69,12 @@ const schema string = `
|
||||
transaction: Transaction!
|
||||
}
|
||||
|
||||
#EIP-2718
|
||||
type AccessTuple{
|
||||
address: Address!
|
||||
storageKeys : [Bytes32!]
|
||||
}
|
||||
|
||||
# Transaction is an Ethereum transaction.
|
||||
type Transaction {
|
||||
# Hash is the hash of this transaction.
|
||||
@ -118,6 +124,9 @@ const schema string = `
|
||||
r: BigInt!
|
||||
s: BigInt!
|
||||
v: BigInt!
|
||||
#Envelope transaction support
|
||||
type: Int
|
||||
accessList: [AccessTuple!]
|
||||
}
|
||||
|
||||
# BlockFilterCriteria encapsulates log filter criteria for a filter applied
|
||||
|
Reference in New Issue
Block a user