This repository has been archived by the owner on Jan 21, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 85
Decoded Transaction Query Fields
Akhila Raju edited this page Jul 26, 2018
·
2 revisions
The following fields can be queried on a transaction. For information on each field, search the Document Explorer in the EthQL demo for the 'Transaction' field. Fiddle with this query.
{
transaction(hash: "0x7cc930cef131502bb78c13012caf0d99117892601b81fb95958aac98191fe6fb") {
decoded {
entity
standard
operation
__typename
}
}
}
The example query above returns the following:
{
transaction(hash: "0x7cc930cef131502bb78c13012caf0d99117892601b81fb95958aac98191fe6fb") {
decoded {
entity: "token"
standard: "ERC20"
operation: "transfer"
__typename: "ERC20Transfer"
}
}
}
- Top-Level Queries
- Example Use Cases
- Block Query Fields
- Account Query Fields
- Transaction Query Fields
- Log Query Fields
- Decoded Transaction Query Fields
- ENS plugin: resolving names into addresses