87f7efd960
* fix: candle type paths * chore: migrate deal-ticket * chore: migrate deposits * fix: format * chore: migrate environment * fix: format * chore: migrate fills * fix: format * chore: fix build errors * fix: format * fix: lint * fix: env tests * fix: add missing query variable * fix: format * fix: change vega_url because n11 is down * fix: deal ticket query name * chore: extend event type * fix: incorrect e2e test
37 lines
518 B
GraphQL
37 lines
518 B
GraphQL
fragment DepositFields on Deposit {
|
|
id
|
|
status
|
|
amount
|
|
asset {
|
|
id
|
|
symbol
|
|
decimals
|
|
}
|
|
createdTimestamp
|
|
creditedTimestamp
|
|
txHash
|
|
}
|
|
|
|
query Deposits($partyId: ID!) {
|
|
party(id: $partyId) {
|
|
id
|
|
depositsConnection {
|
|
edges {
|
|
node {
|
|
...DepositFields
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
subscription DepositEvent($partyId: ID!) {
|
|
busEvents(partyId: $partyId, batchSize: 0, types: [Deposit]) {
|
|
event {
|
|
... on Deposit {
|
|
...DepositFields
|
|
}
|
|
}
|
|
}
|
|
}
|