-
Notifications
You must be signed in to change notification settings - Fork 33
/
get-liquidity-provisions-by-party.graphql
44 lines (43 loc) · 1.2 KB
/
get-liquidity-provisions-by-party.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
# How to get liquidity provision information for a Party from a Data Node using GraphQL calls:
# ----------------------------------------------------------------------
# Cursor pagination is supported
# ----------------------------------------------------------------------
# The list can be filtered by various parameters, like so:
# partiesConnection (id: "PUBLIC_KEY")
# ----------------------------------------------------------------------
# For full details see the GraphQL Reference API docs at https://docs.vega.xyz
query getLPByParty {
partiesConnection {
edges {
node {
liquidityProvisionsConnection {
edges {
node {
id
market {
id
}
commitmentAmount
createdAt
reference
buys {
liquidityOrder {
reference
proportion
offset
}
}
sells {
liquidityOrder {
reference
proportion
offset
}
}
}
}
}
}
}
}
}