aqua-lib/subnet.aqua
2023-09-21 18:08:24 +03:00

16 lines
364 B
Plaintext

data Worker:
pat_id: string
host_id: string
worker_id: []string
data SubnetResolveResult:
-- Was call successful or not
success: bool
-- Error message. Will be null if the call is successful
error: ?string
workers: []Worker
service Subnet("subnet"):
-- Returns a list of workers by deal id
resolve(deal_id: string) -> SubnetResolveResult