mirror of
				https://github.com/Instadapp/Swap-Aggregator-Subgraph.git
				synced 2024-07-29 21:57:12 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			24 lines
		
	
	
		
			711 B
		
	
	
	
		
			GraphQL
		
	
	
	
	
	
			
		
		
	
	
			24 lines
		
	
	
		
			711 B
		
	
	
	
		
			GraphQL
		
	
	
	
	
	
| type SwapAggregatorData @entity {
 | |
|   id: ID! # transaction hash + block timestamp
 | |
|   connectors: [String!]! # string[]
 | |
|   callData: [Bytes!]!
 | |
|   eventName: String!
 | |
|   eventParams: Bytes!
 | |
|   transactionDetail: TransactionData!
 | |
| }
 | |
| 
 | |
| type TransactionData @entity {
 | |
|   id: ID! # transaction hash + block timestamp
 | |
|   hash: Bytes! # transaction hash
 | |
|   from: Bytes!  # transaction from
 | |
|   to: Bytes  # transaction to
 | |
|   input: Bytes! # transaction input
 | |
|   index: BigInt! # transaction index
 | |
|   value: BigInt! # transaction value
 | |
|   gasUsed: BigInt!  # gas used in the transaction block
 | |
|   gasLimit: BigInt! # gas limit
 | |
|   gasPrice: BigInt! # gas price
 | |
|   blockNumber: BigInt! # block number 
 | |
|   timestamp: BigInt!  # block timestamp
 | |
| }
 | 
