forked from hummingbot/gateway
-
Notifications
You must be signed in to change notification settings - Fork 0
/
near-routes.yml
63 lines (61 loc) · 1.48 KB
/
near-routes.yml
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
51
52
53
54
55
56
57
58
59
60
61
62
63
paths:
/near/balances:
get:
tags:
- 'near'
summary: 'Get the balances of an Near private key'
operationId: 'near.balances'
consumes:
- 'application/json'
produces:
- 'application/json'
parameters:
- in: 'body'
name: 'body'
required: true
schema:
$ref: '#/definitions/NearBalancesRequest'
responses:
'200':
schema:
$ref: '#/definitions/NearBalancesResponse'
/near/tokens:
get:
tags:
- 'near'
summary: 'Request token information and balance of requested token symbol'
operationId: 'near.token'
consumes:
- 'application/json'
produces:
- 'application/json'
parameters:
- in: 'body'
name: 'body'
required: true
schema:
$ref: '#/definitions/NetworkSelectionRequest'
responses:
'200':
schema:
$ref: '#/definitions/TokensResponse'
/near/poll:
post:
tags:
- 'near'
summary: 'Poll the status of a Near transaction'
operationId: 'near.poll'
consumes:
- 'application/json'
produces:
- 'application/json'
parameters:
- in: 'body'
name: 'body'
required: true
schema:
$ref: '#/definitions/NearPollRequest'
responses:
'200':
schema:
$ref: '#/definitions/NearPollResponse'