# Everclear subgraph entity schema (partial SDL) # # generated: '2026-08-09' # method: searched # source: https://docs.everclear.org/resources/subgraphs.md # note: >- # Verbatim GraphQL type/enum definitions as published by Everclear on its Subgraphs docs page. # This is the entity subset the provider documents for the Spoke and Hub subgraphs, not a full # introspected SDL: every documented Goldsky query URL # (https://api.goldsky.com/api/public/project_clssc64y57n5r010yeoly05up/subgraphs/...) returned # HTTP 404 "Subgraph not found" on 2026-08-09, so live introspection was not possible. # Nothing here was authored or inferred by API Evangelist. enum IntentStatus { NONE ADDED # signifies added to the message queue DISPATCHED # signifies the batch containing the message has been sent SETTLED # signifies settlement has arrived on spoke domain for intent SETTLED_AND_MANUALLY_EXECUTED # settlement has arrived & calldata executed } type OriginIntent @entity { id: Bytes! # intent id queueIdx: BigInt! message: Message settlement: SpokeSettlement status: IntentStatus! initiator: Bytes! receiver: Bytes! inputAsset: Bytes! outputAsset: Bytes! maxFee: BigInt! origin: BigInt! nonce: BigInt! timestamp: BigInt! ttl: BigInt! amount: BigInt! destinations: [BigInt!] data: Bytes! # Add Intent Transaction addEvent: IntentAddEvent! } type DestinationIntent @entity { id: Bytes! # intent id queueIdx: BigInt! message: Message status: IntentStatus! settlement: SpokeSettlement initiator: Bytes! receiver: Bytes! inputAsset: Bytes! outputAsset: Bytes! maxFee: BigInt! origin: BigInt! nonce: BigInt! timestamp: BigInt! ttl: BigInt! amount: BigInt! destinations: [BigInt!] data: Bytes! fillEvent: IntentFillEvent! calldataExecutedEvent: ExternalCalldataExecutedEvent } type IntentSettleEvent @entity(immutable: true) { id: Bytes! intentId: Bytes! account: Bytes! asset: Bytes! amount: BigInt! # Settle Transaction transactionHash: Bytes! timestamp: BigInt! gasPrice: BigInt! gasLimit: BigInt! blockNumber: BigInt! txOrigin: Bytes! txNonce: BigInt! } type Queue @entity { id: Bytes! # 'INTENT' or 'FILL' type: QueueType! lastProcessed: BigInt size: BigInt! first: BigInt! last: BigInt! } enum HubIntentStatus { NONE ADDED DEPOSIT_PROCESSED FILLED ADDED_AND_FILLED INVOICED SETTLED SETTLED_AND_MANUALLY_EXECUTED UNSUPPORTED UNSUPPORTED_RETURNED } type HubIntent @entity { id: Bytes! status: HubIntentStatus! pendingRewards: BigInt! settlement: HubSettlement addEvent: IntentAddEvent fillEvent: IntentFillEvent message: SettlementMessage pendingRewardsAddedEvents: [PendingRewardsAddedEvent!]! } type SettlementQueue @entity { id: Bytes! # domain domain: BigInt! lastProcessed: BigInt size: BigInt! first: BigInt! last: BigInt! } enum SettlementMessageType { SETTLED UNSUPPORTED_RETURNED } type SettlementMessage @entity(immutable: true) { id: Bytes! quote: BigInt! domain: BigInt! intentIds: [Bytes!]! type: SettlementMessageType! txOrigin: Bytes! transactionHash: Bytes! timestamp: BigInt! blockNumber: BigInt! txNonce: BigInt! gasLimit: BigInt! gasPrice: BigInt! } type Token @entity { id: Bytes! # Ticker Hash feeRecipients: [Bytes!] feeAmounts: [BigInt!] maxDiscountBps: BigInt! assets: [Asset!]! @derivedFrom(field: "token") } type Asset @entity(immutable: true) { id: Bytes! # Asset hash token: Token domain: BigInt adopted: Bytes! approval: Boolean! } type Solver @entity { id: Bytes! # solver address supportedDomains: [BigInt!] updateVirtualBalance: Boolean! }