forked from notional-labs/multisig-ui
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathschema.graphql
More file actions
44 lines (37 loc) · 773 Bytes
/
schema.graphql
File metadata and controls
44 lines (37 loc) · 773 Bytes
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
type Multisig {
pubkeyJSON: String!
address: String!
prefix: String!
createdOn: Time
}
type Transaction {
signatures: [Signature] @relation
dataJSON: String
txHash: String
createBy: String!
status: String!
createdOn: Time
type: String!
}
type MultisigByAddress {
createFrom: String!
address: String!
}
type Signature {
transaction: Transaction! @relation
bodyBytes: String!
signature: String!
address: String!
accountNumber: Int
sequence: Int
}
type Query {
getMultisig(address: String!): Multisig
getTxByMultisig(createBy: String!): [Transaction]
getAllMultisigByAddress(createFrom: String!): [MultisigByAddress]
getSignaturesFromAddress(address: String!): [Signature]
}
enum TransactionStatus {
PENDING
FINISHED
}