-
Notifications
You must be signed in to change notification settings - Fork 0
/
schema.graphql
50 lines (46 loc) · 923 Bytes
/
schema.graphql
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
type SubstrateBlockEntity @entity {
id: ID!
block_number: BigInt!
timestamp: BigInt!
hash: String!
runtime_version: Int
created_at: BigInt!
}
type SubstrateExtrinsicEntity @entity {
id: ID!
block_number: BigInt!
idx: Int!
section: String!
method: String!
name: String
args: String
signer: String
signature: String
hash: String
created_at: BigInt!
timestamp: BigInt
}
type SubstrateEventEntity @entity {
id: ID!
block_number: BigInt!
name: String!
section: String!
method: String!
idx: Int
data: String
extrinsic: String
created_at: BigInt!
timestamp: BigInt
}
# type HrmpChannel @entity {
# id: ID! # ${from}-${to}
# sender: String!
# recipient: String!
# proposedMaxCapacity: BigInt!
# proposedMaxMessageSize: BigInt!
# status: String
# requestedEventId: String
# acceptedEventId: String
# canceledEventId: String
# closedEventId: String
# }