You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: schema.graphql
+49-1
Original file line number
Diff line number
Diff line change
@@ -1,24 +1,66 @@
1
+
"""
2
+
Filter for the consensus status of the block
3
+
"""
1
4
enumBlockStatusFilter {
5
+
"""
6
+
All blocks
7
+
"""
2
8
ALL
9
+
"""
10
+
Only pending blocks
11
+
"""
3
12
PENDING
13
+
"""
14
+
Only canonical (finalized) blocks
15
+
"""
4
16
CANONICAL
5
17
}
6
18
19
+
"""
20
+
Filter events from a specific account
21
+
22
+
**WARNING**: The graphQL schema server will limit the block scan range to a fixed number of blocks. The default is 10,000 blocks, but can be changed by the host.
23
+
It is the responsibility of the client to use a block range that is within the limit, which will guarantee that all events are eventually returned. It is possible to get a partial result if you do not specify both a `from` and a `to` parameter.
24
+
"""
7
25
inputEventFilterOptionsInput {
8
26
address: String!
9
27
tokenId: String
10
28
status: BlockStatusFilter
29
+
"""
30
+
Mina block height to filter events to, exclusive
31
+
"""
11
32
to: Int
33
+
"""
34
+
Mina block height to filter events from, inclusive
35
+
"""
12
36
from: Int
13
37
}
14
38
39
+
"""
40
+
Filter actions from a specific account
41
+
42
+
**WARNING**: The graphQL schema server will limit the block scan range to a fixed number of blocks. The default is 10,000 blocks, but can be changed by the host.
43
+
It is the responsibility of the client to use a block range that is within the limit, which will guarantee that all actions are eventually returned. It is possible to get a partial result if you do not specify both a `from` and a `to` parameter.
44
+
"""
15
45
inputActionFilterOptionsInput {
16
46
address: String!
17
47
tokenId: String
18
48
status: BlockStatusFilter
49
+
"""
50
+
Mina block height to filter actions to, exclusive
51
+
"""
19
52
to: Int
53
+
"""
54
+
Mina block height to filter actions from, inclusive
55
+
"""
20
56
from: Int
57
+
"""
58
+
Filter for actions that happened after this action state, inclusive
59
+
"""
21
60
fromActionState: String
61
+
"""
62
+
Filter for actions that happened before this action state, inclusive
63
+
"""
22
64
endActionState: String
23
65
}
24
66
@@ -56,7 +98,7 @@ type TransactionInfo {
56
98
hash: String!
57
99
memo: String!
58
100
authorizationKind: String!
59
-
sequenceNumber: Int! # TODO: Is it ok to make this required?
101
+
sequenceNumber: Int!
60
102
zkappAccountUpdateIds: [Int]!
61
103
}
62
104
@@ -80,7 +122,13 @@ type ActionOutput {
80
122
actionState: ActionStates!
81
123
}
82
124
125
+
"""
126
+
Metadata about the network
127
+
"""
83
128
typeNetworkStateOutput {
129
+
"""
130
+
Returns the latest pending and canonical block heights that are synced by the archive node. If the archive node is not fully synced, the pending block height will be lower than the actual network state. Wait some time for the archive node to get back in sync.
0 commit comments