Skip to content

Commit eac2b7b

Browse files
committed
feat(query): add isLegacy to network schema for allocations
1 parent 35a8967 commit eac2b7b

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

crates/query/graphql/allocations.query.graphql

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,7 @@ query AllocationsQuery(
6969

7070
fragment AllocationFragment on Allocation {
7171
id
72+
isLegacy
7273
indexer {
7374
id
7475
}

crates/query/graphql/network.schema.graphql

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,9 @@ type Allocation {
6767
"""Channel Address"""
6868
id: ID!
6969

70+
"""True if the allocation belongs to Legacy (V1) TAP"""
71+
isLegacy: Boolean!
72+
7073
"""Indexer of this allocation"""
7174
indexer: Indexer!
7275

0 commit comments

Comments
 (0)