@noditlabs/nodit-mcp-server 1.0.6 → 1.0.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -0,0 +1,4513 @@
|
|
|
1
|
+
openapi: 3.1.0
|
|
2
|
+
info:
|
|
3
|
+
title: Aptos Node API
|
|
4
|
+
version: 1.2.12
|
|
5
|
+
servers:
|
|
6
|
+
- url: https://{aptos-network}.nodit.io/v1
|
|
7
|
+
variables:
|
|
8
|
+
aptos-network:
|
|
9
|
+
enum:
|
|
10
|
+
- aptos-mainnet
|
|
11
|
+
- aptos-testnet
|
|
12
|
+
default: aptos-mainnet
|
|
13
|
+
components:
|
|
14
|
+
securitySchemes:
|
|
15
|
+
api_key:
|
|
16
|
+
type: apiKey
|
|
17
|
+
name: X-API-KEY
|
|
18
|
+
in: header
|
|
19
|
+
x-default: nodit-demo
|
|
20
|
+
description: >-
|
|
21
|
+
The default value, `nodit-demo`, is only for use in the developer
|
|
22
|
+
documentation. For real applications or services, use the API key
|
|
23
|
+
obtained from the Nodit console.
|
|
24
|
+
paths:
|
|
25
|
+
/accounts/{address}:
|
|
26
|
+
get:
|
|
27
|
+
security:
|
|
28
|
+
- api_key: []
|
|
29
|
+
tags:
|
|
30
|
+
- Accounts
|
|
31
|
+
description: >-
|
|
32
|
+
계정 주소에 대한 인증 키와 시퀀스 넘버를 반환합니다. 원장의 버전을 지정할 수 있으며 원장의 버전이 지정되지 않은 경우, 최신
|
|
33
|
+
원장의 버전을 가져옵니다.
|
|
34
|
+
summary: Get account
|
|
35
|
+
operationId: aptos_getAccount
|
|
36
|
+
parameters:
|
|
37
|
+
- &ref_0
|
|
38
|
+
name: address
|
|
39
|
+
in: path
|
|
40
|
+
required: true
|
|
41
|
+
schema:
|
|
42
|
+
type: string
|
|
43
|
+
pattern: ^0[xX]?[0-9a-fA-F]{0,64}$
|
|
44
|
+
default: '0xf22bede237a07e121b56d91a491eb7bcdfd1f5907926a9e58338f964a01b17fa'
|
|
45
|
+
description: 조회하고자 하는 대상 계정의 주소. hexadecimal prefix가 없는 계정 주소도 검색 가능합니다.
|
|
46
|
+
- &ref_1
|
|
47
|
+
name: ledger_version
|
|
48
|
+
in: query
|
|
49
|
+
required: false
|
|
50
|
+
schema:
|
|
51
|
+
type: integer
|
|
52
|
+
pattern: ^[0-9]{1,20}$
|
|
53
|
+
description: >-
|
|
54
|
+
시스템에서 실행한 트랜잭션의 수. 정수로 버전이 지정되며 블록체인의 상태(State)를 의미합니다. 가장 최신 버전의
|
|
55
|
+
블록체인 상태에 대해서만 트랜잭션을 실행할 수 있습니다. 별도로 지정하지 않을 경우, 가장 최신의 버전을 가져옵니다.
|
|
56
|
+
responses:
|
|
57
|
+
'200':
|
|
58
|
+
description: Successful Response
|
|
59
|
+
content:
|
|
60
|
+
application/json:
|
|
61
|
+
schema:
|
|
62
|
+
type: object
|
|
63
|
+
properties:
|
|
64
|
+
sequence_number:
|
|
65
|
+
type: integer
|
|
66
|
+
pattern: ^[0-9]{1,20}$
|
|
67
|
+
description: A string containing a 64-bit unsigned integer.
|
|
68
|
+
example: 32425224034
|
|
69
|
+
authenticationKey:
|
|
70
|
+
type: string
|
|
71
|
+
description: >-
|
|
72
|
+
All bytes (Vec) data is represented as hex-encoded string
|
|
73
|
+
prefixed with 0x and fulfilled with two hex digits per
|
|
74
|
+
byte. Unlike the Address type, HexEncodedBytes will not
|
|
75
|
+
trim any zeros.
|
|
76
|
+
pattern: ^[0-9a-fA-F]+$
|
|
77
|
+
example: >-
|
|
78
|
+
0x88fbd33f54e1126269769780feb24480428179f552e2313fbe571b72e62a1ca1
|
|
79
|
+
example:
|
|
80
|
+
sequence_number: '692283'
|
|
81
|
+
authentication_key: >-
|
|
82
|
+
0xb3e73f93ff4077d27c61d6c4f364cfffeac97a9ab0c5a874758150389697a97f
|
|
83
|
+
headers:
|
|
84
|
+
X-APTOS-BLOCK-HEIGHT:
|
|
85
|
+
description: Current block height of the chain
|
|
86
|
+
schema:
|
|
87
|
+
type: integer
|
|
88
|
+
required: true
|
|
89
|
+
X-APTOS-CHAIN-ID:
|
|
90
|
+
description: Chain ID of the current chain
|
|
91
|
+
schema:
|
|
92
|
+
type: integer
|
|
93
|
+
required: true
|
|
94
|
+
X-APTOS-EPOCH:
|
|
95
|
+
description: Current epoch of the chain
|
|
96
|
+
schema:
|
|
97
|
+
type: integer
|
|
98
|
+
required: true
|
|
99
|
+
X-APTOS-LEDGER-OLDEST-VERSION:
|
|
100
|
+
description: Oldest non-pruned ledger version of the chain
|
|
101
|
+
schema:
|
|
102
|
+
type: integer
|
|
103
|
+
required: true
|
|
104
|
+
X-APTOS-LEDGER-TIMESTAMPUSEC:
|
|
105
|
+
description: Current timestamp of the chain
|
|
106
|
+
schema:
|
|
107
|
+
type: integer
|
|
108
|
+
required: true
|
|
109
|
+
X-APTOS-LEDGER-VERSION:
|
|
110
|
+
description: Current ledger version of the chain
|
|
111
|
+
schema:
|
|
112
|
+
type: integer
|
|
113
|
+
required: true
|
|
114
|
+
X-APTOS-OLDEST-BLOCK-HEIGHT:
|
|
115
|
+
description: Oldest non-pruned block height of the chain
|
|
116
|
+
schema:
|
|
117
|
+
type: integer
|
|
118
|
+
required: true
|
|
119
|
+
X-APTOS-CURSOR:
|
|
120
|
+
description: Cursor for the next page
|
|
121
|
+
schema:
|
|
122
|
+
type: string
|
|
123
|
+
required: true
|
|
124
|
+
'400': &ref_2
|
|
125
|
+
description: Bad Request
|
|
126
|
+
content:
|
|
127
|
+
application/json:
|
|
128
|
+
schema: &ref_47
|
|
129
|
+
type: object
|
|
130
|
+
required:
|
|
131
|
+
- message
|
|
132
|
+
- error_code
|
|
133
|
+
properties:
|
|
134
|
+
message:
|
|
135
|
+
type: string
|
|
136
|
+
error_code:
|
|
137
|
+
type: string
|
|
138
|
+
description: >-
|
|
139
|
+
These codes provide more granular error information beyond
|
|
140
|
+
just the HTTP status code of the response.
|
|
141
|
+
|
|
142
|
+
|
|
143
|
+
Allowed values: account_not_found, resource_not_found,
|
|
144
|
+
module_not_found, struct_field_not_found,
|
|
145
|
+
version_not_found, transaction_not_found,
|
|
146
|
+
table_item_not_found, block_not_found,
|
|
147
|
+
state_value_not_found, version_pruned, block_pruned,
|
|
148
|
+
invalid_input, invalid_transaction_update,
|
|
149
|
+
sequence_number_too_old, vm_error, health_check_failed,
|
|
150
|
+
mempool_is_full, internal_error, web_framework_error,
|
|
151
|
+
bcs_not_supported, api_disabled
|
|
152
|
+
vm_error_code:
|
|
153
|
+
type: integer
|
|
154
|
+
description: >-
|
|
155
|
+
A code providing VM error details when submitting
|
|
156
|
+
transactions to the VM.
|
|
157
|
+
/accounts/{address}/module/{module_name}:
|
|
158
|
+
get:
|
|
159
|
+
security:
|
|
160
|
+
- api_key: []
|
|
161
|
+
tags:
|
|
162
|
+
- Accounts
|
|
163
|
+
description: 특정 원장 버전에서 주어진 계정의 개별 모듈을 검색합니다. 원장 버전이 지정되지 않은 경우 최신 원장 버전이 사용됩니다.
|
|
164
|
+
summary: Get account module
|
|
165
|
+
operationId: aptos_getAccountModule
|
|
166
|
+
parameters:
|
|
167
|
+
- *ref_0
|
|
168
|
+
- name: module_name
|
|
169
|
+
in: path
|
|
170
|
+
required: true
|
|
171
|
+
schema:
|
|
172
|
+
type: string
|
|
173
|
+
default: asset
|
|
174
|
+
description: 조회하고자 하는 특정 모듈의 이름.
|
|
175
|
+
- *ref_1
|
|
176
|
+
responses:
|
|
177
|
+
'200':
|
|
178
|
+
description: Successful Response
|
|
179
|
+
content:
|
|
180
|
+
application/json:
|
|
181
|
+
schema: &ref_3
|
|
182
|
+
type: object
|
|
183
|
+
description: A Move module
|
|
184
|
+
required:
|
|
185
|
+
- bytecode
|
|
186
|
+
- abi
|
|
187
|
+
properties:
|
|
188
|
+
bytecode: &ref_7
|
|
189
|
+
type: string
|
|
190
|
+
description: >-
|
|
191
|
+
All bytes (Vec) data is represented as hex-encoded string
|
|
192
|
+
prefixed with 0x and fulfilled with two hex digits per
|
|
193
|
+
byte.
|
|
194
|
+
pattern: ^[0-9a-fA-F]+$
|
|
195
|
+
abi:
|
|
196
|
+
type: object
|
|
197
|
+
description: A Move module
|
|
198
|
+
required:
|
|
199
|
+
- address
|
|
200
|
+
- name
|
|
201
|
+
- friends
|
|
202
|
+
- exposed_functions
|
|
203
|
+
- “
|
|
204
|
+
properties:
|
|
205
|
+
address: &ref_16
|
|
206
|
+
type: string
|
|
207
|
+
description: An account address
|
|
208
|
+
pattern: ^0[xX]?[0-9a-fA-F]{0,64}$
|
|
209
|
+
name:
|
|
210
|
+
type: string
|
|
211
|
+
friends:
|
|
212
|
+
type: array
|
|
213
|
+
items:
|
|
214
|
+
type: string
|
|
215
|
+
description: Friends of the module
|
|
216
|
+
exposed_functions: &ref_8
|
|
217
|
+
type: array
|
|
218
|
+
description: Public functions of the module
|
|
219
|
+
items:
|
|
220
|
+
type: object
|
|
221
|
+
required:
|
|
222
|
+
- name
|
|
223
|
+
- visibility
|
|
224
|
+
- is_entry
|
|
225
|
+
- is_view
|
|
226
|
+
- params
|
|
227
|
+
- return
|
|
228
|
+
properties:
|
|
229
|
+
name:
|
|
230
|
+
type: string
|
|
231
|
+
visibility:
|
|
232
|
+
type: string
|
|
233
|
+
description: Move function visibility
|
|
234
|
+
is_entry:
|
|
235
|
+
type: boolean
|
|
236
|
+
description: >-
|
|
237
|
+
Whether the function can be called as an entry
|
|
238
|
+
function directly in a transaction
|
|
239
|
+
is_view:
|
|
240
|
+
type: boolean
|
|
241
|
+
description: Whether the function is a view function or not
|
|
242
|
+
generic_type_params:
|
|
243
|
+
type: array
|
|
244
|
+
description: >-
|
|
245
|
+
Generic type parameters associated with the Move
|
|
246
|
+
function
|
|
247
|
+
items:
|
|
248
|
+
type: object
|
|
249
|
+
required:
|
|
250
|
+
- name
|
|
251
|
+
- constraints
|
|
252
|
+
properties:
|
|
253
|
+
constraints:
|
|
254
|
+
type: array
|
|
255
|
+
description: >-
|
|
256
|
+
Move abilities tied to the generic type
|
|
257
|
+
param and associated with the function
|
|
258
|
+
that uses it
|
|
259
|
+
items:
|
|
260
|
+
type: string
|
|
261
|
+
params:
|
|
262
|
+
type: array
|
|
263
|
+
items:
|
|
264
|
+
type: string
|
|
265
|
+
description: Parameters associated with the Move function
|
|
266
|
+
pattern: >-
|
|
267
|
+
^(bool|u8|u64|u128|address|signer|vector<.+>|0x[0-9a-zA-Z:_<,
|
|
268
|
+
>]+)$
|
|
269
|
+
return:
|
|
270
|
+
type: array
|
|
271
|
+
items:
|
|
272
|
+
type: string
|
|
273
|
+
description: Return type of the Move function
|
|
274
|
+
pattern: >-
|
|
275
|
+
^(bool|u8|u64|u128|address|signer|vector<.+>|0x[0-9a-zA-Z:_<,
|
|
276
|
+
>]+)$
|
|
277
|
+
fields:
|
|
278
|
+
type: array
|
|
279
|
+
description: “ associated with the struct
|
|
280
|
+
items:
|
|
281
|
+
type: object
|
|
282
|
+
required:
|
|
283
|
+
- name
|
|
284
|
+
- type
|
|
285
|
+
properties:
|
|
286
|
+
name:
|
|
287
|
+
type: string
|
|
288
|
+
type:
|
|
289
|
+
type: string
|
|
290
|
+
description: Type of the field
|
|
291
|
+
pattern: >-
|
|
292
|
+
^(bool|u8|u64|u128|address|signer|vector<.+>|0x[0-9a-zA-Z:_<,
|
|
293
|
+
>]+)$
|
|
294
|
+
example:
|
|
295
|
+
bytecode: >-
|
|
296
|
+
0xa11ceb0b0500000007010006030612041804051c4807646108c501200ce501980100000001000200030001010002040401010001040b010100010302030f0c050a050a030a010a040a020a010a0a020a040a020a010a040a020a010002030301090002060c0501050103010101040102010a020f060c050503010402010a02040201040201196f7261636c655f736176655f726573756c745f616374696f6e1d61676772656761746f725f736176655f726573756c745f616374696f6e176f7261636c655f6865617274626561745f616374696f6e0372756e0c72756e5f696e7465726e616c07d7e436f0b2aafde60774efb26ccc432cf881b677aca7faaf2a01879bd19fb800010400024a0e000a0138000e0241050c100600000000000000000c0f0a0f0a10230449050d0e000a010e020a0f4205140e030a0f4206140e040a0f4207140e050a0f4208140e060a0f4209140e070a0f4207140e080a0f420a140e090a0f4208140e0a0a0f4209140e0b0a0f4207140e0c0a0f4208140e0d0a0f4209140e0e0a0f42071438010b0f060100000000000000160c0f05080200
|
|
297
|
+
abi:
|
|
298
|
+
address: >-
|
|
299
|
+
0x7d7e436f0b2aafde60774efb26ccc432cf881b677aca7faaf2a01879bd19fb8
|
|
300
|
+
name: oracle_save_result_action
|
|
301
|
+
friends: []
|
|
302
|
+
exposed_functions:
|
|
303
|
+
- name: run
|
|
304
|
+
visibility: public
|
|
305
|
+
is_entry: true
|
|
306
|
+
is_view: false
|
|
307
|
+
generic_type_params:
|
|
308
|
+
- constraints: []
|
|
309
|
+
params:
|
|
310
|
+
- signer
|
|
311
|
+
- address
|
|
312
|
+
- vector<address>
|
|
313
|
+
- vector<u64>
|
|
314
|
+
- vector<bool>
|
|
315
|
+
- vector<u128>
|
|
316
|
+
- vector<u8>
|
|
317
|
+
- vector<bool>
|
|
318
|
+
- vector<vector<u8>>
|
|
319
|
+
- vector<u128>
|
|
320
|
+
- vector<u8>
|
|
321
|
+
- vector<bool>
|
|
322
|
+
- vector<u128>
|
|
323
|
+
- vector<u8>
|
|
324
|
+
- vector<bool>
|
|
325
|
+
return: []
|
|
326
|
+
structs: []
|
|
327
|
+
headers:
|
|
328
|
+
X-APTOS-BLOCK-HEIGHT:
|
|
329
|
+
description: Current block height of the chain
|
|
330
|
+
schema:
|
|
331
|
+
type: integer
|
|
332
|
+
required: true
|
|
333
|
+
X-APTOS-CHAIN-ID:
|
|
334
|
+
description: Chain ID of the current chain
|
|
335
|
+
schema:
|
|
336
|
+
type: integer
|
|
337
|
+
required: true
|
|
338
|
+
X-APTOS-EPOCH:
|
|
339
|
+
description: Current epoch of the chain
|
|
340
|
+
schema:
|
|
341
|
+
type: integer
|
|
342
|
+
required: true
|
|
343
|
+
X-APTOS-LEDGER-OLDEST-VERSION:
|
|
344
|
+
description: Oldest non-pruned ledger version of the chain
|
|
345
|
+
schema:
|
|
346
|
+
type: integer
|
|
347
|
+
required: true
|
|
348
|
+
X-APTOS-LEDGER-TIMESTAMPUSEC:
|
|
349
|
+
description: Current timestamp of the chain
|
|
350
|
+
schema:
|
|
351
|
+
type: integer
|
|
352
|
+
required: true
|
|
353
|
+
X-APTOS-LEDGER-VERSION:
|
|
354
|
+
description: Current ledger version of the chain
|
|
355
|
+
schema:
|
|
356
|
+
type: integer
|
|
357
|
+
required: true
|
|
358
|
+
X-APTOS-OLDEST-BLOCK-HEIGHT:
|
|
359
|
+
description: Oldest non-pruned block height of the chain
|
|
360
|
+
schema:
|
|
361
|
+
type: integer
|
|
362
|
+
required: true
|
|
363
|
+
X-APTOS-CURSOR:
|
|
364
|
+
description: Cursor for the next page
|
|
365
|
+
schema:
|
|
366
|
+
type: string
|
|
367
|
+
required: true
|
|
368
|
+
'400': *ref_2
|
|
369
|
+
/accounts/{address}/modules:
|
|
370
|
+
get:
|
|
371
|
+
security:
|
|
372
|
+
- api_key: []
|
|
373
|
+
tags:
|
|
374
|
+
- Accounts
|
|
375
|
+
description: 특정 원장 버전에서 주어진 계정의 모든 모듈을 반환합니다. 원장 버전이 지정되지 않은 경우 최신 원장 버전이 사용됩니다.
|
|
376
|
+
summary: Get account modules
|
|
377
|
+
operationId: aptos_getAccountModules
|
|
378
|
+
parameters:
|
|
379
|
+
- *ref_0
|
|
380
|
+
- *ref_1
|
|
381
|
+
- &ref_4
|
|
382
|
+
name: limit
|
|
383
|
+
in: query
|
|
384
|
+
required: false
|
|
385
|
+
schema:
|
|
386
|
+
type: integer
|
|
387
|
+
description: 조회할 최대 데이터 수
|
|
388
|
+
- &ref_5
|
|
389
|
+
name: start
|
|
390
|
+
in: query
|
|
391
|
+
required: false
|
|
392
|
+
schema:
|
|
393
|
+
type: string
|
|
394
|
+
description: >-
|
|
395
|
+
Pagination을 지원하기 위해 위치를 지정하는 커서. 응답의 X-aptos-Cursor 헤더로 다음 페이지의 커서를
|
|
396
|
+
얻을 수 있습니다.
|
|
397
|
+
responses:
|
|
398
|
+
'200':
|
|
399
|
+
description: Successful Response
|
|
400
|
+
content:
|
|
401
|
+
application/json:
|
|
402
|
+
schema:
|
|
403
|
+
type: array
|
|
404
|
+
items: *ref_3
|
|
405
|
+
example:
|
|
406
|
+
- bytecode: >-
|
|
407
|
+
0xa11ceb0b0600000005010002020218071a30084a200a6a1e00000001000000020000000300000004000000050000000600000561737365740442555344045553444304555344440455534454045742544304574554480b64756d6d795f6669656c64f22bede237a07e121b56d91a491eb7bcdfd1f5907926a9e58338f964a01b17fa00020107010102010701020201070103020107010402010701050201070100
|
|
408
|
+
abi:
|
|
409
|
+
address: >-
|
|
410
|
+
0xf22bede237a07e121b56d91a491eb7bcdfd1f5907926a9e58338f964a01b17fa
|
|
411
|
+
name: asset
|
|
412
|
+
friends: []
|
|
413
|
+
exposed_functions: []
|
|
414
|
+
structs:
|
|
415
|
+
- name: BUSD
|
|
416
|
+
is_native: false
|
|
417
|
+
abilities: []
|
|
418
|
+
generic_type_params: []
|
|
419
|
+
fields:
|
|
420
|
+
- name: dummy_field
|
|
421
|
+
type: bool
|
|
422
|
+
- name: USDC
|
|
423
|
+
is_native: false
|
|
424
|
+
abilities: []
|
|
425
|
+
generic_type_params: []
|
|
426
|
+
fields:
|
|
427
|
+
- name: dummy_field
|
|
428
|
+
type: bool
|
|
429
|
+
- name: USDD
|
|
430
|
+
is_native: false
|
|
431
|
+
abilities: []
|
|
432
|
+
generic_type_params: []
|
|
433
|
+
fields:
|
|
434
|
+
- name: dummy_field
|
|
435
|
+
type: bool
|
|
436
|
+
- name: USDT
|
|
437
|
+
is_native: false
|
|
438
|
+
abilities: []
|
|
439
|
+
generic_type_params: []
|
|
440
|
+
fields:
|
|
441
|
+
- name: dummy_field
|
|
442
|
+
type: bool
|
|
443
|
+
- name: WBTC
|
|
444
|
+
is_native: false
|
|
445
|
+
abilities: []
|
|
446
|
+
generic_type_params: []
|
|
447
|
+
fields:
|
|
448
|
+
- name: dummy_field
|
|
449
|
+
type: bool
|
|
450
|
+
- name: WETH
|
|
451
|
+
is_native: false
|
|
452
|
+
abilities: []
|
|
453
|
+
generic_type_params: []
|
|
454
|
+
fields:
|
|
455
|
+
- name: dummy_field
|
|
456
|
+
type: bool
|
|
457
|
+
- bytecode: >-
|
|
458
|
+
0xa11ceb0b060000000e010008020806030e21052f2507549d0108f1014006b1022c10dd02350a92030d0b9f03020ca103f5010d96050a0ea0050a0faa05020001010201030104000508010001000600010100000702010100000803010100030e010300020f080300011003030002060c0300030103030103030303060c01090001070b000109000203070b000109000203030b636f696e5f627269646765076c696d69746572056572726f72066d61746836340974696d657374616d70074c696d697465720d72656769737465725f636f696e0b7365745f6c696d697465720a7472795f696e7365727407656e61626c65640674305f7365630a77696e646f775f7365630673756d5f7364066361705f73640b6e6f775f7365636f6e647303706f770c6f75745f6f665f72616e6765f22bede237a07e121b56d91a491eb7bcdfd1f5907926a9e58338f964a01b17fa0000000000000000000000000000000000000000000000000000000000000001030800000000000000000520f22bede237a07e121b56d91a491eb7bcdfd1f5907926a9e58338f964a01b17fa126170746f733a3a6d657461646174615f76312101000000000000000014454252494447455f4341505f4f564552464c4f5700000000020509010a030b030c030d03000500030000040f0b000c0411030c020b010c030b04080b020640380000000000000600000000000000000b0339003f00020103000100061007013c000c030b000a033600150b010a033601150b020b03360215020203000100074d07013c000c020a0237001420040b0b02010211030a02370314170a023702141a0c010a010600000000000000002404380a023703140a023702140a0118160a023603150a0106400000000000000026042e0600000000000000000a0236041505380a023704140602000000000000000b0111041a0a023604150a023704140b00160a023604150a023704140b02370114250449054c0700110527020000000400020001000300050105020503050405000000
|
|
459
|
+
abi:
|
|
460
|
+
address: >-
|
|
461
|
+
0xf22bede237a07e121b56d91a491eb7bcdfd1f5907926a9e58338f964a01b17fa
|
|
462
|
+
name: limiter
|
|
463
|
+
friends:
|
|
464
|
+
- >-
|
|
465
|
+
0xf22bede237a07e121b56d91a491eb7bcdfd1f5907926a9e58338f964a01b17fa::coin_bridge
|
|
466
|
+
exposed_functions:
|
|
467
|
+
- name: register_coin
|
|
468
|
+
visibility: friend
|
|
469
|
+
is_entry: false
|
|
470
|
+
is_view: false
|
|
471
|
+
generic_type_params:
|
|
472
|
+
- constraints: []
|
|
473
|
+
params:
|
|
474
|
+
- '&signer'
|
|
475
|
+
- u64
|
|
476
|
+
return: []
|
|
477
|
+
- name: set_limiter
|
|
478
|
+
visibility: friend
|
|
479
|
+
is_entry: false
|
|
480
|
+
is_view: false
|
|
481
|
+
generic_type_params:
|
|
482
|
+
- constraints: []
|
|
483
|
+
params:
|
|
484
|
+
- bool
|
|
485
|
+
- u64
|
|
486
|
+
- u64
|
|
487
|
+
return: []
|
|
488
|
+
- name: try_insert
|
|
489
|
+
visibility: friend
|
|
490
|
+
is_entry: false
|
|
491
|
+
is_view: false
|
|
492
|
+
generic_type_params:
|
|
493
|
+
- constraints: []
|
|
494
|
+
params:
|
|
495
|
+
- u64
|
|
496
|
+
return: []
|
|
497
|
+
structs:
|
|
498
|
+
- name: Limiter
|
|
499
|
+
is_native: false
|
|
500
|
+
abilities:
|
|
501
|
+
- key
|
|
502
|
+
generic_type_params:
|
|
503
|
+
- constraints: []
|
|
504
|
+
fields:
|
|
505
|
+
- name: enabled
|
|
506
|
+
type: bool
|
|
507
|
+
- name: t0_sec
|
|
508
|
+
type: u64
|
|
509
|
+
- name: window_sec
|
|
510
|
+
type: u64
|
|
511
|
+
- name: sum_sd
|
|
512
|
+
type: u64
|
|
513
|
+
- name: cap_sd
|
|
514
|
+
type: u64
|
|
515
|
+
- bytecode: >-
|
|
516
|
+
0xa11ceb0b060000000e01002a022a6a039401800404940572058606a60507ac0b9e0e08ca196006aa1ac10110eb1bde040ac920a0010be921020ceb21bc0f0da731260ecd310e0000010101020103010401050106010701080109010a010b010c010d020e020f0210021102120213001400150000001606000017080100010018080000190800001a0800001b0800001c0300001d0600001e0600001f0600042504010001042905010001042a05010001042b050100010c3307000a360700033a0800133d00000b4b0402030100010657040106010e5b050100010020000001000021000001000022010000002302000100002403040000260500010000270600000028070800002c02090100002d000a0100002e000b0100002f02000000300c0b010000310d0e0000320f00010000340f10000035110d0000371200010000380e0e010000390d0e00003b13140100003c15000100003e16170100003f16170100004006000000411800010000420600010000431900010000441a1b010005660e0e0005670e0e000c68001e01000b69200b0203000b6a20210203000f6b2200000d6c240b0100056d0e0e00096e022600046f260b010004700200010005710e0e000b72282902030004732a1b010004740500010006752c00010612762e000012772f300101117803230005790e0e00117a030e00047b310e0100047c1b000100127d330000117e350000117f3600001180013700000e8101023d01000f82013e0001001082010200000b8301003f020304018401024201061285010e00001086014600000e32470e01000b87012848020300078801082600028901260b000b8a014948020302028b01050001000d8c011c3001000e354b0d00058d010e0e00048e014d4c0100088f010d0e0014371a000100049001001b01000491011a1b01001492010e000100049301520001001094012708000f950153540100049601561b0100149701570001000b980149000203020b990149000203000a1c1f1c201f211f2323001c011c261c271c202729272a1c2b1c2c2b2e23321c331c213a383c393c3b1f3b403c413c433c2b3f3c203a403a4327441c2c432140451e481c3b3a3b274a1c4b4e171c334e121c4c1c1c501c4e161c0550054e4d1c4e1c503c2c41511c521c531f543a54404b1c000203060a0201060c01060a02030a020a020302050b0b01090002060c01040a020a020301010a02030b0c0109000b0d0109000b0e010900020a030a03010102030a02020303010303030a020a02010a080f0403010a020a0205060c081008100203070b0b010900030a020b0b010811010a020a02010b0b01081109060c030a02030303010a020a02080b0b010900030a020b0b0108110b0b010812010a020a02020b0b0108110b0b01081204060c01030304060c030a020102060c03010b0b01090001090002080f06080401080f02080f0102060b13020900090109000106090105050303060a0203010201060a09000403070b020109000b0b01090005010502050302070b13020900090109000109010203060b0c01090001080102070b140109000900050a020a02030a020a0202060a020303060a09000303010a090001060b0b0109000107080402060c0503020a020202070a020202070a020a0202070a020301060b0201090005060b020109000306030608090a0302030809010b15010800010800010b1501090002060c0b15010900010b130209000901020807080f01080a010b14010900010808010608090c0103030703070b020109000b0b010900060806050a020708090a02010305030a0204030a020a02060b150109000107090103070b130209000901090009010208070a0206050303010a020a02030b0d0109000b0e0109000b0c01090005060c081008100201010812070b0b0109000b0b0108110b0b01081103050b0b0108120b0b010812010811090303070b020109000a020608060b0b0108110a020708090b0b010812020b0b010900060b0d01090008030a020a020b0b0108110b0b0108120a020a02060b1501090003030b0b0108110b0b01081203030b0b0109000302070b0b010900030301030302070b0201090008090b636f696e5f627269646765076163636f756e740d6170746f735f6163636f756e740a6170746f735f636f696e04636f696e056572726f72056576656e740866726f6d5f626373066d6174683634067369676e657206737472696e67057461626c6509747970655f696e666f06766563746f7208656e64706f696e74056c7a6170700672656d6f7465057365726465057574696c73037a726f076c696d697465720842726964676555410a436c61696d4576656e7409436f696e53746f72650d436f696e5479706553746f726506436f6e6669670a4576656e7453746f72650c4c7a4361706162696c69747904506174680c526563656976654576656e740a52656d6f7465436f696e0953656e644576656e74166173736572745f726567697374657265645f636f696e0f6173736572745f756e70617573656414636865636b5f616461707465725f706172616d730a636c61696d5f636f696e166465636f64655f726563656976655f7061796c6f616404436f696e166465706f7369745f636f696e5f69665f6e65656465641c656e61626c655f637573746f6d5f616461707465725f706172616d7313656e636f64655f73656e645f7061796c6f61640e4d696e744361706162696c6974790e4275726e4361706162696c69747910467265657a654361706162696c697479156765745f636f696e5f6361706162696c69746965730b6765745f74766c735f7364136861735f636f696e5f726567697374657265640b696e69745f6d6f64756c651469735f76616c69645f72656d6f74655f636f696e056c643273640a6c7a5f726563656976650854797065496e666f106c7a5f726563656976655f74797065730971756f74655f66656506537472696e670d72656769737465725f636f696e0e72656d6f76655f647573745f6c64057364326c64094170746f73436f696e0973656e645f636f696e0e73656e645f636f696e5f66726f6d035a524f1273656e645f636f696e5f696e7465726e616c1273656e645f636f696e5f776974685f7a726f107365745f676c6f62616c5f70617573650f7365745f6c696d697465725f636170097365745f70617573650f7365745f72656d6f74655f636f696e1777697468647261775f636f696e5f69665f6e65656465640b64756d6d795f6669656c6409636f696e5f7479706508726563656976657209616d6f756e745f6c640a6c643273645f726174650c72656d6f74655f636f696e73055461626c650d72656d6f74655f636861696e7310636c61696d61626c655f616d745f6c64086d696e745f636170086275726e5f6361700a667265657a655f6361700b747970655f6c6f6f6b75700574797065730d7061757365645f676c6f62616c0c7061757365645f636f696e7315637573746f6d5f616461707465725f706172616d730b73656e645f6576656e74730b4576656e7448616e646c650e726563656976655f6576656e74730c636c61696d5f6576656e7473036361700c55614361706162696c6974790f72656d6f74655f636861696e5f69641072656d6f74655f636f696e5f616464720c7372635f636861696e5f696407737461736865640e72656d6f74655f616464726573730674766c5f73640b756e777261707061626c650c6473745f636861696e5f69640c6473745f726563656976657206756e77726170117065726d697373696f6e5f64656e6965640b756e617661696c61626c6507747970655f6f6608636f6e7461696e7306626f72726f77106173736572745f6761735f6c696d69740869735f656d70747910696e76616c69645f617267756d656e740a616464726573735f6f661569735f6163636f756e745f72656769737465726564087265676973746572096e6f745f666f756e640672656d6f7665046d696e74076465706f7369740a656d69745f6576656e740d6173736572745f6c656e6774680c766563746f725f736c6963650e646573657269616c697a655f75380761626f727465640f646573657269616c697a655f7536340576616c75650c64657374726f795f7a65726f0d6173736572745f7369676e65720c73657269616c697a655f75381073657269616c697a655f766563746f720d73657269616c697a655f7536340b72656769737465725f756104696e6974036e6577106e65775f6576656e745f68616e646c650a6173736572745f7531360d6173736572745f72656d6f74650a626f72726f775f6d75740a746f5f616464726573732163616e5f726563656976655f6469726563745f636f696e5f7472616e736665727317626f72726f775f6d75745f776974685f64656661756c740d6465706f7369745f636f696e730973696e676c65746f6e0e616c72656164795f6578697374730a696e697469616c697a6503706f77047a65726f0877697468647261770a7472795f696e73657274046275726e036765740d73656e645f776974685f7a726f07657874726163740b7365745f6c696d697465720675707365727403616464f22bede237a07e121b56d91a491eb7bcdfd1f5907926a9e58338f964a01b17fa000000000000000000000000000000000000000000000000000000000000000154ad3d30af77b60d939ae356e6606de9a4da67583f02b962d2d3f2e481484e900308040000000000000003080100000000000000030806000000000000000308070000000000000003080d0000000000000003080800000000000000030805000000000000000308030000000000000003080a000000000000000308090000000000000003080b000000000000000308020000000000000003080c000000000000000308000000000000000002010002010103084a000000000000000201060520f22bede237a07e121b56d91a491eb7bcdfd1f5907926a9e58338f964a01b17fa126170746f733a3a6d657461646174615f7631c9040e000000000000000019454252494447455f554e524547495354455245445f434f494e0001000000000000001b454252494447455f434f494e5f414c52454144595f4558495354530002000000000000001d454252494447455f52454d4f54455f434f494e5f4e4f545f464f554e4400030000000000000019454252494447455f494e56414c49445f434f494e5f5459504500040000000000000020454252494447455f434c41494d41424c455f434f494e5f4e4f545f464f554e440005000000000000001d454252494447455f494e56414c49445f434f494e5f444543494d414c530006000000000000001c454252494447455f434f494e5f4e4f545f554e575241505041424c450007000000000000001e454252494447455f494e53554646494349454e545f4c495155494449545900080000000000000017454252494447455f494e56414c49445f4144445245535300090000000000000016454252494447455f494e56414c49445f5349474e4552000a000000000000001b454252494447455f494e56414c49445f5041434b45545f54595045000b000000000000000e454252494447455f504155534544000c000000000000001e454252494447455f53454e44494e475f414d4f554e545f544f4f5f464557000d000000000000001e454252494447455f494e56414c49445f414441505445525f504152414d530000040971756f74655f6665650101000b6765745f74766c735f7364010100106c7a5f726563656976655f7479706573010100136861735f636f696e5f72656769737465726564010100000201450101020346080f4705480302020749034a0b13020308094c0a034d0b130205034e0b0c0109004f0b0d010900500b0e010900030202510b13020807080f520a080f0402035301540b1302080f015501050203560b1401080a580b14010808590b140108010602015a0b150108000702025c035d0a0208020546080f5e03470548035f01090203600a02610362010a020546080f6303640a0248036501021c000000000007380004030506070d111d270201000001041d2407122b040c010a01100014200409050e0b0101070a111e2738010c000a0110010a00380204210b0110010b0038031420041d0520070a111e2705230b0101020200000104001507122b04100214040d07120b00070f340b01060000000000000000112205140b0138040411051407041124270203010403020405253c380538060a0011250c040a04380720040c0b003808050e0b000107123c000c020a0237000a0438090417051c0b020107001128270a0236000a04380a0c010a01060000000000000000240426052b0b020107001128270a010b023701380b0c030a040b03380c07122a050f0538010b040b011201380d02040000002d290a00064900000000000000112d0a00060000000000000000060100000000000000380e0c010e01112f070e21040e05130b000107081130270a00060100000000000000062100000000000000380e0c050a00062100000000000000064100000000000000380e0c040b00064100000000000000064900000000000000380e0c020e0211310c030b050b040b030205000000000c0e01380f0600000000000000002404090b000b01380c050b0b013810020601040104320b0b000712113407122a040c020b010b020f0215020700000034220e00062000000000000000112d0e01062000000000000000112d402300000000000000000c050d05070f11350d050b0011360d050b0111360d050b0211370b03041931010c04051b31000c040b040c060d050b0611350b0502080100010238110b0007121134380507123d000c010a013701140a013702140b013703140209010001023929380507123d000c00400e00000000000000000c040600000000000000000c010a010a003704410e230424050f0a0037040a01420e0c020a0037050b021438110c030d040b03100a14440e0b01060100000000000000160c0105080b003704140b04020a010000000307123b00020b0000003b210a0038120c010a000a0138130a00113a0a000b0112062d060a000938140912042d040a003815401e000000000000000012032d030a000a0038160a0038170b00381812052d05020c01000102440c07123d0037050b0038110c020b010b02100b1421020d00000000040b000b011a020e010404020405064578380538060a00113d07120a000a01113e07122b060c090a000b010a020b09100c3819010e0211040c050c0b0c0d07123c000c070a0737050a00381a042005250b0701070b1128270a0736050a00381b0c0c0b0d0a0c100b1421043105380b0c010b070107071124270a0c100a140a05160b0c0f0a150b050a0737061411130c040b0b11410c0a0a0a38072004520a0a1142200c030554090c030b030c0e0a0e04650b0736000a0a060000000000000000381c0c060a06140a04160b0615056d0a040b073701380b0c080a0a0b08381d07122a050f0e38010b000b0a0b040b0e1208381e020f010001034a110e02110401010c040b000b0412070c0307122b03100f0b03381f1438200210010000000807120b0007100b010b020b0311460211010401034c370a00071211343800200407050c0b0001070111472707110a0325041105160b000107061124270a000b010b020a030838210c070c060c0507122a030f103801441e0a00060a000000000000000b030711173411493822400e000000000000000038230b070b050b0639003f000b000b043824021201000102380d07123d000c010b000a013706141a0b0137061418021300000000040b000b0118021401000402040506170f0b000b010b020b0338250b040b050b0638260c080c070b0838270b070215010404020405064f240b0338280c0c0a000b0c38290c090a000b04382a0c0a0a000b05382b0c0e0b090b010b020b0a0b0e0b060b070b08382c0c0f0c0b0b0011250c0d0a0d0b0b382d0b0d0b0f382e021600000402040506518101380538060a01113d0e02062000000000000000112d07123c000c0a0a0a37050a01381a041005150b0a01070b1128270e00380f0c080a080a0a370614110d0c090a0906000000000000000024042305280b0a01070c1124270a09382f0a0a36050a01381b0c0f0a0f100a140a09260436053d0b0f010b0a0107031124270a0f100a140a09170a0f0f0a150b000b0a370238300a010e0611020a0504580a0f101114045305580b0f0107021124270b0f100b140a020b090a0511070c0e07122b060c0c07120a01114f0c0b0a010b0b0b0e0b030b040b060b070b0c100c38310c100c0d0107122a050f1238010b010b020b080b05120a38320b0d0b10021701000402040506551e0e00380f0c080e00380f38280c0a0a080a0a2404140d000b080b0a1738330c0907120b09380c0b000b010b020b030b040b050b060b07382c021801040104320b0b000712113407122a040c020b010b020f0015021901040000090b000712113438050b010b020b033834021a01040104000b0b0007121134380507122a040f0138010b013835021b0104020203582f0b00071211340a01113d0e02062000000000000000112d380507123c000c040a0437050a01381a20041305180b040107011124270a020600000000000000000b0312090c050a0436050a010b0538360b0436040a01440e07122a030f0f0b010b02120738013837021c0000001b0f0a010600000000000000002404090b000b0138290c02050d0b000138380c020b02020400040104020203020405020205020602020201090109000600020005010300030109020500031c041c061c071c081c091c0d1c00
|
|
517
|
+
abi:
|
|
518
|
+
address: >-
|
|
519
|
+
0xf22bede237a07e121b56d91a491eb7bcdfd1f5907926a9e58338f964a01b17fa
|
|
520
|
+
name: coin_bridge
|
|
521
|
+
friends: []
|
|
522
|
+
exposed_functions:
|
|
523
|
+
- name: claim_coin
|
|
524
|
+
visibility: public
|
|
525
|
+
is_entry: true
|
|
526
|
+
is_view: false
|
|
527
|
+
generic_type_params:
|
|
528
|
+
- constraints: []
|
|
529
|
+
params:
|
|
530
|
+
- '&signer'
|
|
531
|
+
return: []
|
|
532
|
+
- name: enable_custom_adapter_params
|
|
533
|
+
visibility: public
|
|
534
|
+
is_entry: true
|
|
535
|
+
is_view: false
|
|
536
|
+
generic_type_params: []
|
|
537
|
+
params:
|
|
538
|
+
- '&signer'
|
|
539
|
+
- bool
|
|
540
|
+
return: []
|
|
541
|
+
- name: get_coin_capabilities
|
|
542
|
+
visibility: public
|
|
543
|
+
is_entry: false
|
|
544
|
+
is_view: false
|
|
545
|
+
generic_type_params:
|
|
546
|
+
- constraints: []
|
|
547
|
+
params:
|
|
548
|
+
- '&signer'
|
|
549
|
+
return:
|
|
550
|
+
- 0x1::coin::MintCapability<T0>
|
|
551
|
+
- 0x1::coin::BurnCapability<T0>
|
|
552
|
+
- 0x1::coin::FreezeCapability<T0>
|
|
553
|
+
- name: get_tvls_sd
|
|
554
|
+
visibility: public
|
|
555
|
+
is_entry: false
|
|
556
|
+
is_view: true
|
|
557
|
+
generic_type_params:
|
|
558
|
+
- constraints: []
|
|
559
|
+
params: []
|
|
560
|
+
return:
|
|
561
|
+
- vector<u64>
|
|
562
|
+
- vector<u64>
|
|
563
|
+
- name: has_coin_registered
|
|
564
|
+
visibility: public
|
|
565
|
+
is_entry: false
|
|
566
|
+
is_view: true
|
|
567
|
+
generic_type_params:
|
|
568
|
+
- constraints: []
|
|
569
|
+
params: []
|
|
570
|
+
return:
|
|
571
|
+
- bool
|
|
572
|
+
- name: is_valid_remote_coin
|
|
573
|
+
visibility: public
|
|
574
|
+
is_entry: false
|
|
575
|
+
is_view: false
|
|
576
|
+
generic_type_params:
|
|
577
|
+
- constraints: []
|
|
578
|
+
params:
|
|
579
|
+
- u64
|
|
580
|
+
- vector<u8>
|
|
581
|
+
return:
|
|
582
|
+
- bool
|
|
583
|
+
- name: lz_receive
|
|
584
|
+
visibility: public
|
|
585
|
+
is_entry: true
|
|
586
|
+
is_view: false
|
|
587
|
+
generic_type_params:
|
|
588
|
+
- constraints: []
|
|
589
|
+
params:
|
|
590
|
+
- u64
|
|
591
|
+
- vector<u8>
|
|
592
|
+
- vector<u8>
|
|
593
|
+
return: []
|
|
594
|
+
- name: lz_receive_types
|
|
595
|
+
visibility: public
|
|
596
|
+
is_entry: false
|
|
597
|
+
is_view: true
|
|
598
|
+
generic_type_params: []
|
|
599
|
+
params:
|
|
600
|
+
- u64
|
|
601
|
+
- vector<u8>
|
|
602
|
+
- vector<u8>
|
|
603
|
+
return:
|
|
604
|
+
- vector<0x1::type_info::TypeInfo>
|
|
605
|
+
- name: quote_fee
|
|
606
|
+
visibility: public
|
|
607
|
+
is_entry: false
|
|
608
|
+
is_view: true
|
|
609
|
+
generic_type_params: []
|
|
610
|
+
params:
|
|
611
|
+
- u64
|
|
612
|
+
- bool
|
|
613
|
+
- vector<u8>
|
|
614
|
+
- vector<u8>
|
|
615
|
+
return:
|
|
616
|
+
- u64
|
|
617
|
+
- u64
|
|
618
|
+
- name: register_coin
|
|
619
|
+
visibility: public
|
|
620
|
+
is_entry: true
|
|
621
|
+
is_view: false
|
|
622
|
+
generic_type_params:
|
|
623
|
+
- constraints: []
|
|
624
|
+
params:
|
|
625
|
+
- '&signer'
|
|
626
|
+
- 0x1::string::String
|
|
627
|
+
- 0x1::string::String
|
|
628
|
+
- u8
|
|
629
|
+
- u64
|
|
630
|
+
return: []
|
|
631
|
+
- name: remove_dust_ld
|
|
632
|
+
visibility: public
|
|
633
|
+
is_entry: false
|
|
634
|
+
is_view: false
|
|
635
|
+
generic_type_params:
|
|
636
|
+
- constraints: []
|
|
637
|
+
params:
|
|
638
|
+
- u64
|
|
639
|
+
return:
|
|
640
|
+
- u64
|
|
641
|
+
- name: send_coin
|
|
642
|
+
visibility: public
|
|
643
|
+
is_entry: false
|
|
644
|
+
is_view: false
|
|
645
|
+
generic_type_params:
|
|
646
|
+
- constraints: []
|
|
647
|
+
params:
|
|
648
|
+
- 0x1::coin::Coin<T0>
|
|
649
|
+
- u64
|
|
650
|
+
- vector<u8>
|
|
651
|
+
- 0x1::coin::Coin<0x1::aptos_coin::AptosCoin>
|
|
652
|
+
- bool
|
|
653
|
+
- vector<u8>
|
|
654
|
+
- vector<u8>
|
|
655
|
+
return:
|
|
656
|
+
- 0x1::coin::Coin<0x1::aptos_coin::AptosCoin>
|
|
657
|
+
- name: send_coin_from
|
|
658
|
+
visibility: public
|
|
659
|
+
is_entry: true
|
|
660
|
+
is_view: false
|
|
661
|
+
generic_type_params:
|
|
662
|
+
- constraints: []
|
|
663
|
+
params:
|
|
664
|
+
- '&signer'
|
|
665
|
+
- u64
|
|
666
|
+
- vector<u8>
|
|
667
|
+
- u64
|
|
668
|
+
- u64
|
|
669
|
+
- u64
|
|
670
|
+
- bool
|
|
671
|
+
- vector<u8>
|
|
672
|
+
- vector<u8>
|
|
673
|
+
return: []
|
|
674
|
+
- name: send_coin_with_zro
|
|
675
|
+
visibility: public
|
|
676
|
+
is_entry: false
|
|
677
|
+
is_view: false
|
|
678
|
+
generic_type_params:
|
|
679
|
+
- constraints: []
|
|
680
|
+
params:
|
|
681
|
+
- 0x1::coin::Coin<T0>
|
|
682
|
+
- u64
|
|
683
|
+
- vector<u8>
|
|
684
|
+
- 0x1::coin::Coin<0x1::aptos_coin::AptosCoin>
|
|
685
|
+
- >-
|
|
686
|
+
0x1::coin::Coin<0x54ad3d30af77b60d939ae356e6606de9a4da67583f02b962d2d3f2e481484e90::zro::ZRO>
|
|
687
|
+
- bool
|
|
688
|
+
- vector<u8>
|
|
689
|
+
- vector<u8>
|
|
690
|
+
return:
|
|
691
|
+
- 0x1::coin::Coin<0x1::aptos_coin::AptosCoin>
|
|
692
|
+
- >-
|
|
693
|
+
0x1::coin::Coin<0x54ad3d30af77b60d939ae356e6606de9a4da67583f02b962d2d3f2e481484e90::zro::ZRO>
|
|
694
|
+
- name: set_global_pause
|
|
695
|
+
visibility: public
|
|
696
|
+
is_entry: true
|
|
697
|
+
is_view: false
|
|
698
|
+
generic_type_params: []
|
|
699
|
+
params:
|
|
700
|
+
- '&signer'
|
|
701
|
+
- bool
|
|
702
|
+
return: []
|
|
703
|
+
- name: set_limiter_cap
|
|
704
|
+
visibility: public
|
|
705
|
+
is_entry: true
|
|
706
|
+
is_view: false
|
|
707
|
+
generic_type_params:
|
|
708
|
+
- constraints: []
|
|
709
|
+
params:
|
|
710
|
+
- '&signer'
|
|
711
|
+
- bool
|
|
712
|
+
- u64
|
|
713
|
+
- u64
|
|
714
|
+
return: []
|
|
715
|
+
- name: set_pause
|
|
716
|
+
visibility: public
|
|
717
|
+
is_entry: true
|
|
718
|
+
is_view: false
|
|
719
|
+
generic_type_params:
|
|
720
|
+
- constraints: []
|
|
721
|
+
params:
|
|
722
|
+
- '&signer'
|
|
723
|
+
- bool
|
|
724
|
+
return: []
|
|
725
|
+
- name: set_remote_coin
|
|
726
|
+
visibility: public
|
|
727
|
+
is_entry: true
|
|
728
|
+
is_view: false
|
|
729
|
+
generic_type_params:
|
|
730
|
+
- constraints: []
|
|
731
|
+
params:
|
|
732
|
+
- '&signer'
|
|
733
|
+
- u64
|
|
734
|
+
- vector<u8>
|
|
735
|
+
- bool
|
|
736
|
+
return: []
|
|
737
|
+
structs:
|
|
738
|
+
- name: BridgeUA
|
|
739
|
+
is_native: false
|
|
740
|
+
abilities: []
|
|
741
|
+
generic_type_params: []
|
|
742
|
+
fields:
|
|
743
|
+
- name: dummy_field
|
|
744
|
+
type: bool
|
|
745
|
+
- name: ClaimEvent
|
|
746
|
+
is_native: false
|
|
747
|
+
abilities:
|
|
748
|
+
- drop
|
|
749
|
+
- store
|
|
750
|
+
generic_type_params: []
|
|
751
|
+
fields:
|
|
752
|
+
- name: coin_type
|
|
753
|
+
type: 0x1::type_info::TypeInfo
|
|
754
|
+
- name: receiver
|
|
755
|
+
type: address
|
|
756
|
+
- name: amount_ld
|
|
757
|
+
type: u64
|
|
758
|
+
- name: CoinStore
|
|
759
|
+
is_native: false
|
|
760
|
+
abilities:
|
|
761
|
+
- key
|
|
762
|
+
generic_type_params:
|
|
763
|
+
- constraints: []
|
|
764
|
+
fields:
|
|
765
|
+
- name: ld2sd_rate
|
|
766
|
+
type: u64
|
|
767
|
+
- name: remote_coins
|
|
768
|
+
type: >-
|
|
769
|
+
0x1::table::Table<u64,
|
|
770
|
+
0xf22bede237a07e121b56d91a491eb7bcdfd1f5907926a9e58338f964a01b17fa::coin_bridge::RemoteCoin>
|
|
771
|
+
- name: remote_chains
|
|
772
|
+
type: vector<u64>
|
|
773
|
+
- name: claimable_amt_ld
|
|
774
|
+
type: 0x1::table::Table<address, u64>
|
|
775
|
+
- name: mint_cap
|
|
776
|
+
type: 0x1::coin::MintCapability<T0>
|
|
777
|
+
- name: burn_cap
|
|
778
|
+
type: 0x1::coin::BurnCapability<T0>
|
|
779
|
+
- name: freeze_cap
|
|
780
|
+
type: 0x1::coin::FreezeCapability<T0>
|
|
781
|
+
- name: CoinTypeStore
|
|
782
|
+
is_native: false
|
|
783
|
+
abilities:
|
|
784
|
+
- key
|
|
785
|
+
generic_type_params: []
|
|
786
|
+
fields:
|
|
787
|
+
- name: type_lookup
|
|
788
|
+
type: >-
|
|
789
|
+
0x1::table::Table<0xf22bede237a07e121b56d91a491eb7bcdfd1f5907926a9e58338f964a01b17fa::coin_bridge::Path,
|
|
790
|
+
0x1::type_info::TypeInfo>
|
|
791
|
+
- name: types
|
|
792
|
+
type: vector<0x1::type_info::TypeInfo>
|
|
793
|
+
- name: Config
|
|
794
|
+
is_native: false
|
|
795
|
+
abilities:
|
|
796
|
+
- key
|
|
797
|
+
generic_type_params: []
|
|
798
|
+
fields:
|
|
799
|
+
- name: paused_global
|
|
800
|
+
type: bool
|
|
801
|
+
- name: paused_coins
|
|
802
|
+
type: 0x1::table::Table<0x1::type_info::TypeInfo, bool>
|
|
803
|
+
- name: custom_adapter_params
|
|
804
|
+
type: bool
|
|
805
|
+
- name: EventStore
|
|
806
|
+
is_native: false
|
|
807
|
+
abilities:
|
|
808
|
+
- key
|
|
809
|
+
generic_type_params: []
|
|
810
|
+
fields:
|
|
811
|
+
- name: send_events
|
|
812
|
+
type: >-
|
|
813
|
+
0x1::event::EventHandle<0xf22bede237a07e121b56d91a491eb7bcdfd1f5907926a9e58338f964a01b17fa::coin_bridge::SendEvent>
|
|
814
|
+
- name: receive_events
|
|
815
|
+
type: >-
|
|
816
|
+
0x1::event::EventHandle<0xf22bede237a07e121b56d91a491eb7bcdfd1f5907926a9e58338f964a01b17fa::coin_bridge::ReceiveEvent>
|
|
817
|
+
- name: claim_events
|
|
818
|
+
type: >-
|
|
819
|
+
0x1::event::EventHandle<0xf22bede237a07e121b56d91a491eb7bcdfd1f5907926a9e58338f964a01b17fa::coin_bridge::ClaimEvent>
|
|
820
|
+
- name: LzCapability
|
|
821
|
+
is_native: false
|
|
822
|
+
abilities:
|
|
823
|
+
- key
|
|
824
|
+
generic_type_params: []
|
|
825
|
+
fields:
|
|
826
|
+
- name: cap
|
|
827
|
+
type: >-
|
|
828
|
+
0x54ad3d30af77b60d939ae356e6606de9a4da67583f02b962d2d3f2e481484e90::endpoint::UaCapability<0xf22bede237a07e121b56d91a491eb7bcdfd1f5907926a9e58338f964a01b17fa::coin_bridge::BridgeUA>
|
|
829
|
+
- name: Path
|
|
830
|
+
is_native: false
|
|
831
|
+
abilities:
|
|
832
|
+
- copy
|
|
833
|
+
- drop
|
|
834
|
+
generic_type_params: []
|
|
835
|
+
fields:
|
|
836
|
+
- name: remote_chain_id
|
|
837
|
+
type: u64
|
|
838
|
+
- name: remote_coin_addr
|
|
839
|
+
type: vector<u8>
|
|
840
|
+
- name: ReceiveEvent
|
|
841
|
+
is_native: false
|
|
842
|
+
abilities:
|
|
843
|
+
- drop
|
|
844
|
+
- store
|
|
845
|
+
generic_type_params: []
|
|
846
|
+
fields:
|
|
847
|
+
- name: coin_type
|
|
848
|
+
type: 0x1::type_info::TypeInfo
|
|
849
|
+
- name: src_chain_id
|
|
850
|
+
type: u64
|
|
851
|
+
- name: receiver
|
|
852
|
+
type: address
|
|
853
|
+
- name: amount_ld
|
|
854
|
+
type: u64
|
|
855
|
+
- name: stashed
|
|
856
|
+
type: bool
|
|
857
|
+
- name: RemoteCoin
|
|
858
|
+
is_native: false
|
|
859
|
+
abilities:
|
|
860
|
+
- drop
|
|
861
|
+
- store
|
|
862
|
+
generic_type_params: []
|
|
863
|
+
fields:
|
|
864
|
+
- name: remote_address
|
|
865
|
+
type: vector<u8>
|
|
866
|
+
- name: tvl_sd
|
|
867
|
+
type: u64
|
|
868
|
+
- name: unwrappable
|
|
869
|
+
type: bool
|
|
870
|
+
- name: SendEvent
|
|
871
|
+
is_native: false
|
|
872
|
+
abilities:
|
|
873
|
+
- drop
|
|
874
|
+
- store
|
|
875
|
+
generic_type_params: []
|
|
876
|
+
fields:
|
|
877
|
+
- name: coin_type
|
|
878
|
+
type: 0x1::type_info::TypeInfo
|
|
879
|
+
- name: dst_chain_id
|
|
880
|
+
type: u64
|
|
881
|
+
- name: dst_receiver
|
|
882
|
+
type: vector<u8>
|
|
883
|
+
- name: amount_ld
|
|
884
|
+
type: u64
|
|
885
|
+
- name: unwrap
|
|
886
|
+
type: bool
|
|
887
|
+
headers:
|
|
888
|
+
X-APTOS-BLOCK-HEIGHT:
|
|
889
|
+
description: Current block height of the chain
|
|
890
|
+
schema:
|
|
891
|
+
type: integer
|
|
892
|
+
required: true
|
|
893
|
+
X-APTOS-CHAIN-ID:
|
|
894
|
+
description: Chain ID of the current chain
|
|
895
|
+
schema:
|
|
896
|
+
type: integer
|
|
897
|
+
required: true
|
|
898
|
+
X-APTOS-EPOCH:
|
|
899
|
+
description: Current epoch of the chain
|
|
900
|
+
schema:
|
|
901
|
+
type: integer
|
|
902
|
+
required: true
|
|
903
|
+
X-APTOS-LEDGER-OLDEST-VERSION:
|
|
904
|
+
description: Oldest non-pruned ledger version of the chain
|
|
905
|
+
schema:
|
|
906
|
+
type: integer
|
|
907
|
+
required: true
|
|
908
|
+
X-APTOS-LEDGER-TIMESTAMPUSEC:
|
|
909
|
+
description: Current timestamp of the chain
|
|
910
|
+
schema:
|
|
911
|
+
type: integer
|
|
912
|
+
required: true
|
|
913
|
+
X-APTOS-LEDGER-VERSION:
|
|
914
|
+
description: Current ledger version of the chain
|
|
915
|
+
schema:
|
|
916
|
+
type: integer
|
|
917
|
+
required: true
|
|
918
|
+
X-APTOS-OLDEST-BLOCK-HEIGHT:
|
|
919
|
+
description: Oldest non-pruned block height of the chain
|
|
920
|
+
schema:
|
|
921
|
+
type: integer
|
|
922
|
+
required: true
|
|
923
|
+
X-APTOS-CURSOR:
|
|
924
|
+
description: Cursor for the next page
|
|
925
|
+
schema:
|
|
926
|
+
type: string
|
|
927
|
+
required: true
|
|
928
|
+
'400': *ref_2
|
|
929
|
+
/accounts/{address}/resource/{resource_type}:
|
|
930
|
+
get:
|
|
931
|
+
security:
|
|
932
|
+
- api_key: []
|
|
933
|
+
tags:
|
|
934
|
+
- Accounts
|
|
935
|
+
description: 특정 원장 버전에서 주어진 계정의 개별 리소스를 검색합니다. 원장 버전이 지정되지 않은 경우 최신 원장 버전이 사용됩니다.
|
|
936
|
+
summary: Get account resource
|
|
937
|
+
operationId: aptos_getAccountResource
|
|
938
|
+
parameters:
|
|
939
|
+
- *ref_0
|
|
940
|
+
- name: resource_type
|
|
941
|
+
in: path
|
|
942
|
+
required: true
|
|
943
|
+
schema:
|
|
944
|
+
type: string
|
|
945
|
+
pattern: ^0x[0-9a-zA-Z:_<>]+$
|
|
946
|
+
default: 0x1::account::Account
|
|
947
|
+
description: 조회하고자 하는 대상 리소스의 타입.
|
|
948
|
+
- *ref_1
|
|
949
|
+
responses:
|
|
950
|
+
'200':
|
|
951
|
+
description: Successful Response
|
|
952
|
+
content:
|
|
953
|
+
application/json:
|
|
954
|
+
schema: &ref_6
|
|
955
|
+
type: object
|
|
956
|
+
description: A resource of the account
|
|
957
|
+
required:
|
|
958
|
+
- type
|
|
959
|
+
- data
|
|
960
|
+
properties:
|
|
961
|
+
type:
|
|
962
|
+
type: string
|
|
963
|
+
description: "String representation of a MoveStructTag (on-chain Move struct type). This exists so you can specify MoveStructTags as path / query parameters, e.g. for get_events_by_event_handle.\n\t\t\n\t\tIt is a combination of:\n\t\t\n\t\t1. move_module_address, module_name and struct_name, all joined by ::\n\t\t2. struct generic type parameters joined by ,\n\t\t\n\t\tExamples:\n\t\t\n\t\t- 0x1::coin::CoinStore<0x1::aptos_coin::aptosCoin>\n\t\t- 0x1::account::Account"
|
|
964
|
+
pattern: ^0x[0-9a-zA-Z:_<>]+$
|
|
965
|
+
data:
|
|
966
|
+
type: object
|
|
967
|
+
description: >-
|
|
968
|
+
This is a JSON representation of some data within an
|
|
969
|
+
account resource. More specifically, it is a map of
|
|
970
|
+
strings to arbitrary JSON values / objects, where the keys
|
|
971
|
+
are top level fields within the given resource.
|
|
972
|
+
example:
|
|
973
|
+
type: 0x1::account::Account
|
|
974
|
+
data:
|
|
975
|
+
authentication_key: >-
|
|
976
|
+
0xca62eccbbdb22b5de18165d0bdf2d7127569b91498f0a7f6944028793cef8137
|
|
977
|
+
coin_register_events:
|
|
978
|
+
counter: '1'
|
|
979
|
+
guid:
|
|
980
|
+
id:
|
|
981
|
+
addr: >-
|
|
982
|
+
0xca62eccbbdb22b5de18165d0bdf2d7127569b91498f0a7f6944028793cef8137
|
|
983
|
+
creation_num: '0'
|
|
984
|
+
guid_creation_num: '4'
|
|
985
|
+
key_rotation_events:
|
|
986
|
+
counter: '0'
|
|
987
|
+
guid:
|
|
988
|
+
id:
|
|
989
|
+
addr: >-
|
|
990
|
+
0xca62eccbbdb22b5de18165d0bdf2d7127569b91498f0a7f6944028793cef8137
|
|
991
|
+
creation_num: '1'
|
|
992
|
+
rotation_capability_offer:
|
|
993
|
+
for:
|
|
994
|
+
vec: []
|
|
995
|
+
sequence_number: '2581041'
|
|
996
|
+
signer_capability_offer:
|
|
997
|
+
for:
|
|
998
|
+
vec: []
|
|
999
|
+
headers:
|
|
1000
|
+
X-APTOS-BLOCK-HEIGHT:
|
|
1001
|
+
description: Current block height of the chain
|
|
1002
|
+
schema:
|
|
1003
|
+
type: integer
|
|
1004
|
+
required: true
|
|
1005
|
+
X-APTOS-CHAIN-ID:
|
|
1006
|
+
description: Chain ID of the current chain
|
|
1007
|
+
schema:
|
|
1008
|
+
type: integer
|
|
1009
|
+
required: true
|
|
1010
|
+
X-APTOS-EPOCH:
|
|
1011
|
+
description: Current epoch of the chain
|
|
1012
|
+
schema:
|
|
1013
|
+
type: integer
|
|
1014
|
+
required: true
|
|
1015
|
+
X-APTOS-LEDGER-OLDEST-VERSION:
|
|
1016
|
+
description: Oldest non-pruned ledger version of the chain
|
|
1017
|
+
schema:
|
|
1018
|
+
type: integer
|
|
1019
|
+
required: true
|
|
1020
|
+
X-APTOS-LEDGER-TIMESTAMPUSEC:
|
|
1021
|
+
description: Current timestamp of the chain
|
|
1022
|
+
schema:
|
|
1023
|
+
type: integer
|
|
1024
|
+
required: true
|
|
1025
|
+
X-APTOS-LEDGER-VERSION:
|
|
1026
|
+
description: Current ledger version of the chain
|
|
1027
|
+
schema:
|
|
1028
|
+
type: integer
|
|
1029
|
+
required: true
|
|
1030
|
+
X-APTOS-OLDEST-BLOCK-HEIGHT:
|
|
1031
|
+
description: Oldest non-pruned block height of the chain
|
|
1032
|
+
schema:
|
|
1033
|
+
type: integer
|
|
1034
|
+
required: true
|
|
1035
|
+
X-APTOS-CURSOR:
|
|
1036
|
+
description: Cursor for the next page
|
|
1037
|
+
schema:
|
|
1038
|
+
type: string
|
|
1039
|
+
required: true
|
|
1040
|
+
'400': *ref_2
|
|
1041
|
+
/accounts/{address}/resources:
|
|
1042
|
+
get:
|
|
1043
|
+
security:
|
|
1044
|
+
- api_key: []
|
|
1045
|
+
tags:
|
|
1046
|
+
- Accounts
|
|
1047
|
+
description: 특정 원장 버전에서 주어진 계정의 모든 리소스를 검색합니다. 원장 버전이 지정되지 않은 경우 최신 원장 버전이 사용됩니다.
|
|
1048
|
+
summary: Get account resources
|
|
1049
|
+
operationId: aptos_getAccountResources
|
|
1050
|
+
parameters:
|
|
1051
|
+
- *ref_0
|
|
1052
|
+
- *ref_1
|
|
1053
|
+
- *ref_4
|
|
1054
|
+
- *ref_5
|
|
1055
|
+
responses:
|
|
1056
|
+
'200':
|
|
1057
|
+
description: Successful Response
|
|
1058
|
+
content:
|
|
1059
|
+
application/json:
|
|
1060
|
+
schema:
|
|
1061
|
+
type: array
|
|
1062
|
+
items: *ref_6
|
|
1063
|
+
example:
|
|
1064
|
+
- type: 0x1::account::Account
|
|
1065
|
+
data:
|
|
1066
|
+
authentication_key: >-
|
|
1067
|
+
0xf92bc956b9e25f38a2e4829b58f03ca9724233985cdda3f818bc3e62d6ed7d9c
|
|
1068
|
+
coin_register_events:
|
|
1069
|
+
counter: '1'
|
|
1070
|
+
guid:
|
|
1071
|
+
id:
|
|
1072
|
+
addr: >-
|
|
1073
|
+
0xf92bc956b9e25f38a2e4829b58f03ca9724233985cdda3f818bc3e62d6ed7d9c
|
|
1074
|
+
creation_num: '0'
|
|
1075
|
+
guid_creation_num: '4'
|
|
1076
|
+
key_rotation_events:
|
|
1077
|
+
counter: '0'
|
|
1078
|
+
guid:
|
|
1079
|
+
id:
|
|
1080
|
+
addr: >-
|
|
1081
|
+
0xf92bc956b9e25f38a2e4829b58f03ca9724233985cdda3f818bc3e62d6ed7d9c
|
|
1082
|
+
creation_num: '1'
|
|
1083
|
+
rotation_capability_offer:
|
|
1084
|
+
for:
|
|
1085
|
+
vec: []
|
|
1086
|
+
sequence_number: '1645002'
|
|
1087
|
+
signer_capability_offer:
|
|
1088
|
+
for:
|
|
1089
|
+
vec: []
|
|
1090
|
+
- type: 0x1::coin::CoinStore<0x1::aptos_coin::AptosCoin>
|
|
1091
|
+
data:
|
|
1092
|
+
coin:
|
|
1093
|
+
value: '1767711144'
|
|
1094
|
+
deposit_events:
|
|
1095
|
+
counter: '137'
|
|
1096
|
+
guid:
|
|
1097
|
+
id:
|
|
1098
|
+
addr: >-
|
|
1099
|
+
0xf92bc956b9e25f38a2e4829b58f03ca9724233985cdda3f818bc3e62d6ed7d9c
|
|
1100
|
+
creation_num: '2'
|
|
1101
|
+
frozen: false
|
|
1102
|
+
withdraw_events:
|
|
1103
|
+
counter: '13'
|
|
1104
|
+
guid:
|
|
1105
|
+
id:
|
|
1106
|
+
addr: >-
|
|
1107
|
+
0xf92bc956b9e25f38a2e4829b58f03ca9724233985cdda3f818bc3e62d6ed7d9c
|
|
1108
|
+
creation_num: '3'
|
|
1109
|
+
headers:
|
|
1110
|
+
X-APTOS-BLOCK-HEIGHT:
|
|
1111
|
+
description: Current block height of the chain
|
|
1112
|
+
schema:
|
|
1113
|
+
type: integer
|
|
1114
|
+
required: true
|
|
1115
|
+
X-APTOS-CHAIN-ID:
|
|
1116
|
+
description: Chain ID of the current chain
|
|
1117
|
+
schema:
|
|
1118
|
+
type: integer
|
|
1119
|
+
required: true
|
|
1120
|
+
X-APTOS-EPOCH:
|
|
1121
|
+
description: Current epoch of the chain
|
|
1122
|
+
schema:
|
|
1123
|
+
type: integer
|
|
1124
|
+
required: true
|
|
1125
|
+
X-APTOS-LEDGER-OLDEST-VERSION:
|
|
1126
|
+
description: Oldest non-pruned ledger version of the chain
|
|
1127
|
+
schema:
|
|
1128
|
+
type: integer
|
|
1129
|
+
required: true
|
|
1130
|
+
X-APTOS-LEDGER-TIMESTAMPUSEC:
|
|
1131
|
+
description: Current timestamp of the chain
|
|
1132
|
+
schema:
|
|
1133
|
+
type: integer
|
|
1134
|
+
required: true
|
|
1135
|
+
X-APTOS-LEDGER-VERSION:
|
|
1136
|
+
description: Current ledger version of the chain
|
|
1137
|
+
schema:
|
|
1138
|
+
type: integer
|
|
1139
|
+
required: true
|
|
1140
|
+
X-APTOS-OLDEST-BLOCK-HEIGHT:
|
|
1141
|
+
description: Oldest non-pruned block height of the chain
|
|
1142
|
+
schema:
|
|
1143
|
+
type: integer
|
|
1144
|
+
required: true
|
|
1145
|
+
X-APTOS-CURSOR:
|
|
1146
|
+
description: Cursor for the next page
|
|
1147
|
+
schema:
|
|
1148
|
+
type: string
|
|
1149
|
+
required: true
|
|
1150
|
+
'400': *ref_2
|
|
1151
|
+
/blocks/by_height/{block_height}:
|
|
1152
|
+
get:
|
|
1153
|
+
security:
|
|
1154
|
+
- api_key: []
|
|
1155
|
+
tags:
|
|
1156
|
+
- Blocks
|
|
1157
|
+
description: >-
|
|
1158
|
+
블록 번호를 이용하여 해당 블록에 대한 정보와 트랜잭션을 조회할 수 있습니다. 트랜잭션은 default 트랜잭션 사이즈로 제한이
|
|
1159
|
+
있으며 만약 모든 트랜잭션이 존재하지 않는 경우, 유저가 get Transaction API를 이용하여 나머지 트랜잭션을
|
|
1160
|
+
Query해야 합니다. 또한 block이 pruned 된 경우, 410 에러를 반환합니다.
|
|
1161
|
+
summary: Get blocks by height
|
|
1162
|
+
operationId: aptos_getBlocksByHeight
|
|
1163
|
+
parameters:
|
|
1164
|
+
- name: block_height
|
|
1165
|
+
in: path
|
|
1166
|
+
required: true
|
|
1167
|
+
schema:
|
|
1168
|
+
type: integer
|
|
1169
|
+
default: 160155267
|
|
1170
|
+
description: 조회하고자 하는 블록의 번호.
|
|
1171
|
+
- &ref_35
|
|
1172
|
+
name: with_transactions
|
|
1173
|
+
in: query
|
|
1174
|
+
required: false
|
|
1175
|
+
schema:
|
|
1176
|
+
type: boolean
|
|
1177
|
+
description: >-
|
|
1178
|
+
조회할 블록의 데이터에 트랜잭션에 대한 데이터 포함 여부를 확인하는 파라미터. true로 설정 시 해당 블록 안에 있는
|
|
1179
|
+
모든 트랜잭션에 대한 데이터를 포함합니다.
|
|
1180
|
+
responses:
|
|
1181
|
+
'200':
|
|
1182
|
+
description: Successful Response
|
|
1183
|
+
content:
|
|
1184
|
+
application/json:
|
|
1185
|
+
schema:
|
|
1186
|
+
type: array
|
|
1187
|
+
items: &ref_36
|
|
1188
|
+
type: object
|
|
1189
|
+
description: >-
|
|
1190
|
+
This contains the information about a transactions along
|
|
1191
|
+
with associated transactions if requested
|
|
1192
|
+
required:
|
|
1193
|
+
- block_height
|
|
1194
|
+
- block_hash
|
|
1195
|
+
- block_timestamp
|
|
1196
|
+
- first_version
|
|
1197
|
+
- last_version
|
|
1198
|
+
properties:
|
|
1199
|
+
block_height:
|
|
1200
|
+
type: string
|
|
1201
|
+
pattern: ^[0-9]{1,20}$
|
|
1202
|
+
description: >-
|
|
1203
|
+
The height of the block. The format is a 64-bit unsigned
|
|
1204
|
+
integer.
|
|
1205
|
+
block_hash:
|
|
1206
|
+
type: string
|
|
1207
|
+
description: The hash of the block
|
|
1208
|
+
block_timestamp:
|
|
1209
|
+
type: string
|
|
1210
|
+
pattern: ^[0-9]{1,20}$
|
|
1211
|
+
description: >-
|
|
1212
|
+
The timestamp of the block. The format is a 64-bit
|
|
1213
|
+
unsigned integer.
|
|
1214
|
+
first_version:
|
|
1215
|
+
type: string
|
|
1216
|
+
pattern: ^[0-9]{1,20}$
|
|
1217
|
+
description: >-
|
|
1218
|
+
The first version of the block. The format is a 64-bit
|
|
1219
|
+
unsigned integer.
|
|
1220
|
+
last_version:
|
|
1221
|
+
type: string
|
|
1222
|
+
pattern: ^[0-9]{1,20}$
|
|
1223
|
+
description: >-
|
|
1224
|
+
The last version of the block. The format is a 64-bit
|
|
1225
|
+
unsigned integer.
|
|
1226
|
+
transactions:
|
|
1227
|
+
type: array
|
|
1228
|
+
description: The transactions in the block.
|
|
1229
|
+
items: &ref_37
|
|
1230
|
+
type: object
|
|
1231
|
+
oneOf:
|
|
1232
|
+
- &ref_45
|
|
1233
|
+
title: Pending Transaction
|
|
1234
|
+
type: object
|
|
1235
|
+
description: A transaction
|
|
1236
|
+
required:
|
|
1237
|
+
- type
|
|
1238
|
+
- hash
|
|
1239
|
+
- sender
|
|
1240
|
+
- sequence_number
|
|
1241
|
+
- max_gas_amount
|
|
1242
|
+
- gas_unit_price
|
|
1243
|
+
- expiration_timestamp_secs
|
|
1244
|
+
- payload
|
|
1245
|
+
- signature
|
|
1246
|
+
properties:
|
|
1247
|
+
hash:
|
|
1248
|
+
type: string
|
|
1249
|
+
description: The hash of the transaction
|
|
1250
|
+
sender: &ref_17
|
|
1251
|
+
type: string
|
|
1252
|
+
description: >-
|
|
1253
|
+
The sender of the transaction. The format is a
|
|
1254
|
+
hex encoded 32 byte aptos account address.
|
|
1255
|
+
sequence_number: &ref_18
|
|
1256
|
+
type: string
|
|
1257
|
+
pattern: ^[0-9]{1,20}$
|
|
1258
|
+
description: >-
|
|
1259
|
+
The sequence number of the transaction. The
|
|
1260
|
+
format is a 64-bit unsigned integer.
|
|
1261
|
+
max_gas_amount: &ref_19
|
|
1262
|
+
type: string
|
|
1263
|
+
pattern: ^[0-9]{1,20}$
|
|
1264
|
+
description: >-
|
|
1265
|
+
The maximum gas amount of the transaction. The
|
|
1266
|
+
format is a 64-bit unsigned integer.
|
|
1267
|
+
gas_unit_price: &ref_20
|
|
1268
|
+
type: string
|
|
1269
|
+
pattern: ^[0-9]{1,20}$
|
|
1270
|
+
description: >-
|
|
1271
|
+
The gas unit price of the transaction. The
|
|
1272
|
+
format is a 64-bit unsigned integer.
|
|
1273
|
+
expiration_timestamp_secs: &ref_21
|
|
1274
|
+
type: string
|
|
1275
|
+
pattern: ^[0-9]{1,20}$
|
|
1276
|
+
description: >-
|
|
1277
|
+
The expiration timestamp of the transaction.
|
|
1278
|
+
The format is a 64-bit unsigned integer.
|
|
1279
|
+
payload: &ref_22
|
|
1280
|
+
type: object
|
|
1281
|
+
oneOf:
|
|
1282
|
+
- &ref_9
|
|
1283
|
+
title: Entry Function Payload
|
|
1284
|
+
type: object
|
|
1285
|
+
description: The payload of the entry function
|
|
1286
|
+
required:
|
|
1287
|
+
- type
|
|
1288
|
+
- function
|
|
1289
|
+
- type_arguments
|
|
1290
|
+
- arguments
|
|
1291
|
+
properties:
|
|
1292
|
+
type:
|
|
1293
|
+
type: string
|
|
1294
|
+
description: The type of the payload
|
|
1295
|
+
example: entry_function_payload
|
|
1296
|
+
function:
|
|
1297
|
+
type: string
|
|
1298
|
+
description: The function of the payload
|
|
1299
|
+
type_arguments:
|
|
1300
|
+
type: array
|
|
1301
|
+
description: The type arguments of the payload
|
|
1302
|
+
items:
|
|
1303
|
+
type: string
|
|
1304
|
+
pattern: >-
|
|
1305
|
+
^(bool|u8|u64|u128|address|signer|vector<.+>|0x[0-9a-zA-Z:_<,
|
|
1306
|
+
>]+)$
|
|
1307
|
+
arguments:
|
|
1308
|
+
type: array
|
|
1309
|
+
description: The arguments of the payload
|
|
1310
|
+
items:
|
|
1311
|
+
type: string
|
|
1312
|
+
- &ref_41
|
|
1313
|
+
title: Script Payload
|
|
1314
|
+
type: object
|
|
1315
|
+
description: The payload of the script
|
|
1316
|
+
required:
|
|
1317
|
+
- type
|
|
1318
|
+
- code
|
|
1319
|
+
properties:
|
|
1320
|
+
type:
|
|
1321
|
+
type: string
|
|
1322
|
+
description: The type of the payload
|
|
1323
|
+
example: script_payload
|
|
1324
|
+
code:
|
|
1325
|
+
type: object
|
|
1326
|
+
description: The code of the script
|
|
1327
|
+
properties:
|
|
1328
|
+
bytecode: *ref_7
|
|
1329
|
+
abi: *ref_8
|
|
1330
|
+
- &ref_39
|
|
1331
|
+
title: Module Bundle Payload
|
|
1332
|
+
type: object
|
|
1333
|
+
description: The payload of the module bundle
|
|
1334
|
+
required:
|
|
1335
|
+
- type
|
|
1336
|
+
- modules
|
|
1337
|
+
properties:
|
|
1338
|
+
type:
|
|
1339
|
+
type: string
|
|
1340
|
+
description: The type of the payload
|
|
1341
|
+
example: module_bundle_payload
|
|
1342
|
+
modules:
|
|
1343
|
+
type: array
|
|
1344
|
+
items: *ref_3
|
|
1345
|
+
- &ref_40
|
|
1346
|
+
title: Multisig Payload
|
|
1347
|
+
type: object
|
|
1348
|
+
description: The payload of the multisig
|
|
1349
|
+
required:
|
|
1350
|
+
- type
|
|
1351
|
+
- transactionPayload
|
|
1352
|
+
properties:
|
|
1353
|
+
type:
|
|
1354
|
+
type: string
|
|
1355
|
+
description: The type of the payload
|
|
1356
|
+
example: multisig_payload
|
|
1357
|
+
transactionPayload: *ref_9
|
|
1358
|
+
signature: &ref_23
|
|
1359
|
+
type: object
|
|
1360
|
+
description: The signature of the transaction
|
|
1361
|
+
oneOf:
|
|
1362
|
+
- &ref_12
|
|
1363
|
+
title: Ed25519 Signature
|
|
1364
|
+
type: object
|
|
1365
|
+
description: The Ed25519 signature
|
|
1366
|
+
required:
|
|
1367
|
+
- type
|
|
1368
|
+
- public_key
|
|
1369
|
+
- signature
|
|
1370
|
+
properties:
|
|
1371
|
+
type:
|
|
1372
|
+
type: string
|
|
1373
|
+
description: The type of the signature
|
|
1374
|
+
example: ed25519_signature
|
|
1375
|
+
public_key: &ref_10
|
|
1376
|
+
type: string
|
|
1377
|
+
description: >-
|
|
1378
|
+
All bytes (Vec) data is represented as
|
|
1379
|
+
hex-encoded string prefixed with 0x and
|
|
1380
|
+
fulfilled with two hex digits per byte.
|
|
1381
|
+
pattern: ^[0-9a-fA-F]+$
|
|
1382
|
+
signature: &ref_11
|
|
1383
|
+
type: string
|
|
1384
|
+
description: >-
|
|
1385
|
+
All bytes (Vec) data is represented as
|
|
1386
|
+
hex-encoded string prefixed with 0x and
|
|
1387
|
+
fulfilled with two hex digits per byte.
|
|
1388
|
+
pattern: ^[0-9a-fA-F]+$
|
|
1389
|
+
- &ref_13
|
|
1390
|
+
title: Multi Ed25519 Signature
|
|
1391
|
+
type: object
|
|
1392
|
+
description: A Ed25519 multi-sig signature
|
|
1393
|
+
required:
|
|
1394
|
+
- type
|
|
1395
|
+
- public_keys
|
|
1396
|
+
- signatures
|
|
1397
|
+
- threshold
|
|
1398
|
+
- bitmap
|
|
1399
|
+
properties:
|
|
1400
|
+
type:
|
|
1401
|
+
type: string
|
|
1402
|
+
description: The type of the signature
|
|
1403
|
+
example: multi_ed25519_signature
|
|
1404
|
+
public_keys:
|
|
1405
|
+
type: array
|
|
1406
|
+
description: >-
|
|
1407
|
+
The public keys for the Ed25519
|
|
1408
|
+
signature
|
|
1409
|
+
items: *ref_10
|
|
1410
|
+
signatures:
|
|
1411
|
+
type: array
|
|
1412
|
+
description: >-
|
|
1413
|
+
Signature associated with the public
|
|
1414
|
+
keys in the same order
|
|
1415
|
+
items: *ref_11
|
|
1416
|
+
threshold:
|
|
1417
|
+
type: integer
|
|
1418
|
+
description: >-
|
|
1419
|
+
The number of signatures required for a
|
|
1420
|
+
successful transaction
|
|
1421
|
+
bitmap:
|
|
1422
|
+
type: string
|
|
1423
|
+
description: >-
|
|
1424
|
+
All bytes (Vec) data is represented as
|
|
1425
|
+
hex-encoded string prefixed with 0x and
|
|
1426
|
+
fulfilled with two hex digits per byte
|
|
1427
|
+
pattern: ^[0-9a-fA-F]+$
|
|
1428
|
+
- &ref_42
|
|
1429
|
+
title: Multi Agent Signature
|
|
1430
|
+
type: object
|
|
1431
|
+
description: A multi-agent signature
|
|
1432
|
+
required:
|
|
1433
|
+
- type
|
|
1434
|
+
- signatures
|
|
1435
|
+
properties:
|
|
1436
|
+
type:
|
|
1437
|
+
type: string
|
|
1438
|
+
description: The type of the signature
|
|
1439
|
+
example: multi_agent_signature
|
|
1440
|
+
sender:
|
|
1441
|
+
type: object
|
|
1442
|
+
description: The sender's signature
|
|
1443
|
+
oneOf:
|
|
1444
|
+
- *ref_12
|
|
1445
|
+
- *ref_13
|
|
1446
|
+
- &ref_14
|
|
1447
|
+
title: Single Key Signature
|
|
1448
|
+
type: object
|
|
1449
|
+
description: A single key signature
|
|
1450
|
+
required:
|
|
1451
|
+
- type
|
|
1452
|
+
- public_key
|
|
1453
|
+
- signature
|
|
1454
|
+
properties:
|
|
1455
|
+
type:
|
|
1456
|
+
type: string
|
|
1457
|
+
description: The type of the signature
|
|
1458
|
+
example: single_key_signature
|
|
1459
|
+
public_key: *ref_10
|
|
1460
|
+
signature: *ref_11
|
|
1461
|
+
- &ref_15
|
|
1462
|
+
title: Multi Key Signature
|
|
1463
|
+
type: object
|
|
1464
|
+
description: A multi-key signature
|
|
1465
|
+
required:
|
|
1466
|
+
- type
|
|
1467
|
+
- public_keys
|
|
1468
|
+
- signatures
|
|
1469
|
+
properties:
|
|
1470
|
+
type:
|
|
1471
|
+
type: string
|
|
1472
|
+
description: The type of the signature
|
|
1473
|
+
example: multi_key_signature
|
|
1474
|
+
public_keys:
|
|
1475
|
+
type: array
|
|
1476
|
+
description: >-
|
|
1477
|
+
The public keys for the multi-key
|
|
1478
|
+
signature
|
|
1479
|
+
items: *ref_10
|
|
1480
|
+
signatures:
|
|
1481
|
+
type: array
|
|
1482
|
+
description: >-
|
|
1483
|
+
The signatures associated with the
|
|
1484
|
+
public keys
|
|
1485
|
+
items:
|
|
1486
|
+
type: object
|
|
1487
|
+
properties:
|
|
1488
|
+
index:
|
|
1489
|
+
type: integer
|
|
1490
|
+
description: The index of the public key
|
|
1491
|
+
signature: *ref_11
|
|
1492
|
+
signatures_required:
|
|
1493
|
+
type: integer
|
|
1494
|
+
description: >-
|
|
1495
|
+
The number of signatures required for a
|
|
1496
|
+
successful transaction
|
|
1497
|
+
secondary_signer_addresses:
|
|
1498
|
+
type: array
|
|
1499
|
+
description: The other involved parties' addresses
|
|
1500
|
+
items:
|
|
1501
|
+
type: string
|
|
1502
|
+
pattern: ^0[xX]?[0-9a-fA-F]{0,64}$
|
|
1503
|
+
secondary_signers: &ref_55
|
|
1504
|
+
type: array
|
|
1505
|
+
description: The other involved parties' signatures
|
|
1506
|
+
items:
|
|
1507
|
+
type: object
|
|
1508
|
+
oneOf:
|
|
1509
|
+
- *ref_12
|
|
1510
|
+
- *ref_13
|
|
1511
|
+
- *ref_14
|
|
1512
|
+
- *ref_15
|
|
1513
|
+
- &ref_43
|
|
1514
|
+
title: Fee Payer Signature
|
|
1515
|
+
type: object
|
|
1516
|
+
description: The fee payer of the transaction
|
|
1517
|
+
required:
|
|
1518
|
+
- sender
|
|
1519
|
+
- secondary_signer_addresses
|
|
1520
|
+
- secondary_signers
|
|
1521
|
+
- fee_payer_address
|
|
1522
|
+
- fee_payer_signature
|
|
1523
|
+
properties:
|
|
1524
|
+
type:
|
|
1525
|
+
type: string
|
|
1526
|
+
description: The type of the signature
|
|
1527
|
+
example: fee_payer_signature
|
|
1528
|
+
sender:
|
|
1529
|
+
type: object
|
|
1530
|
+
description: The sender's signature
|
|
1531
|
+
oneOf:
|
|
1532
|
+
- *ref_12
|
|
1533
|
+
- *ref_13
|
|
1534
|
+
- *ref_14
|
|
1535
|
+
- *ref_15
|
|
1536
|
+
secondary_signer_addresses:
|
|
1537
|
+
type: array
|
|
1538
|
+
description: The other involved parties' addresses
|
|
1539
|
+
items:
|
|
1540
|
+
type: string
|
|
1541
|
+
pattern: ^0[xX]?[0-9a-fA-F]{0,64}$
|
|
1542
|
+
secondary_signers:
|
|
1543
|
+
type: array
|
|
1544
|
+
description: The other involved parties' signatures
|
|
1545
|
+
items:
|
|
1546
|
+
type: object
|
|
1547
|
+
oneOf:
|
|
1548
|
+
- *ref_12
|
|
1549
|
+
- *ref_13
|
|
1550
|
+
- *ref_14
|
|
1551
|
+
- *ref_15
|
|
1552
|
+
fee_payer_address:
|
|
1553
|
+
type: string
|
|
1554
|
+
description: The address of the paying party
|
|
1555
|
+
pattern: ^0[xX]?[0-9a-fA-F]{0,64}$
|
|
1556
|
+
fee_payer_signature:
|
|
1557
|
+
type: object
|
|
1558
|
+
description: The signature of the fee payer
|
|
1559
|
+
oneOf:
|
|
1560
|
+
- *ref_12
|
|
1561
|
+
- *ref_13
|
|
1562
|
+
- *ref_14
|
|
1563
|
+
- *ref_15
|
|
1564
|
+
- &ref_44
|
|
1565
|
+
title: Account Signature
|
|
1566
|
+
type: object
|
|
1567
|
+
description: The signature of the transaction
|
|
1568
|
+
oneOf:
|
|
1569
|
+
- *ref_12
|
|
1570
|
+
- *ref_13
|
|
1571
|
+
- *ref_14
|
|
1572
|
+
- *ref_15
|
|
1573
|
+
- &ref_48
|
|
1574
|
+
title: User Transaction
|
|
1575
|
+
type: object
|
|
1576
|
+
description: A user transaction
|
|
1577
|
+
required:
|
|
1578
|
+
- version
|
|
1579
|
+
- hash
|
|
1580
|
+
- state_change_hash
|
|
1581
|
+
- event_root_hash
|
|
1582
|
+
- state_checkpoint_hash
|
|
1583
|
+
- gas_used
|
|
1584
|
+
- success
|
|
1585
|
+
- vm_status
|
|
1586
|
+
- accumulator_root_hash
|
|
1587
|
+
- changes
|
|
1588
|
+
- sender
|
|
1589
|
+
- sequence_number
|
|
1590
|
+
- max_gas_amount
|
|
1591
|
+
- gas_unit_price
|
|
1592
|
+
- expiration_timestamp_secs
|
|
1593
|
+
- payload
|
|
1594
|
+
- signature
|
|
1595
|
+
- events
|
|
1596
|
+
- timestamp
|
|
1597
|
+
properties:
|
|
1598
|
+
version: &ref_24
|
|
1599
|
+
type: string
|
|
1600
|
+
description: The version of the transaction
|
|
1601
|
+
hash: &ref_25
|
|
1602
|
+
type: string
|
|
1603
|
+
description: The hash of the transaction
|
|
1604
|
+
state_change_hash: &ref_26
|
|
1605
|
+
type: string
|
|
1606
|
+
description: The state change hash of the transaction
|
|
1607
|
+
event_root_hash: &ref_27
|
|
1608
|
+
type: string
|
|
1609
|
+
description: The event root hash of the transaction
|
|
1610
|
+
state_checkpoint_hash: &ref_28
|
|
1611
|
+
type: string
|
|
1612
|
+
description: The state checkpoint hash of the transaction
|
|
1613
|
+
accumulator_root_hash: &ref_29
|
|
1614
|
+
type: string
|
|
1615
|
+
description: The accumulator root hash of the transaction
|
|
1616
|
+
gas_used: &ref_30
|
|
1617
|
+
type: string
|
|
1618
|
+
pattern: ^[0-9]{1,20}$
|
|
1619
|
+
description: The gas used by the transaction
|
|
1620
|
+
success: &ref_31
|
|
1621
|
+
type: boolean
|
|
1622
|
+
description: The success of the transaction
|
|
1623
|
+
vm_status: &ref_32
|
|
1624
|
+
type: string
|
|
1625
|
+
description: >-
|
|
1626
|
+
The VM status of the transaction, can tell
|
|
1627
|
+
useful information in a failure
|
|
1628
|
+
changes: &ref_33
|
|
1629
|
+
type: array
|
|
1630
|
+
description: The changes of the transaction
|
|
1631
|
+
items:
|
|
1632
|
+
type: object
|
|
1633
|
+
properties:
|
|
1634
|
+
type:
|
|
1635
|
+
type: string
|
|
1636
|
+
description: The type of the change
|
|
1637
|
+
address: *ref_16
|
|
1638
|
+
state_key_hash:
|
|
1639
|
+
type: string
|
|
1640
|
+
description: The state key hash.
|
|
1641
|
+
module:
|
|
1642
|
+
type: string
|
|
1643
|
+
description: >-
|
|
1644
|
+
Move module id is a string
|
|
1645
|
+
representation of Move module.
|
|
1646
|
+
sender: *ref_17
|
|
1647
|
+
sequence_number: *ref_18
|
|
1648
|
+
max_gas_amount: *ref_19
|
|
1649
|
+
gas_unit_price: *ref_20
|
|
1650
|
+
expiration_timestamp_secs: *ref_21
|
|
1651
|
+
payload: *ref_22
|
|
1652
|
+
signature: *ref_23
|
|
1653
|
+
events:
|
|
1654
|
+
type: array
|
|
1655
|
+
description: The events of the transaction
|
|
1656
|
+
items: &ref_34
|
|
1657
|
+
type: object
|
|
1658
|
+
properties:
|
|
1659
|
+
guid:
|
|
1660
|
+
type: object
|
|
1661
|
+
properties:
|
|
1662
|
+
creation_number:
|
|
1663
|
+
type: string
|
|
1664
|
+
pattern: ^[0-9]{1,20}$
|
|
1665
|
+
description: The creation number of the event
|
|
1666
|
+
account_address:
|
|
1667
|
+
type: string
|
|
1668
|
+
description: The account address of the event
|
|
1669
|
+
sequenceNumber:
|
|
1670
|
+
type: string
|
|
1671
|
+
pattern: ^[0-9]{1,20}$
|
|
1672
|
+
description: The sequence number of the event
|
|
1673
|
+
type:
|
|
1674
|
+
type: string
|
|
1675
|
+
description: The type of the event
|
|
1676
|
+
data:
|
|
1677
|
+
type: object
|
|
1678
|
+
description: The data of the event
|
|
1679
|
+
timestamp:
|
|
1680
|
+
type: string
|
|
1681
|
+
pattern: ^[0-9]{1,20}$
|
|
1682
|
+
description: The timestamp of the transaction
|
|
1683
|
+
- title: Genesis Transaction
|
|
1684
|
+
type: object
|
|
1685
|
+
description: A genesis transaction
|
|
1686
|
+
required:
|
|
1687
|
+
- version
|
|
1688
|
+
- hash
|
|
1689
|
+
- state_change_hash
|
|
1690
|
+
- event_root_hash
|
|
1691
|
+
- state_checkpoint_hash
|
|
1692
|
+
- gas_used
|
|
1693
|
+
- success
|
|
1694
|
+
- vm_status
|
|
1695
|
+
- accumulator_root_hash
|
|
1696
|
+
- changes
|
|
1697
|
+
- events
|
|
1698
|
+
- payload
|
|
1699
|
+
properties:
|
|
1700
|
+
version: *ref_24
|
|
1701
|
+
hash: *ref_25
|
|
1702
|
+
state_change_hash: *ref_26
|
|
1703
|
+
event_root_hash: *ref_27
|
|
1704
|
+
state_checkpoint_hash: *ref_28
|
|
1705
|
+
accumulator_root_hash: *ref_29
|
|
1706
|
+
gas_used: *ref_30
|
|
1707
|
+
success: *ref_31
|
|
1708
|
+
vm_status: *ref_32
|
|
1709
|
+
changes: *ref_33
|
|
1710
|
+
payload:
|
|
1711
|
+
type: object
|
|
1712
|
+
description: >-
|
|
1713
|
+
A write set payload, used only for genesis
|
|
1714
|
+
transactions
|
|
1715
|
+
properties:
|
|
1716
|
+
type:
|
|
1717
|
+
type: string
|
|
1718
|
+
description: The type of the payload
|
|
1719
|
+
example: write_set_payload
|
|
1720
|
+
write_set:
|
|
1721
|
+
type: object
|
|
1722
|
+
description: The write set of the transaction
|
|
1723
|
+
events:
|
|
1724
|
+
type: array
|
|
1725
|
+
description: The events of the transaction
|
|
1726
|
+
items: *ref_34
|
|
1727
|
+
- title: Block Metadata Transaction
|
|
1728
|
+
type: object
|
|
1729
|
+
required:
|
|
1730
|
+
- version
|
|
1731
|
+
- hash
|
|
1732
|
+
- state_change_hash
|
|
1733
|
+
- event_root_hash
|
|
1734
|
+
- state_checkpoint_hash
|
|
1735
|
+
- gas_used
|
|
1736
|
+
- success
|
|
1737
|
+
- vm_status
|
|
1738
|
+
- accumulator_root_hash
|
|
1739
|
+
- changes
|
|
1740
|
+
- events
|
|
1741
|
+
- id
|
|
1742
|
+
- epoch
|
|
1743
|
+
- round
|
|
1744
|
+
- previous_block_votes_bitvec
|
|
1745
|
+
- proposer
|
|
1746
|
+
- failed_proposer_indices
|
|
1747
|
+
- timestamp
|
|
1748
|
+
properties:
|
|
1749
|
+
version: *ref_24
|
|
1750
|
+
hash: *ref_25
|
|
1751
|
+
state_change_hash: *ref_26
|
|
1752
|
+
event_root_hash: *ref_27
|
|
1753
|
+
state_checkpoint_hash: *ref_28
|
|
1754
|
+
accumulator_root_hash: *ref_29
|
|
1755
|
+
gas_used: *ref_30
|
|
1756
|
+
success: *ref_31
|
|
1757
|
+
vm_status: *ref_32
|
|
1758
|
+
changes: *ref_33
|
|
1759
|
+
id:
|
|
1760
|
+
type: string
|
|
1761
|
+
description: The ID of the transaction
|
|
1762
|
+
epoch:
|
|
1763
|
+
type: string
|
|
1764
|
+
description: The epoch of the transaction
|
|
1765
|
+
round:
|
|
1766
|
+
type: string
|
|
1767
|
+
description: The round of the transaction
|
|
1768
|
+
events:
|
|
1769
|
+
type: array
|
|
1770
|
+
description: The events of the transaction
|
|
1771
|
+
items: *ref_34
|
|
1772
|
+
previous_block_votes_bitvec:
|
|
1773
|
+
type: string
|
|
1774
|
+
description: The previous block votes bitvec
|
|
1775
|
+
proposer:
|
|
1776
|
+
type: string
|
|
1777
|
+
description: The proposer of the transaction
|
|
1778
|
+
failed_proposer_indices:
|
|
1779
|
+
type: array
|
|
1780
|
+
description: The failed proposer indices
|
|
1781
|
+
items:
|
|
1782
|
+
type: string
|
|
1783
|
+
timestamp:
|
|
1784
|
+
type: string
|
|
1785
|
+
pattern: ^[0-9]{1,20}$
|
|
1786
|
+
description: The timestamp of the transaction
|
|
1787
|
+
- title: State Checkpoint Transaction
|
|
1788
|
+
type: object
|
|
1789
|
+
required:
|
|
1790
|
+
- version
|
|
1791
|
+
- hash
|
|
1792
|
+
- state_change_hash
|
|
1793
|
+
- event_root_hash
|
|
1794
|
+
- state_checkpoint_hash
|
|
1795
|
+
- gas_used
|
|
1796
|
+
- success
|
|
1797
|
+
- vm_status
|
|
1798
|
+
- accumulator_root_hash
|
|
1799
|
+
- changes
|
|
1800
|
+
- timestamp
|
|
1801
|
+
properties:
|
|
1802
|
+
version: *ref_24
|
|
1803
|
+
hash: *ref_25
|
|
1804
|
+
state_change_hash: *ref_26
|
|
1805
|
+
event_root_hash: *ref_27
|
|
1806
|
+
state_checkpoint_hash: *ref_28
|
|
1807
|
+
accumulator_root_hash: *ref_29
|
|
1808
|
+
gas_used: *ref_30
|
|
1809
|
+
success: *ref_31
|
|
1810
|
+
vm_status: *ref_32
|
|
1811
|
+
changes: *ref_33
|
|
1812
|
+
timestamp:
|
|
1813
|
+
type: string
|
|
1814
|
+
pattern: ^[0-9]{1,20}$
|
|
1815
|
+
description: The timestamp of the transaction
|
|
1816
|
+
example:
|
|
1817
|
+
block_height: '10'
|
|
1818
|
+
block_hash: >-
|
|
1819
|
+
0xa293c4be641530ce8cd0d2a5ae6477f08a3fc3a87355f04c193902a33824c4c9
|
|
1820
|
+
block_timestamp: '1691127571455579'
|
|
1821
|
+
first_version: '18'
|
|
1822
|
+
last_version: '19'
|
|
1823
|
+
transactions:
|
|
1824
|
+
- version: '18'
|
|
1825
|
+
hash: >-
|
|
1826
|
+
0x81da650a597e3371cf0a3670c35e518c2c9ff7b36dad51a9c5327f96876b0d23
|
|
1827
|
+
state_change_hash: >-
|
|
1828
|
+
0x63a320ea3ebc5a7889ceebad624fc288419caedaf4e13a4ca036123cacb91b3c
|
|
1829
|
+
event_root_hash: >-
|
|
1830
|
+
0x8a09628022c06f7abe0ddda8c8a441ca604e1989ec75f5c93e3a7dec6bd42208
|
|
1831
|
+
state_checkpoint_hash: null
|
|
1832
|
+
gas_used: '0'
|
|
1833
|
+
success: true
|
|
1834
|
+
vm_status: Executed successfully
|
|
1835
|
+
accumulator_root_hash: >-
|
|
1836
|
+
0xaf4e9a4098d8386f447b81eb5212ac599b0fc3d05d4fc6357dafae462be09769
|
|
1837
|
+
changes:
|
|
1838
|
+
- address: '0x1'
|
|
1839
|
+
state_key_hash: >-
|
|
1840
|
+
0x5ddf404c60e96e9485beafcabb95609fed8e38e941a725cae4dcec8296fb32d7
|
|
1841
|
+
data:
|
|
1842
|
+
type: 0x1::block::BlockResource
|
|
1843
|
+
data:
|
|
1844
|
+
epoch_interval: '7200000000'
|
|
1845
|
+
height: '10'
|
|
1846
|
+
new_block_events:
|
|
1847
|
+
counter: '11'
|
|
1848
|
+
guid:
|
|
1849
|
+
id:
|
|
1850
|
+
addr: '0x1'
|
|
1851
|
+
creation_num: '3'
|
|
1852
|
+
update_epoch_interval_events:
|
|
1853
|
+
counter: '0'
|
|
1854
|
+
guid:
|
|
1855
|
+
id:
|
|
1856
|
+
addr: '0x1'
|
|
1857
|
+
creation_num: '4'
|
|
1858
|
+
type: write_resource
|
|
1859
|
+
- address: '0x1'
|
|
1860
|
+
state_key_hash: >-
|
|
1861
|
+
0x8048c954221814b04533a9f0a9946c3a8d472ac62df5accb9f47c097e256e8b6
|
|
1862
|
+
data:
|
|
1863
|
+
type: 0x1::stake::ValidatorPerformance
|
|
1864
|
+
data:
|
|
1865
|
+
validators:
|
|
1866
|
+
- failed_proposals: '0'
|
|
1867
|
+
successful_proposals: '1'
|
|
1868
|
+
- failed_proposals: '0'
|
|
1869
|
+
successful_proposals: '0'
|
|
1870
|
+
- failed_proposals: '0'
|
|
1871
|
+
successful_proposals: '0'
|
|
1872
|
+
- failed_proposals: '0'
|
|
1873
|
+
successful_proposals: '0'
|
|
1874
|
+
- failed_proposals: '0'
|
|
1875
|
+
successful_proposals: '1'
|
|
1876
|
+
- failed_proposals: '0'
|
|
1877
|
+
successful_proposals: '4'
|
|
1878
|
+
- failed_proposals: '0'
|
|
1879
|
+
successful_proposals: '1'
|
|
1880
|
+
- failed_proposals: '0'
|
|
1881
|
+
successful_proposals: '0'
|
|
1882
|
+
- failed_proposals: '0'
|
|
1883
|
+
successful_proposals: '0'
|
|
1884
|
+
- failed_proposals: '0'
|
|
1885
|
+
successful_proposals: '1'
|
|
1886
|
+
type: write_resource
|
|
1887
|
+
- address: '0x1'
|
|
1888
|
+
state_key_hash: >-
|
|
1889
|
+
0x7b1615bf012d3c94223f3f76287ee2f7bdf31d364071128b256aeff0841b626d
|
|
1890
|
+
data:
|
|
1891
|
+
type: 0x1::timestamp::CurrentTimeMicroseconds
|
|
1892
|
+
data:
|
|
1893
|
+
microseconds: '1691127571455579'
|
|
1894
|
+
type: write_resource
|
|
1895
|
+
id: >-
|
|
1896
|
+
0xa293c4be641530ce8cd0d2a5ae6477f08a3fc3a87355f04c193902a33824c4c9
|
|
1897
|
+
epoch: '2'
|
|
1898
|
+
round: '8'
|
|
1899
|
+
events:
|
|
1900
|
+
- guid:
|
|
1901
|
+
creation_number: '3'
|
|
1902
|
+
account_address: '0x1'
|
|
1903
|
+
sequence_number: '10'
|
|
1904
|
+
type: 0x1::block::NewBlockEvent
|
|
1905
|
+
data:
|
|
1906
|
+
epoch: '2'
|
|
1907
|
+
failed_proposer_indices: []
|
|
1908
|
+
hash: >-
|
|
1909
|
+
0xa293c4be641530ce8cd0d2a5ae6477f08a3fc3a87355f04c193902a33824c4c9
|
|
1910
|
+
height: '10'
|
|
1911
|
+
previous_block_votes_bitvec: '0xdf00'
|
|
1912
|
+
proposer: >-
|
|
1913
|
+
0x5e7cb7e08f2395a8f4149e57d1b947c2ca11e9a22edb3094217f574ef88f0370
|
|
1914
|
+
round: '8'
|
|
1915
|
+
time_microseconds: '1691127571455579'
|
|
1916
|
+
previous_block_votes_bitvec:
|
|
1917
|
+
- 223
|
|
1918
|
+
- 0
|
|
1919
|
+
proposer: >-
|
|
1920
|
+
0x5e7cb7e08f2395a8f4149e57d1b947c2ca11e9a22edb3094217f574ef88f0370
|
|
1921
|
+
failed_proposer_indices: []
|
|
1922
|
+
timestamp: '1691127571455579'
|
|
1923
|
+
type: block_metadata_transaction
|
|
1924
|
+
- version: '19'
|
|
1925
|
+
hash: >-
|
|
1926
|
+
0x2e2ed54f2bc9765bc7e90b78789fe9a0c4680b637834403348bc86c972a53f6f
|
|
1927
|
+
state_change_hash: >-
|
|
1928
|
+
0xafb6e14fe47d850fd0a7395bcfb997ffacf4715e0f895cc162c218e4a7564bc6
|
|
1929
|
+
event_root_hash: >-
|
|
1930
|
+
0x414343554d554c41544f525f504c414345484f4c4445525f4841534800000000
|
|
1931
|
+
state_checkpoint_hash: >-
|
|
1932
|
+
0x06fbf413008c50ec80907937467c6cffe91459fdda671061faad054b2236a5cb
|
|
1933
|
+
gas_used: '0'
|
|
1934
|
+
success: true
|
|
1935
|
+
vm_status: Executed successfully
|
|
1936
|
+
accumulator_root_hash: >-
|
|
1937
|
+
0x4bc9062b6893a6b221755c525ddd76245c042854bc8835202eec5bd58b390b39
|
|
1938
|
+
changes: []
|
|
1939
|
+
timestamp: '1691127571455579'
|
|
1940
|
+
type: state_checkpoint_transaction
|
|
1941
|
+
headers:
|
|
1942
|
+
X-APTOS-BLOCK-HEIGHT:
|
|
1943
|
+
description: Current block height of the chain
|
|
1944
|
+
schema:
|
|
1945
|
+
type: integer
|
|
1946
|
+
required: true
|
|
1947
|
+
X-APTOS-CHAIN-ID:
|
|
1948
|
+
description: Chain ID of the current chain
|
|
1949
|
+
schema:
|
|
1950
|
+
type: integer
|
|
1951
|
+
required: true
|
|
1952
|
+
X-APTOS-EPOCH:
|
|
1953
|
+
description: Current epoch of the chain
|
|
1954
|
+
schema:
|
|
1955
|
+
type: integer
|
|
1956
|
+
required: true
|
|
1957
|
+
X-APTOS-LEDGER-OLDEST-VERSION:
|
|
1958
|
+
description: Oldest non-pruned ledger version of the chain
|
|
1959
|
+
schema:
|
|
1960
|
+
type: integer
|
|
1961
|
+
required: true
|
|
1962
|
+
X-APTOS-LEDGER-TIMESTAMPUSEC:
|
|
1963
|
+
description: Current timestamp of the chain
|
|
1964
|
+
schema:
|
|
1965
|
+
type: integer
|
|
1966
|
+
required: true
|
|
1967
|
+
X-APTOS-LEDGER-VERSION:
|
|
1968
|
+
description: Current ledger version of the chain
|
|
1969
|
+
schema:
|
|
1970
|
+
type: integer
|
|
1971
|
+
required: true
|
|
1972
|
+
X-APTOS-OLDEST-BLOCK-HEIGHT:
|
|
1973
|
+
description: Oldest non-pruned block height of the chain
|
|
1974
|
+
schema:
|
|
1975
|
+
type: integer
|
|
1976
|
+
required: true
|
|
1977
|
+
X-APTOS-CURSOR:
|
|
1978
|
+
description: Cursor for the next page
|
|
1979
|
+
schema:
|
|
1980
|
+
type: string
|
|
1981
|
+
required: true
|
|
1982
|
+
'400': *ref_2
|
|
1983
|
+
/blocks/by_version/{version}:
|
|
1984
|
+
get:
|
|
1985
|
+
security:
|
|
1986
|
+
- api_key: []
|
|
1987
|
+
tags:
|
|
1988
|
+
- Blocks
|
|
1989
|
+
description: >-
|
|
1990
|
+
블록 번호를 이용하여 해당 블록에 대한 정보와 트랜잭션을 조회할 수 있습니다. 트랜잭션은 default 트랜잭션 사이즈로 제한이
|
|
1991
|
+
있으며 만약 모든 트랜잭션이 존재하지 않는 경우, 유저가 get Transaction API를 이용하여 나머지 트랜잭션을
|
|
1992
|
+
Query해야 합니다. 또한 block이 pruned 된 경우, 410 에러를 반환합니다.
|
|
1993
|
+
summary: Get blocks by version
|
|
1994
|
+
operationId: aptos_getBlocksByVersion
|
|
1995
|
+
parameters:
|
|
1996
|
+
- name: version
|
|
1997
|
+
in: path
|
|
1998
|
+
required: true
|
|
1999
|
+
schema:
|
|
2000
|
+
type: integer
|
|
2001
|
+
default: 514117590
|
|
2002
|
+
description: 조회하고자 하는 버전의 정보.
|
|
2003
|
+
- *ref_35
|
|
2004
|
+
responses:
|
|
2005
|
+
'200':
|
|
2006
|
+
description: Successful Response
|
|
2007
|
+
content:
|
|
2008
|
+
application/json:
|
|
2009
|
+
schema:
|
|
2010
|
+
type: array
|
|
2011
|
+
items: *ref_36
|
|
2012
|
+
example:
|
|
2013
|
+
block_height: '6822'
|
|
2014
|
+
block_hash: >-
|
|
2015
|
+
0x8a027c6d2309855986fb640a695df04d04111f6878a0cc62d1c930b497f9d2e2
|
|
2016
|
+
block_timestamp: '1691128978271362'
|
|
2017
|
+
first_version: '99999'
|
|
2018
|
+
last_version: '100000'
|
|
2019
|
+
transactions:
|
|
2020
|
+
- version: '99999'
|
|
2021
|
+
hash: >-
|
|
2022
|
+
0xa79a3351f9ae0c137c76b0fb2ca90125e4dfca12b0529fe7816cfa3632220f3c
|
|
2023
|
+
state_change_hash: >-
|
|
2024
|
+
0x01dea2ac99bf061e5d7fe5f9dc6afd17be21ee7d68581e949ea0f09941e80d0e
|
|
2025
|
+
event_root_hash: >-
|
|
2026
|
+
0x6f5d5be307db47693793fe1601b3cc1489372579d9a28813deba44ab7a8f2d11
|
|
2027
|
+
state_checkpoint_hash: null
|
|
2028
|
+
gas_used: '0'
|
|
2029
|
+
success: true
|
|
2030
|
+
vm_status: Executed successfully
|
|
2031
|
+
accumulator_root_hash: >-
|
|
2032
|
+
0xe279724a8874089ca27a4b83715e2f4dec0afbe9394a4e2685bf73f22b846246
|
|
2033
|
+
changes:
|
|
2034
|
+
- address: '0x1'
|
|
2035
|
+
state_key_hash: >-
|
|
2036
|
+
0x5ddf404c60e96e9485beafcabb95609fed8e38e941a725cae4dcec8296fb32d7
|
|
2037
|
+
data:
|
|
2038
|
+
type: 0x1::block::BlockResource
|
|
2039
|
+
data:
|
|
2040
|
+
epoch_interval: '7200000000'
|
|
2041
|
+
height: '6822'
|
|
2042
|
+
new_block_events:
|
|
2043
|
+
counter: '6823'
|
|
2044
|
+
guid:
|
|
2045
|
+
id:
|
|
2046
|
+
addr: '0x1'
|
|
2047
|
+
creation_num: '3'
|
|
2048
|
+
update_epoch_interval_events:
|
|
2049
|
+
counter: '0'
|
|
2050
|
+
guid:
|
|
2051
|
+
id:
|
|
2052
|
+
addr: '0x1'
|
|
2053
|
+
creation_num: '4'
|
|
2054
|
+
type: write_resource
|
|
2055
|
+
- address: '0x1'
|
|
2056
|
+
state_key_hash: >-
|
|
2057
|
+
0x8048c954221814b04533a9f0a9946c3a8d472ac62df5accb9f47c097e256e8b6
|
|
2058
|
+
data:
|
|
2059
|
+
type: 0x1::stake::ValidatorPerformance
|
|
2060
|
+
data:
|
|
2061
|
+
validators:
|
|
2062
|
+
- failed_proposals: '0'
|
|
2063
|
+
successful_proposals: '704'
|
|
2064
|
+
- failed_proposals: '0'
|
|
2065
|
+
successful_proposals: '674'
|
|
2066
|
+
- failed_proposals: '0'
|
|
2067
|
+
successful_proposals: '712'
|
|
2068
|
+
- failed_proposals: '0'
|
|
2069
|
+
successful_proposals: '704'
|
|
2070
|
+
- failed_proposals: '0'
|
|
2071
|
+
successful_proposals: '715'
|
|
2072
|
+
- failed_proposals: '0'
|
|
2073
|
+
successful_proposals: '691'
|
|
2074
|
+
- failed_proposals: '4'
|
|
2075
|
+
successful_proposals: '636'
|
|
2076
|
+
- failed_proposals: '0'
|
|
2077
|
+
successful_proposals: '659'
|
|
2078
|
+
- failed_proposals: '0'
|
|
2079
|
+
successful_proposals: '686'
|
|
2080
|
+
- failed_proposals: '0'
|
|
2081
|
+
successful_proposals: '639'
|
|
2082
|
+
type: write_resource
|
|
2083
|
+
- address: '0x1'
|
|
2084
|
+
state_key_hash: >-
|
|
2085
|
+
0x7b1615bf012d3c94223f3f76287ee2f7bdf31d364071128b256aeff0841b626d
|
|
2086
|
+
data:
|
|
2087
|
+
type: 0x1::timestamp::CurrentTimeMicroseconds
|
|
2088
|
+
data:
|
|
2089
|
+
microseconds: '1691128978271362'
|
|
2090
|
+
type: write_resource
|
|
2091
|
+
id: >-
|
|
2092
|
+
0x8a027c6d2309855986fb640a695df04d04111f6878a0cc62d1c930b497f9d2e2
|
|
2093
|
+
epoch: '2'
|
|
2094
|
+
round: '6824'
|
|
2095
|
+
events:
|
|
2096
|
+
- guid:
|
|
2097
|
+
creation_number: '3'
|
|
2098
|
+
account_address: '0x1'
|
|
2099
|
+
sequence_number: '6822'
|
|
2100
|
+
type: 0x1::block::NewBlockEvent
|
|
2101
|
+
data:
|
|
2102
|
+
epoch: '2'
|
|
2103
|
+
failed_proposer_indices: []
|
|
2104
|
+
hash: >-
|
|
2105
|
+
0x8a027c6d2309855986fb640a695df04d04111f6878a0cc62d1c930b497f9d2e2
|
|
2106
|
+
height: '6822'
|
|
2107
|
+
previous_block_votes_bitvec: '0x6bc0'
|
|
2108
|
+
proposer: >-
|
|
2109
|
+
0x5e7cb7e08f2395a8f4149e57d1b947c2ca11e9a22edb3094217f574ef88f0370
|
|
2110
|
+
round: '6824'
|
|
2111
|
+
time_microseconds: '1691128978271362'
|
|
2112
|
+
previous_block_votes_bitvec:
|
|
2113
|
+
- 107
|
|
2114
|
+
- 192
|
|
2115
|
+
proposer: >-
|
|
2116
|
+
0x5e7cb7e08f2395a8f4149e57d1b947c2ca11e9a22edb3094217f574ef88f0370
|
|
2117
|
+
failed_proposer_indices: []
|
|
2118
|
+
timestamp: '1691128978271362'
|
|
2119
|
+
type: block_metadata_transaction
|
|
2120
|
+
- version: '100000'
|
|
2121
|
+
hash: >-
|
|
2122
|
+
0xb142bec4f0af9657a3979a478f7db675d4693d854bac29d63b9aabe769d53809
|
|
2123
|
+
state_change_hash: >-
|
|
2124
|
+
0xafb6e14fe47d850fd0a7395bcfb997ffacf4715e0f895cc162c218e4a7564bc6
|
|
2125
|
+
event_root_hash: >-
|
|
2126
|
+
0x414343554d554c41544f525f504c414345484f4c4445525f4841534800000000
|
|
2127
|
+
state_checkpoint_hash: >-
|
|
2128
|
+
0xbea2415fb3cc5e47fa2f54c0f95c5755df9292dba35351fe514beae7842ba987
|
|
2129
|
+
gas_used: '0'
|
|
2130
|
+
success: true
|
|
2131
|
+
vm_status: Executed successfully
|
|
2132
|
+
accumulator_root_hash: >-
|
|
2133
|
+
0x89ce7726214f761f62c61dd860370b8675380a506fcd287e73fbe1f2c05a1ca9
|
|
2134
|
+
changes: []
|
|
2135
|
+
timestamp: '1691128978271362'
|
|
2136
|
+
type: state_checkpoint_transaction
|
|
2137
|
+
headers:
|
|
2138
|
+
X-APTOS-BLOCK-HEIGHT:
|
|
2139
|
+
description: Current block height of the chain
|
|
2140
|
+
schema:
|
|
2141
|
+
type: integer
|
|
2142
|
+
required: true
|
|
2143
|
+
X-APTOS-CHAIN-ID:
|
|
2144
|
+
description: Chain ID of the current chain
|
|
2145
|
+
schema:
|
|
2146
|
+
type: integer
|
|
2147
|
+
required: true
|
|
2148
|
+
X-APTOS-EPOCH:
|
|
2149
|
+
description: Current epoch of the chain
|
|
2150
|
+
schema:
|
|
2151
|
+
type: integer
|
|
2152
|
+
required: true
|
|
2153
|
+
X-APTOS-LEDGER-OLDEST-VERSION:
|
|
2154
|
+
description: Oldest non-pruned ledger version of the chain
|
|
2155
|
+
schema:
|
|
2156
|
+
type: integer
|
|
2157
|
+
required: true
|
|
2158
|
+
X-APTOS-LEDGER-TIMESTAMPUSEC:
|
|
2159
|
+
description: Current timestamp of the chain
|
|
2160
|
+
schema:
|
|
2161
|
+
type: integer
|
|
2162
|
+
required: true
|
|
2163
|
+
X-APTOS-LEDGER-VERSION:
|
|
2164
|
+
description: Current ledger version of the chain
|
|
2165
|
+
schema:
|
|
2166
|
+
type: integer
|
|
2167
|
+
required: true
|
|
2168
|
+
X-APTOS-OLDEST-BLOCK-HEIGHT:
|
|
2169
|
+
description: Oldest non-pruned block height of the chain
|
|
2170
|
+
schema:
|
|
2171
|
+
type: integer
|
|
2172
|
+
required: true
|
|
2173
|
+
X-APTOS-CURSOR:
|
|
2174
|
+
description: Cursor for the next page
|
|
2175
|
+
schema:
|
|
2176
|
+
type: string
|
|
2177
|
+
required: true
|
|
2178
|
+
'400': *ref_2
|
|
2179
|
+
/accounts/{address}/events/{creation_number}:
|
|
2180
|
+
get:
|
|
2181
|
+
security:
|
|
2182
|
+
- api_key: []
|
|
2183
|
+
tags:
|
|
2184
|
+
- Events
|
|
2185
|
+
description: address와 creation_number를 이용해 특정 이벤트를 반환합니다.
|
|
2186
|
+
summary: Get events by creation number
|
|
2187
|
+
operationId: aptos_getEventsByCreationNumber
|
|
2188
|
+
parameters:
|
|
2189
|
+
- *ref_0
|
|
2190
|
+
- name: creation_number
|
|
2191
|
+
in: path
|
|
2192
|
+
required: true
|
|
2193
|
+
schema:
|
|
2194
|
+
type: integer
|
|
2195
|
+
default: 2
|
|
2196
|
+
description: 지정된 계정에서 발생한 이벤트 스트림 생성 번호. 주어진 계정에서 이벤트 유형 한 개당 1씩 증가한다.
|
|
2197
|
+
- *ref_4
|
|
2198
|
+
- *ref_5
|
|
2199
|
+
responses:
|
|
2200
|
+
'200':
|
|
2201
|
+
description: Successful Response
|
|
2202
|
+
content:
|
|
2203
|
+
application/json:
|
|
2204
|
+
schema:
|
|
2205
|
+
type: array
|
|
2206
|
+
items: *ref_34
|
|
2207
|
+
example:
|
|
2208
|
+
- version: '218787635'
|
|
2209
|
+
guid:
|
|
2210
|
+
creation_number: '18'
|
|
2211
|
+
account_address: >-
|
|
2212
|
+
0x979e9463b315e84e13b2971d6420641d611a92ab79ce78a87131e0c3e8191135
|
|
2213
|
+
sequence_number: '0'
|
|
2214
|
+
type: 0x1::coin::WithdrawEvent
|
|
2215
|
+
data:
|
|
2216
|
+
amount: '10000'
|
|
2217
|
+
- version: '219460266'
|
|
2218
|
+
guid:
|
|
2219
|
+
creation_number: '18'
|
|
2220
|
+
account_address: >-
|
|
2221
|
+
0x979e9463b315e84e13b2971d6420641d611a92ab79ce78a87131e0c3e8191135
|
|
2222
|
+
sequence_number: '1'
|
|
2223
|
+
type: 0x1::coin::WithdrawEvent
|
|
2224
|
+
data:
|
|
2225
|
+
amount: '10000'
|
|
2226
|
+
- version: '221037533'
|
|
2227
|
+
guid:
|
|
2228
|
+
creation_number: '18'
|
|
2229
|
+
account_address: >-
|
|
2230
|
+
0x979e9463b315e84e13b2971d6420641d611a92ab79ce78a87131e0c3e8191135
|
|
2231
|
+
sequence_number: '2'
|
|
2232
|
+
type: 0x1::coin::WithdrawEvent
|
|
2233
|
+
data:
|
|
2234
|
+
amount: '10000'
|
|
2235
|
+
- version: '221366107'
|
|
2236
|
+
guid:
|
|
2237
|
+
creation_number: '18'
|
|
2238
|
+
account_address: >-
|
|
2239
|
+
0x979e9463b315e84e13b2971d6420641d611a92ab79ce78a87131e0c3e8191135
|
|
2240
|
+
sequence_number: '3'
|
|
2241
|
+
type: 0x1::coin::WithdrawEvent
|
|
2242
|
+
data:
|
|
2243
|
+
amount: '10000'
|
|
2244
|
+
- version: '222318308'
|
|
2245
|
+
guid:
|
|
2246
|
+
creation_number: '18'
|
|
2247
|
+
account_address: >-
|
|
2248
|
+
0x979e9463b315e84e13b2971d6420641d611a92ab79ce78a87131e0c3e8191135
|
|
2249
|
+
sequence_number: '4'
|
|
2250
|
+
type: 0x1::coin::WithdrawEvent
|
|
2251
|
+
data:
|
|
2252
|
+
amount: '10000'
|
|
2253
|
+
- version: '223085311'
|
|
2254
|
+
guid:
|
|
2255
|
+
creation_number: '18'
|
|
2256
|
+
account_address: >-
|
|
2257
|
+
0x979e9463b315e84e13b2971d6420641d611a92ab79ce78a87131e0c3e8191135
|
|
2258
|
+
sequence_number: '5'
|
|
2259
|
+
type: 0x1::coin::WithdrawEvent
|
|
2260
|
+
data:
|
|
2261
|
+
amount: '10000'
|
|
2262
|
+
- version: '223495386'
|
|
2263
|
+
guid:
|
|
2264
|
+
creation_number: '18'
|
|
2265
|
+
account_address: >-
|
|
2266
|
+
0x979e9463b315e84e13b2971d6420641d611a92ab79ce78a87131e0c3e8191135
|
|
2267
|
+
sequence_number: '6'
|
|
2268
|
+
type: 0x1::coin::WithdrawEvent
|
|
2269
|
+
data:
|
|
2270
|
+
amount: '10000'
|
|
2271
|
+
headers:
|
|
2272
|
+
X-APTOS-BLOCK-HEIGHT:
|
|
2273
|
+
description: Current block height of the chain
|
|
2274
|
+
schema:
|
|
2275
|
+
type: integer
|
|
2276
|
+
required: true
|
|
2277
|
+
X-APTOS-CHAIN-ID:
|
|
2278
|
+
description: Chain ID of the current chain
|
|
2279
|
+
schema:
|
|
2280
|
+
type: integer
|
|
2281
|
+
required: true
|
|
2282
|
+
X-APTOS-EPOCH:
|
|
2283
|
+
description: Current epoch of the chain
|
|
2284
|
+
schema:
|
|
2285
|
+
type: integer
|
|
2286
|
+
required: true
|
|
2287
|
+
X-APTOS-LEDGER-OLDEST-VERSION:
|
|
2288
|
+
description: Oldest non-pruned ledger version of the chain
|
|
2289
|
+
schema:
|
|
2290
|
+
type: integer
|
|
2291
|
+
required: true
|
|
2292
|
+
X-APTOS-LEDGER-TIMESTAMPUSEC:
|
|
2293
|
+
description: Current timestamp of the chain
|
|
2294
|
+
schema:
|
|
2295
|
+
type: integer
|
|
2296
|
+
required: true
|
|
2297
|
+
X-APTOS-LEDGER-VERSION:
|
|
2298
|
+
description: Current ledger version of the chain
|
|
2299
|
+
schema:
|
|
2300
|
+
type: integer
|
|
2301
|
+
required: true
|
|
2302
|
+
X-APTOS-OLDEST-BLOCK-HEIGHT:
|
|
2303
|
+
description: Oldest non-pruned block height of the chain
|
|
2304
|
+
schema:
|
|
2305
|
+
type: integer
|
|
2306
|
+
required: true
|
|
2307
|
+
X-APTOS-CURSOR:
|
|
2308
|
+
description: Cursor for the next page
|
|
2309
|
+
schema:
|
|
2310
|
+
type: string
|
|
2311
|
+
required: true
|
|
2312
|
+
'400': *ref_2
|
|
2313
|
+
/accounts/{address}/events/{event_handle}/{field_name}:
|
|
2314
|
+
get:
|
|
2315
|
+
security:
|
|
2316
|
+
- api_key: []
|
|
2317
|
+
tags:
|
|
2318
|
+
- Events
|
|
2319
|
+
description: address와 creation_number를 이용해 특정 이벤트를 반환합니다.
|
|
2320
|
+
summary: Get events by event handle
|
|
2321
|
+
operationId: aptos_getEventsByEventHandle
|
|
2322
|
+
parameters:
|
|
2323
|
+
- *ref_0
|
|
2324
|
+
- name: event_handle
|
|
2325
|
+
in: path
|
|
2326
|
+
required: true
|
|
2327
|
+
schema:
|
|
2328
|
+
type: string
|
|
2329
|
+
default: 0x1::account::Account
|
|
2330
|
+
pattern: ^0x[0-9a-zA-Z:_<>]+$
|
|
2331
|
+
description: 특정 event handle을 조회하기 위한 event handle struct의 이름
|
|
2332
|
+
- name: field_name
|
|
2333
|
+
in: path
|
|
2334
|
+
required: true
|
|
2335
|
+
schema:
|
|
2336
|
+
type: string
|
|
2337
|
+
default: coin_register_events
|
|
2338
|
+
description: 조회할 event를 특정하기 위한 event_handle 내의 field 이름
|
|
2339
|
+
- *ref_4
|
|
2340
|
+
- *ref_5
|
|
2341
|
+
responses:
|
|
2342
|
+
'200':
|
|
2343
|
+
description: Successful Response
|
|
2344
|
+
content:
|
|
2345
|
+
application/json:
|
|
2346
|
+
schema:
|
|
2347
|
+
type: array
|
|
2348
|
+
items: *ref_34
|
|
2349
|
+
example:
|
|
2350
|
+
- version: '221901708'
|
|
2351
|
+
guid:
|
|
2352
|
+
creation_number: '0'
|
|
2353
|
+
account_address: >-
|
|
2354
|
+
0xacca9ab2d7e46a4ecc3171ab7d86306a6189311142c4ece077bd50327c34e5f6
|
|
2355
|
+
sequence_number: '0'
|
|
2356
|
+
type: 0x1::account::CoinRegisterEvent
|
|
2357
|
+
data:
|
|
2358
|
+
type_info:
|
|
2359
|
+
account_address: '0x1'
|
|
2360
|
+
module_name: '0x6170746f735f636f696e'
|
|
2361
|
+
struct_name: '0x4170746f73436f696e'
|
|
2362
|
+
- version: '223495356'
|
|
2363
|
+
guid:
|
|
2364
|
+
creation_number: '0'
|
|
2365
|
+
account_address: >-
|
|
2366
|
+
0xacca9ab2d7e46a4ecc3171ab7d86306a6189311142c4ece077bd50327c34e5f6
|
|
2367
|
+
sequence_number: '1'
|
|
2368
|
+
type: 0x1::account::CoinRegisterEvent
|
|
2369
|
+
data:
|
|
2370
|
+
type_info:
|
|
2371
|
+
account_address: >-
|
|
2372
|
+
0x4def3d3dee27308886f0a3611dd161ce34f977a9a5de4e80b237225923492a2a
|
|
2373
|
+
module_name: '0x636f696e'
|
|
2374
|
+
struct_name: '0x54'
|
|
2375
|
+
headers:
|
|
2376
|
+
X-APTOS-BLOCK-HEIGHT:
|
|
2377
|
+
description: Current block height of the chain
|
|
2378
|
+
schema:
|
|
2379
|
+
type: integer
|
|
2380
|
+
required: true
|
|
2381
|
+
X-APTOS-CHAIN-ID:
|
|
2382
|
+
description: Chain ID of the current chain
|
|
2383
|
+
schema:
|
|
2384
|
+
type: integer
|
|
2385
|
+
required: true
|
|
2386
|
+
X-APTOS-EPOCH:
|
|
2387
|
+
description: Current epoch of the chain
|
|
2388
|
+
schema:
|
|
2389
|
+
type: integer
|
|
2390
|
+
required: true
|
|
2391
|
+
X-APTOS-LEDGER-OLDEST-VERSION:
|
|
2392
|
+
description: Oldest non-pruned ledger version of the chain
|
|
2393
|
+
schema:
|
|
2394
|
+
type: integer
|
|
2395
|
+
required: true
|
|
2396
|
+
X-APTOS-LEDGER-TIMESTAMPUSEC:
|
|
2397
|
+
description: Current timestamp of the chain
|
|
2398
|
+
schema:
|
|
2399
|
+
type: integer
|
|
2400
|
+
required: true
|
|
2401
|
+
X-APTOS-LEDGER-VERSION:
|
|
2402
|
+
description: Current ledger version of the chain
|
|
2403
|
+
schema:
|
|
2404
|
+
type: integer
|
|
2405
|
+
required: true
|
|
2406
|
+
X-APTOS-OLDEST-BLOCK-HEIGHT:
|
|
2407
|
+
description: Oldest non-pruned block height of the chain
|
|
2408
|
+
schema:
|
|
2409
|
+
type: integer
|
|
2410
|
+
required: true
|
|
2411
|
+
X-APTOS-CURSOR:
|
|
2412
|
+
description: Cursor for the next page
|
|
2413
|
+
schema:
|
|
2414
|
+
type: string
|
|
2415
|
+
required: true
|
|
2416
|
+
'400': *ref_2
|
|
2417
|
+
/:
|
|
2418
|
+
get:
|
|
2419
|
+
security:
|
|
2420
|
+
- api_key: []
|
|
2421
|
+
tags:
|
|
2422
|
+
- General
|
|
2423
|
+
description: 최신 렛저 정보를 가져옵니다. 체인 ID, 역할 유형, 렛저 버전, 에포크 등의 데이터를 포함합니다.
|
|
2424
|
+
summary: Get ledger info
|
|
2425
|
+
operationId: aptos_getLedgerInfo
|
|
2426
|
+
parameters: []
|
|
2427
|
+
responses:
|
|
2428
|
+
'200':
|
|
2429
|
+
description: Successful Response
|
|
2430
|
+
content:
|
|
2431
|
+
application/json:
|
|
2432
|
+
schema:
|
|
2433
|
+
type: object
|
|
2434
|
+
properties:
|
|
2435
|
+
chainId:
|
|
2436
|
+
type: integer
|
|
2437
|
+
description: Chain ID of the current chain
|
|
2438
|
+
epoch:
|
|
2439
|
+
type: string
|
|
2440
|
+
description: The epoch
|
|
2441
|
+
pattern: ^[0-9]{1,20}$
|
|
2442
|
+
ledgerVersion:
|
|
2443
|
+
type: string
|
|
2444
|
+
description: The ledger version
|
|
2445
|
+
pattern: ^[0-9]{1,20}$
|
|
2446
|
+
oldestLedgerVersion:
|
|
2447
|
+
type: string
|
|
2448
|
+
description: The oldest ledger version
|
|
2449
|
+
pattern: ^[0-9]{1,20}$
|
|
2450
|
+
ledgerTimestamp:
|
|
2451
|
+
type: string
|
|
2452
|
+
description: The ledger timestamp
|
|
2453
|
+
pattern: ^[0-9]{1,20}$
|
|
2454
|
+
nodeRole:
|
|
2455
|
+
type: string
|
|
2456
|
+
description: The node role
|
|
2457
|
+
enum:
|
|
2458
|
+
- full_node
|
|
2459
|
+
- validator
|
|
2460
|
+
oldestBlockHeight:
|
|
2461
|
+
type: string
|
|
2462
|
+
description: The oldest block height
|
|
2463
|
+
pattern: ^[0-9]{1,20}$
|
|
2464
|
+
blockHeight:
|
|
2465
|
+
type: string
|
|
2466
|
+
description: The block height
|
|
2467
|
+
pattern: ^[0-9]{1,20}$
|
|
2468
|
+
gitHash:
|
|
2469
|
+
type: string
|
|
2470
|
+
description: >-
|
|
2471
|
+
Git hash of the build of the API endpoint. Can be used to
|
|
2472
|
+
determine the exact software version used by the API
|
|
2473
|
+
endpoint.
|
|
2474
|
+
example:
|
|
2475
|
+
chain_id: 1
|
|
2476
|
+
epoch: '3671'
|
|
2477
|
+
ledger_version: '223505345'
|
|
2478
|
+
oldest_ledger_version: '0'
|
|
2479
|
+
ledger_timestamp: '1691977290941952'
|
|
2480
|
+
node_role: full_node
|
|
2481
|
+
oldest_block_height: '0'
|
|
2482
|
+
block_height: '80602020'
|
|
2483
|
+
git_hash: ebfec6c8296848d00b69cc7bfa284d820a3c3566
|
|
2484
|
+
headers:
|
|
2485
|
+
X-APTOS-BLOCK-HEIGHT:
|
|
2486
|
+
description: Current block height of the chain
|
|
2487
|
+
schema:
|
|
2488
|
+
type: integer
|
|
2489
|
+
required: true
|
|
2490
|
+
X-APTOS-CHAIN-ID:
|
|
2491
|
+
description: Chain ID of the current chain
|
|
2492
|
+
schema:
|
|
2493
|
+
type: integer
|
|
2494
|
+
required: true
|
|
2495
|
+
X-APTOS-EPOCH:
|
|
2496
|
+
description: Current epoch of the chain
|
|
2497
|
+
schema:
|
|
2498
|
+
type: integer
|
|
2499
|
+
required: true
|
|
2500
|
+
X-APTOS-LEDGER-OLDEST-VERSION:
|
|
2501
|
+
description: Oldest non-pruned ledger version of the chain
|
|
2502
|
+
schema:
|
|
2503
|
+
type: integer
|
|
2504
|
+
required: true
|
|
2505
|
+
X-APTOS-LEDGER-TIMESTAMPUSEC:
|
|
2506
|
+
description: Current timestamp of the chain
|
|
2507
|
+
schema:
|
|
2508
|
+
type: integer
|
|
2509
|
+
required: true
|
|
2510
|
+
X-APTOS-LEDGER-VERSION:
|
|
2511
|
+
description: Current ledger version of the chain
|
|
2512
|
+
schema:
|
|
2513
|
+
type: integer
|
|
2514
|
+
required: true
|
|
2515
|
+
X-APTOS-OLDEST-BLOCK-HEIGHT:
|
|
2516
|
+
description: Oldest non-pruned block height of the chain
|
|
2517
|
+
schema:
|
|
2518
|
+
type: integer
|
|
2519
|
+
required: true
|
|
2520
|
+
X-APTOS-CURSOR:
|
|
2521
|
+
description: Cursor for the next page
|
|
2522
|
+
schema:
|
|
2523
|
+
type: string
|
|
2524
|
+
required: true
|
|
2525
|
+
'400': *ref_2
|
|
2526
|
+
//tables/{table_handle}/item:
|
|
2527
|
+
post:
|
|
2528
|
+
security:
|
|
2529
|
+
- api_key: []
|
|
2530
|
+
tags:
|
|
2531
|
+
- Tables
|
|
2532
|
+
description: >-
|
|
2533
|
+
특정 ledger version에서의 table Item을 가져옵니다. table_handle과 key를 이용해 특정 table
|
|
2534
|
+
item을 식별할 수 있습니다.
|
|
2535
|
+
summary: Get table item
|
|
2536
|
+
operationId: aptos_getTableItem
|
|
2537
|
+
parameters:
|
|
2538
|
+
- name: table_handle
|
|
2539
|
+
in: path
|
|
2540
|
+
required: true
|
|
2541
|
+
schema:
|
|
2542
|
+
type: string
|
|
2543
|
+
pattern: ^0[xX][0-9a-fA-F]{64}|^[0-9a-fA-F]{64}
|
|
2544
|
+
default: '0x1e64d63a81616548755034b8de56a5019892567d14ec551703c665e1a062c9b7'
|
|
2545
|
+
description: 테이블이 저장된 위치를 가리키는 포인터 값.
|
|
2546
|
+
- *ref_1
|
|
2547
|
+
requestBody:
|
|
2548
|
+
required: true
|
|
2549
|
+
content:
|
|
2550
|
+
application/json:
|
|
2551
|
+
schema:
|
|
2552
|
+
additionalProperties: false
|
|
2553
|
+
allOf:
|
|
2554
|
+
- type: object
|
|
2555
|
+
required:
|
|
2556
|
+
- key_type
|
|
2557
|
+
- value_type
|
|
2558
|
+
- key
|
|
2559
|
+
properties:
|
|
2560
|
+
key_type:
|
|
2561
|
+
type: string
|
|
2562
|
+
description: >-
|
|
2563
|
+
Move 코드에서 테이블은 특정 식별자로 데이터를 저장하는 방법입니다. key와 value로 구성되어
|
|
2564
|
+
있으며 key_type은 트랜잭션 페이로드에서 노출되는 테이블의 key의 type을 특정합니다.
|
|
2565
|
+
pattern: >-
|
|
2566
|
+
^(bool|u8|u64|u128|address|signer|vector<.+>|0x[0-9a-zA-Z:_<,
|
|
2567
|
+
>]+)$
|
|
2568
|
+
default: 0x1::string::String
|
|
2569
|
+
value_type:
|
|
2570
|
+
type: string
|
|
2571
|
+
description: >-
|
|
2572
|
+
Move 코드에서 테이블은 특정 식별자로 데이터를 저장하는 방법입니다. key와 value로 구성되어
|
|
2573
|
+
있으며 value_type은 트랜잭션 페이로드에서 노출되는 테이블의 value의 type을
|
|
2574
|
+
특정합니다.
|
|
2575
|
+
pattern: >-
|
|
2576
|
+
^(bool|u8|u64|u128|address|signer|vector<.+>|0x[0-9a-zA-Z:_<,
|
|
2577
|
+
>]+)$
|
|
2578
|
+
default: >-
|
|
2579
|
+
0x48271d39d0b05bd6efca2278f22277d6fcc375504f9839fd73f74ace240861af::weighted_pool::WeightedPoolInfo
|
|
2580
|
+
key:
|
|
2581
|
+
type: string
|
|
2582
|
+
description: >-
|
|
2583
|
+
table의 item을 특정하는 값. Table_handle과 이 값을 이용하여 특정 table 내
|
|
2584
|
+
item을 식별할 수 있습니다.
|
|
2585
|
+
default: >-
|
|
2586
|
+
0x48271d39d0b05bd6efca2278f22277d6fcc375504f9839fd73f74ace240861af::weighted_pool::WeightedPoolToken<0xf22bede237a07e121b56d91a491eb7bcdfd1f5907926a9e58338f964a01b17fa::asset::USDT,
|
|
2587
|
+
0x1::aptos_coin::aptosCoin,
|
|
2588
|
+
0x48271d39d0b05bd6efca2278f22277d6fcc375504f9839fd73f74ace240861af::base_pool::Null,
|
|
2589
|
+
0x48271d39d0b05bd6efca2278f22277d6fcc375504f9839fd73f74ace240861af::base_pool::Null,
|
|
2590
|
+
0x48271d39d0b05bd6efca2278f22277d6fcc375504f9839fd73f74ace240861af::weighted_pool::Weight_50,
|
|
2591
|
+
0x48271d39d0b05bd6efca2278f22277d6fcc375504f9839fd73f74ace240861af::weighted_pool::Weight_50,
|
|
2592
|
+
0x48271d39d0b05bd6efca2278f22277d6fcc375504f9839fd73f74ace240861af::base_pool::Null,
|
|
2593
|
+
0x48271d39d0b05bd6efca2278f22277d6fcc375504f9839fd73f74ace240861af::base_pool::Null>
|
|
2594
|
+
responses:
|
|
2595
|
+
'200':
|
|
2596
|
+
description: Successful Response
|
|
2597
|
+
content:
|
|
2598
|
+
application/json:
|
|
2599
|
+
schema:
|
|
2600
|
+
type: string
|
|
2601
|
+
format: json
|
|
2602
|
+
description: value_type에 따라 반환되는 데이터의 형식이 달라집니다.
|
|
2603
|
+
example:
|
|
2604
|
+
balances:
|
|
2605
|
+
- '250422369'
|
|
2606
|
+
- '1569051465'
|
|
2607
|
+
lp_coin_supply: '597753070'
|
|
2608
|
+
weights:
|
|
2609
|
+
- '50'
|
|
2610
|
+
- '50'
|
|
2611
|
+
headers:
|
|
2612
|
+
X-APTOS-BLOCK-HEIGHT:
|
|
2613
|
+
description: Current block height of the chain
|
|
2614
|
+
schema:
|
|
2615
|
+
type: integer
|
|
2616
|
+
required: true
|
|
2617
|
+
X-APTOS-CHAIN-ID:
|
|
2618
|
+
description: Chain ID of the current chain
|
|
2619
|
+
schema:
|
|
2620
|
+
type: integer
|
|
2621
|
+
required: true
|
|
2622
|
+
X-APTOS-EPOCH:
|
|
2623
|
+
description: Current epoch of the chain
|
|
2624
|
+
schema:
|
|
2625
|
+
type: integer
|
|
2626
|
+
required: true
|
|
2627
|
+
X-APTOS-LEDGER-OLDEST-VERSION:
|
|
2628
|
+
description: Oldest non-pruned ledger version of the chain
|
|
2629
|
+
schema:
|
|
2630
|
+
type: integer
|
|
2631
|
+
required: true
|
|
2632
|
+
X-APTOS-LEDGER-TIMESTAMPUSEC:
|
|
2633
|
+
description: Current timestamp of the chain
|
|
2634
|
+
schema:
|
|
2635
|
+
type: integer
|
|
2636
|
+
required: true
|
|
2637
|
+
X-APTOS-LEDGER-VERSION:
|
|
2638
|
+
description: Current ledger version of the chain
|
|
2639
|
+
schema:
|
|
2640
|
+
type: integer
|
|
2641
|
+
required: true
|
|
2642
|
+
X-APTOS-OLDEST-BLOCK-HEIGHT:
|
|
2643
|
+
description: Oldest non-pruned block height of the chain
|
|
2644
|
+
schema:
|
|
2645
|
+
type: integer
|
|
2646
|
+
required: true
|
|
2647
|
+
X-APTOS-CURSOR:
|
|
2648
|
+
description: Cursor for the next page
|
|
2649
|
+
schema:
|
|
2650
|
+
type: string
|
|
2651
|
+
required: true
|
|
2652
|
+
'400': *ref_2
|
|
2653
|
+
//tables/{table_handle}/raw_item:
|
|
2654
|
+
post:
|
|
2655
|
+
security:
|
|
2656
|
+
- api_key: []
|
|
2657
|
+
tags:
|
|
2658
|
+
- Tables
|
|
2659
|
+
description: >-
|
|
2660
|
+
특정 ledger version에서의 table Item을 가져옵니다. table_handle과 key를 이용해 특정 table
|
|
2661
|
+
item을 식별할 수 있습니다.
|
|
2662
|
+
summary: Get raw table item
|
|
2663
|
+
operationId: aptos_getRawTableItem
|
|
2664
|
+
parameters:
|
|
2665
|
+
- &ref_38
|
|
2666
|
+
in: header
|
|
2667
|
+
name: accept
|
|
2668
|
+
required: true
|
|
2669
|
+
description: >-
|
|
2670
|
+
클라이언트가 수신할 수 있는 컨텐츠 유형, application/x-bcs 이 입력되어 있어야 API가 정상적으로
|
|
2671
|
+
동작합니다.
|
|
2672
|
+
schema:
|
|
2673
|
+
type: string
|
|
2674
|
+
default: application/x-bcs
|
|
2675
|
+
- name: table_handle
|
|
2676
|
+
in: path
|
|
2677
|
+
required: true
|
|
2678
|
+
schema:
|
|
2679
|
+
type: string
|
|
2680
|
+
pattern: ^0[xX][0-9a-fA-F]{64}|^[0-9a-fA-F]{64}
|
|
2681
|
+
default: '0x1b854694ae746cdbd8d44186ca4929b2b337df21d1c74633be19b2710552fdca'
|
|
2682
|
+
description: 테이블이 저장된 위치를 가리키는 포인터 값.
|
|
2683
|
+
- *ref_1
|
|
2684
|
+
requestBody:
|
|
2685
|
+
required: true
|
|
2686
|
+
content:
|
|
2687
|
+
application/json:
|
|
2688
|
+
schema:
|
|
2689
|
+
additionalProperties: false
|
|
2690
|
+
allOf:
|
|
2691
|
+
- type: object
|
|
2692
|
+
required:
|
|
2693
|
+
- key
|
|
2694
|
+
properties:
|
|
2695
|
+
key:
|
|
2696
|
+
type: string
|
|
2697
|
+
description: >-
|
|
2698
|
+
table의 item을 특정하는 값. Table_handle과 이 값을 이용하여 특정 table 내
|
|
2699
|
+
item을 식별할 수 있습니다.
|
|
2700
|
+
default: >-
|
|
2701
|
+
0x0619dc29a0aac8fa146714058e8dd6d2d0f3bdf5f6331907bf91f3acd81e6935
|
|
2702
|
+
responses:
|
|
2703
|
+
'200':
|
|
2704
|
+
description: Successful Response
|
|
2705
|
+
content:
|
|
2706
|
+
application/json:
|
|
2707
|
+
schema:
|
|
2708
|
+
type: string
|
|
2709
|
+
format: json
|
|
2710
|
+
description: value_type에 따라 반환되는 데이터의 형식이 달라집니다.
|
|
2711
|
+
example: '0'
|
|
2712
|
+
headers:
|
|
2713
|
+
X-APTOS-BLOCK-HEIGHT:
|
|
2714
|
+
description: Current block height of the chain
|
|
2715
|
+
schema:
|
|
2716
|
+
type: integer
|
|
2717
|
+
required: true
|
|
2718
|
+
X-APTOS-CHAIN-ID:
|
|
2719
|
+
description: Chain ID of the current chain
|
|
2720
|
+
schema:
|
|
2721
|
+
type: integer
|
|
2722
|
+
required: true
|
|
2723
|
+
X-APTOS-EPOCH:
|
|
2724
|
+
description: Current epoch of the chain
|
|
2725
|
+
schema:
|
|
2726
|
+
type: integer
|
|
2727
|
+
required: true
|
|
2728
|
+
X-APTOS-LEDGER-OLDEST-VERSION:
|
|
2729
|
+
description: Oldest non-pruned ledger version of the chain
|
|
2730
|
+
schema:
|
|
2731
|
+
type: integer
|
|
2732
|
+
required: true
|
|
2733
|
+
X-APTOS-LEDGER-TIMESTAMPUSEC:
|
|
2734
|
+
description: Current timestamp of the chain
|
|
2735
|
+
schema:
|
|
2736
|
+
type: integer
|
|
2737
|
+
required: true
|
|
2738
|
+
X-APTOS-LEDGER-VERSION:
|
|
2739
|
+
description: Current ledger version of the chain
|
|
2740
|
+
schema:
|
|
2741
|
+
type: integer
|
|
2742
|
+
required: true
|
|
2743
|
+
X-APTOS-OLDEST-BLOCK-HEIGHT:
|
|
2744
|
+
description: Oldest non-pruned block height of the chain
|
|
2745
|
+
schema:
|
|
2746
|
+
type: integer
|
|
2747
|
+
required: true
|
|
2748
|
+
X-APTOS-CURSOR:
|
|
2749
|
+
description: Cursor for the next page
|
|
2750
|
+
schema:
|
|
2751
|
+
type: string
|
|
2752
|
+
required: true
|
|
2753
|
+
'400': *ref_2
|
|
2754
|
+
/transactions:
|
|
2755
|
+
get:
|
|
2756
|
+
security:
|
|
2757
|
+
- api_key: []
|
|
2758
|
+
tags:
|
|
2759
|
+
- Transactions
|
|
2760
|
+
description: >-
|
|
2761
|
+
온체인에 commit된 트랜잭션을 반환합니다. 특정 트랜잭션이 필요한 경우, limit과 start를 이용하여 설정할 수 있으며
|
|
2762
|
+
version이 pruned된 경우, 410에러가 반환됩니다. 만약 Pending 중인 트랜잭션을 조회하고 싶은 경우,
|
|
2763
|
+
/transaction/by_hash 를 이용하여 조회할 수 있습니다.
|
|
2764
|
+
summary: Get transactions
|
|
2765
|
+
operationId: aptos_getTransactions
|
|
2766
|
+
parameters:
|
|
2767
|
+
- *ref_4
|
|
2768
|
+
- *ref_5
|
|
2769
|
+
responses:
|
|
2770
|
+
'200':
|
|
2771
|
+
description: Successful Response
|
|
2772
|
+
content:
|
|
2773
|
+
application/json:
|
|
2774
|
+
schema:
|
|
2775
|
+
type: array
|
|
2776
|
+
items: *ref_37
|
|
2777
|
+
example:
|
|
2778
|
+
- version: '223509841'
|
|
2779
|
+
hash: >-
|
|
2780
|
+
0x67c6d8698c3f41dc4fee191668301b753b57f8c4f2368c4795ee28ef1f283b81
|
|
2781
|
+
state_change_hash: >-
|
|
2782
|
+
0xafb6e14fe47d850fd0a7395bcfb997ffacf4715e0f895cc162c218e4a7564bc6
|
|
2783
|
+
event_root_hash: >-
|
|
2784
|
+
0x414343554d554c41544f525f504c414345484f4c4445525f4841534800000000
|
|
2785
|
+
state_checkpoint_hash: >-
|
|
2786
|
+
0x4bbcd8d72e714d2e019f669e119d73169f7d378950ba34b27900fb9199cc73ec
|
|
2787
|
+
gas_used: '0'
|
|
2788
|
+
success: true
|
|
2789
|
+
vm_status: Executed successfully
|
|
2790
|
+
accumulator_root_hash: >-
|
|
2791
|
+
0x5232557c436793e73468483a5488d0d3825b08792050ef06e3a03dfb002d2b40
|
|
2792
|
+
changes: []
|
|
2793
|
+
timestamp: '1691977636550021'
|
|
2794
|
+
type: state_checkpoint_transaction
|
|
2795
|
+
headers:
|
|
2796
|
+
X-APTOS-BLOCK-HEIGHT:
|
|
2797
|
+
description: Current block height of the chain
|
|
2798
|
+
schema:
|
|
2799
|
+
type: integer
|
|
2800
|
+
required: true
|
|
2801
|
+
X-APTOS-CHAIN-ID:
|
|
2802
|
+
description: Chain ID of the current chain
|
|
2803
|
+
schema:
|
|
2804
|
+
type: integer
|
|
2805
|
+
required: true
|
|
2806
|
+
X-APTOS-EPOCH:
|
|
2807
|
+
description: Current epoch of the chain
|
|
2808
|
+
schema:
|
|
2809
|
+
type: integer
|
|
2810
|
+
required: true
|
|
2811
|
+
X-APTOS-LEDGER-OLDEST-VERSION:
|
|
2812
|
+
description: Oldest non-pruned ledger version of the chain
|
|
2813
|
+
schema:
|
|
2814
|
+
type: integer
|
|
2815
|
+
required: true
|
|
2816
|
+
X-APTOS-LEDGER-TIMESTAMPUSEC:
|
|
2817
|
+
description: Current timestamp of the chain
|
|
2818
|
+
schema:
|
|
2819
|
+
type: integer
|
|
2820
|
+
required: true
|
|
2821
|
+
X-APTOS-LEDGER-VERSION:
|
|
2822
|
+
description: Current ledger version of the chain
|
|
2823
|
+
schema:
|
|
2824
|
+
type: integer
|
|
2825
|
+
required: true
|
|
2826
|
+
X-APTOS-OLDEST-BLOCK-HEIGHT:
|
|
2827
|
+
description: Oldest non-pruned block height of the chain
|
|
2828
|
+
schema:
|
|
2829
|
+
type: integer
|
|
2830
|
+
required: true
|
|
2831
|
+
X-APTOS-CURSOR:
|
|
2832
|
+
description: Cursor for the next page
|
|
2833
|
+
schema:
|
|
2834
|
+
type: string
|
|
2835
|
+
required: true
|
|
2836
|
+
'400': *ref_2
|
|
2837
|
+
post:
|
|
2838
|
+
security:
|
|
2839
|
+
- api_key: []
|
|
2840
|
+
tags:
|
|
2841
|
+
- Transactions
|
|
2842
|
+
description: 트랜잭션을 실행하기 위해 서명된 트랜잭션을 Submit 합니다. JSON/BCS 두 가지 종류의 format을 지원합니다.
|
|
2843
|
+
summary: Submit transaction
|
|
2844
|
+
operationId: aptos_submitTransaction
|
|
2845
|
+
parameters:
|
|
2846
|
+
- *ref_38
|
|
2847
|
+
requestBody:
|
|
2848
|
+
required: true
|
|
2849
|
+
content:
|
|
2850
|
+
application/json:
|
|
2851
|
+
schema:
|
|
2852
|
+
additionalProperties: false
|
|
2853
|
+
allOf:
|
|
2854
|
+
- &ref_46
|
|
2855
|
+
title: Transaction
|
|
2856
|
+
type: object
|
|
2857
|
+
required:
|
|
2858
|
+
- sender
|
|
2859
|
+
- sequence_number
|
|
2860
|
+
- max_gas_amount
|
|
2861
|
+
- gas_unit_price
|
|
2862
|
+
- expiration_timestamp_secs
|
|
2863
|
+
- payload
|
|
2864
|
+
- signature
|
|
2865
|
+
properties:
|
|
2866
|
+
sender: &ref_49
|
|
2867
|
+
type: string
|
|
2868
|
+
description: 트랜잭션을 발생시킨 계정의 주소.
|
|
2869
|
+
pattern: ^0[xX]?[0-9a-fA-F]{0,64}$
|
|
2870
|
+
default: '0x1234567890abcdef'
|
|
2871
|
+
sequence_number: &ref_50
|
|
2872
|
+
type: string
|
|
2873
|
+
pattern: ^[0-9]{1,20}$
|
|
2874
|
+
description: 트랜잭션 발생 순서.
|
|
2875
|
+
default: '1234567890'
|
|
2876
|
+
max_gas_amount: &ref_51
|
|
2877
|
+
type: string
|
|
2878
|
+
pattern: ^[0-9]{1,20}$
|
|
2879
|
+
description: 트랜잭션 발생 시 사용할 최대 gas 양.
|
|
2880
|
+
default: '1000000'
|
|
2881
|
+
gas_unit_price: &ref_52
|
|
2882
|
+
type: string
|
|
2883
|
+
pattern: ^[0-9]{1,20}$
|
|
2884
|
+
description: 트랜잭션 발생 시 사용할 gas의 가격.
|
|
2885
|
+
default: '1'
|
|
2886
|
+
expiration_timestamp_secs: &ref_53
|
|
2887
|
+
type: string
|
|
2888
|
+
pattern: ^[0-9]{1,20}$
|
|
2889
|
+
description: 트랜잭션 발생 시 사용할 gas의 가격.
|
|
2890
|
+
default: '1634567890'
|
|
2891
|
+
payload: &ref_54
|
|
2892
|
+
type: object
|
|
2893
|
+
description: 트랜잭션 발생 시 사용할 gas의 가격.
|
|
2894
|
+
oneOf:
|
|
2895
|
+
- *ref_9
|
|
2896
|
+
- *ref_39
|
|
2897
|
+
- *ref_40
|
|
2898
|
+
- *ref_41
|
|
2899
|
+
default:
|
|
2900
|
+
entryFunction:
|
|
2901
|
+
module_address: '0x1234567890abcdef'
|
|
2902
|
+
module_name: moduleName
|
|
2903
|
+
function_name: functionName
|
|
2904
|
+
type_arguments:
|
|
2905
|
+
- 0x1::Type::Argument
|
|
2906
|
+
arguments:
|
|
2907
|
+
- arg1
|
|
2908
|
+
- arg2
|
|
2909
|
+
signature:
|
|
2910
|
+
type: object
|
|
2911
|
+
description: 트랜잭션 발생 시 사용할 gas의 가격.
|
|
2912
|
+
oneOf:
|
|
2913
|
+
- *ref_12
|
|
2914
|
+
- *ref_13
|
|
2915
|
+
- *ref_42
|
|
2916
|
+
- *ref_43
|
|
2917
|
+
- *ref_44
|
|
2918
|
+
default:
|
|
2919
|
+
ed25519:
|
|
2920
|
+
public_key: '0x1234567890abcdef'
|
|
2921
|
+
signature: '0x1234567890abcdef'
|
|
2922
|
+
responses:
|
|
2923
|
+
'200':
|
|
2924
|
+
description: Successful Response
|
|
2925
|
+
content:
|
|
2926
|
+
application/json:
|
|
2927
|
+
schema: *ref_45
|
|
2928
|
+
example:
|
|
2929
|
+
hash: string
|
|
2930
|
+
sender: >-
|
|
2931
|
+
0x88fbd33f54e1126269769780feb24480428179f552e2313fbe571b72e62a1ca1
|
|
2932
|
+
sequence_number: '32425224034'
|
|
2933
|
+
max_gas_amount: '32425224034'
|
|
2934
|
+
gas_unit_price: '32425224034'
|
|
2935
|
+
expiration_timestamp_secs: '32425224034'
|
|
2936
|
+
payload:
|
|
2937
|
+
type: entry_function_payload
|
|
2938
|
+
function: 0x1::aptos_coin::transfer
|
|
2939
|
+
type_arguments:
|
|
2940
|
+
- string
|
|
2941
|
+
arguments:
|
|
2942
|
+
- null
|
|
2943
|
+
signature:
|
|
2944
|
+
type: ed25519_signature
|
|
2945
|
+
public_key: >-
|
|
2946
|
+
0x88fbd33f54e1126269769780feb24480428179f552e2313fbe571b72e62a1ca1
|
|
2947
|
+
signature: >-
|
|
2948
|
+
0x88fbd33f54e1126269769780feb24480428179f552e2313fbe571b72e62a1ca1
|
|
2949
|
+
headers:
|
|
2950
|
+
X-APTOS-BLOCK-HEIGHT:
|
|
2951
|
+
description: Current block height of the chain
|
|
2952
|
+
schema:
|
|
2953
|
+
type: integer
|
|
2954
|
+
required: true
|
|
2955
|
+
X-APTOS-CHAIN-ID:
|
|
2956
|
+
description: Chain ID of the current chain
|
|
2957
|
+
schema:
|
|
2958
|
+
type: integer
|
|
2959
|
+
required: true
|
|
2960
|
+
X-APTOS-EPOCH:
|
|
2961
|
+
description: Current epoch of the chain
|
|
2962
|
+
schema:
|
|
2963
|
+
type: integer
|
|
2964
|
+
required: true
|
|
2965
|
+
X-APTOS-LEDGER-OLDEST-VERSION:
|
|
2966
|
+
description: Oldest non-pruned ledger version of the chain
|
|
2967
|
+
schema:
|
|
2968
|
+
type: integer
|
|
2969
|
+
required: true
|
|
2970
|
+
X-APTOS-LEDGER-TIMESTAMPUSEC:
|
|
2971
|
+
description: Current timestamp of the chain
|
|
2972
|
+
schema:
|
|
2973
|
+
type: integer
|
|
2974
|
+
required: true
|
|
2975
|
+
X-APTOS-LEDGER-VERSION:
|
|
2976
|
+
description: Current ledger version of the chain
|
|
2977
|
+
schema:
|
|
2978
|
+
type: integer
|
|
2979
|
+
required: true
|
|
2980
|
+
X-APTOS-OLDEST-BLOCK-HEIGHT:
|
|
2981
|
+
description: Oldest non-pruned block height of the chain
|
|
2982
|
+
schema:
|
|
2983
|
+
type: integer
|
|
2984
|
+
required: true
|
|
2985
|
+
X-APTOS-CURSOR:
|
|
2986
|
+
description: Cursor for the next page
|
|
2987
|
+
schema:
|
|
2988
|
+
type: string
|
|
2989
|
+
required: true
|
|
2990
|
+
'400': *ref_2
|
|
2991
|
+
/transactions/by_hash/{txn_hash}:
|
|
2992
|
+
get:
|
|
2993
|
+
security:
|
|
2994
|
+
- api_key: []
|
|
2995
|
+
tags:
|
|
2996
|
+
- Transactions
|
|
2997
|
+
description: >-
|
|
2998
|
+
트랜잭션 해시를 이용해 특정 트랜잭션 데이터를 반환합니다. Hash가 주어지면 서버에서는 Storage(on-chain,
|
|
2999
|
+
committed)에서 트랜잭션을 우선 조회하며 on-chain에서 발견되지 않으면 mempool에서 조회합니다.
|
|
3000
|
+
summary: Get transaction by hash
|
|
3001
|
+
operationId: aptos_getTransactionByHash
|
|
3002
|
+
parameters:
|
|
3003
|
+
- &ref_56
|
|
3004
|
+
name: txn_hash
|
|
3005
|
+
in: path
|
|
3006
|
+
required: true
|
|
3007
|
+
schema:
|
|
3008
|
+
type: string
|
|
3009
|
+
pattern: ^0[xX][0-9a-fA-F]{64}
|
|
3010
|
+
default: '0xf9a029e3221f9df86e5542f7f649e4acbfb3680423b218c91cdd895f6b62ab6b'
|
|
3011
|
+
description: 조회하고자 하는 트랜잭션의 해시 값.
|
|
3012
|
+
responses:
|
|
3013
|
+
'200':
|
|
3014
|
+
description: Successful Response
|
|
3015
|
+
content:
|
|
3016
|
+
application/json:
|
|
3017
|
+
schema: *ref_37
|
|
3018
|
+
example:
|
|
3019
|
+
version: '223495386'
|
|
3020
|
+
hash: >-
|
|
3021
|
+
0x82f114cf3fdfb918e2cf8a32acaabb4e7ae17c8b2191617db9d43c2566047b09
|
|
3022
|
+
state_change_hash: >-
|
|
3023
|
+
0xa75252efd0e2b19ddd7b283392f953e6d6bba7f0148969aea5fd38b74c1b9d59
|
|
3024
|
+
event_root_hash: >-
|
|
3025
|
+
0xb899f7ce227123bafd67dd572d55b645a5a87139caa552da1bf6d16624f4d345
|
|
3026
|
+
state_checkpoint_hash: null
|
|
3027
|
+
gas_used: '14'
|
|
3028
|
+
success: true
|
|
3029
|
+
vm_status: Executed successfully
|
|
3030
|
+
accumulator_root_hash: >-
|
|
3031
|
+
0xbcdfaecf62f88705e2ca1ac039c376fbfd11fb7988f1b2169be1aa72ae54ebf7
|
|
3032
|
+
changes:
|
|
3033
|
+
- address: >-
|
|
3034
|
+
0x979e9463b315e84e13b2971d6420641d611a92ab79ce78a87131e0c3e8191135
|
|
3035
|
+
state_key_hash: >-
|
|
3036
|
+
0x11f15e4e7cf157decaa2da253ca03c060167f2559a4dee56fe5c7b5a759cf4e4
|
|
3037
|
+
data:
|
|
3038
|
+
type: 0x1::coin::CoinStore<0x1::aptos_coin::AptosCoin>
|
|
3039
|
+
data:
|
|
3040
|
+
coin:
|
|
3041
|
+
value: '31198769'
|
|
3042
|
+
deposit_events:
|
|
3043
|
+
counter: '8'
|
|
3044
|
+
guid:
|
|
3045
|
+
id:
|
|
3046
|
+
addr: >-
|
|
3047
|
+
0x979e9463b315e84e13b2971d6420641d611a92ab79ce78a87131e0c3e8191135
|
|
3048
|
+
creation_num: '2'
|
|
3049
|
+
frozen: false
|
|
3050
|
+
withdraw_events:
|
|
3051
|
+
counter: '8'
|
|
3052
|
+
guid:
|
|
3053
|
+
id:
|
|
3054
|
+
addr: >-
|
|
3055
|
+
0x979e9463b315e84e13b2971d6420641d611a92ab79ce78a87131e0c3e8191135
|
|
3056
|
+
creation_num: '3'
|
|
3057
|
+
type: write_resource
|
|
3058
|
+
- address: >-
|
|
3059
|
+
0x979e9463b315e84e13b2971d6420641d611a92ab79ce78a87131e0c3e8191135
|
|
3060
|
+
state_key_hash: >-
|
|
3061
|
+
0xefbc62a42d9cdbca367169ba49db782aae4ebbf6e93660890b7d68b30ff025c8
|
|
3062
|
+
data:
|
|
3063
|
+
type: >-
|
|
3064
|
+
0x1::coin::CoinStore<0xf22bede237a07e121b56d91a491eb7bcdfd1f5907926a9e58338f964a01b17fa::asset::USDC>
|
|
3065
|
+
data:
|
|
3066
|
+
coin:
|
|
3067
|
+
value: '430413'
|
|
3068
|
+
deposit_events:
|
|
3069
|
+
counter: '7'
|
|
3070
|
+
guid:
|
|
3071
|
+
id:
|
|
3072
|
+
addr: >-
|
|
3073
|
+
0x979e9463b315e84e13b2971d6420641d611a92ab79ce78a87131e0c3e8191135
|
|
3074
|
+
creation_num: '17'
|
|
3075
|
+
frozen: false
|
|
3076
|
+
withdraw_events:
|
|
3077
|
+
counter: '7'
|
|
3078
|
+
guid:
|
|
3079
|
+
id:
|
|
3080
|
+
addr: >-
|
|
3081
|
+
0x979e9463b315e84e13b2971d6420641d611a92ab79ce78a87131e0c3e8191135
|
|
3082
|
+
creation_num: '18'
|
|
3083
|
+
type: write_resource
|
|
3084
|
+
- address: >-
|
|
3085
|
+
0x979e9463b315e84e13b2971d6420641d611a92ab79ce78a87131e0c3e8191135
|
|
3086
|
+
state_key_hash: >-
|
|
3087
|
+
0x0f76c6835c8468fad4e967c334b41dab9883e070ba15174338702f2a7fedd88f
|
|
3088
|
+
data:
|
|
3089
|
+
type: 0x1::account::Account
|
|
3090
|
+
data:
|
|
3091
|
+
authentication_key: >-
|
|
3092
|
+
0x979e9463b315e84e13b2971d6420641d611a92ab79ce78a87131e0c3e8191135
|
|
3093
|
+
coin_register_events:
|
|
3094
|
+
counter: '2'
|
|
3095
|
+
guid:
|
|
3096
|
+
id:
|
|
3097
|
+
addr: >-
|
|
3098
|
+
0x979e9463b315e84e13b2971d6420641d611a92ab79ce78a87131e0c3e8191135
|
|
3099
|
+
creation_num: '0'
|
|
3100
|
+
guid_creation_num: '19'
|
|
3101
|
+
key_rotation_events:
|
|
3102
|
+
counter: '0'
|
|
3103
|
+
guid:
|
|
3104
|
+
id:
|
|
3105
|
+
addr: >-
|
|
3106
|
+
0x979e9463b315e84e13b2971d6420641d611a92ab79ce78a87131e0c3e8191135
|
|
3107
|
+
creation_num: '1'
|
|
3108
|
+
rotation_capability_offer:
|
|
3109
|
+
for:
|
|
3110
|
+
vec: []
|
|
3111
|
+
sequence_number: '15'
|
|
3112
|
+
signer_capability_offer:
|
|
3113
|
+
for:
|
|
3114
|
+
vec: []
|
|
3115
|
+
type: write_resource
|
|
3116
|
+
- address: >-
|
|
3117
|
+
0xc7efb4076dbe143cbcd98cfaaa929ecfc8f299203dfff63b95ccb6bfe19850fa
|
|
3118
|
+
state_key_hash: >-
|
|
3119
|
+
0xcd1191dc25bbe1491a974bf987c1566d08ca1c77dfb0fd3883cc5bba8d788e8f
|
|
3120
|
+
data:
|
|
3121
|
+
type: >-
|
|
3122
|
+
0xc7efb4076dbe143cbcd98cfaaa929ecfc8f299203dfff63b95ccb6bfe19850fa::swap::PairEventHolder<0x1::aptos_coin::AptosCoin,
|
|
3123
|
+
0xf22bede237a07e121b56d91a491eb7bcdfd1f5907926a9e58338f964a01b17fa::asset::USDC>
|
|
3124
|
+
data:
|
|
3125
|
+
add_liquidity:
|
|
3126
|
+
counter: '11287'
|
|
3127
|
+
guid:
|
|
3128
|
+
id:
|
|
3129
|
+
addr: >-
|
|
3130
|
+
0xc7efb4076dbe143cbcd98cfaaa929ecfc8f299203dfff63b95ccb6bfe19850fa
|
|
3131
|
+
creation_num: '10'
|
|
3132
|
+
remove_liquidity:
|
|
3133
|
+
counter: '5170'
|
|
3134
|
+
guid:
|
|
3135
|
+
id:
|
|
3136
|
+
addr: >-
|
|
3137
|
+
0xc7efb4076dbe143cbcd98cfaaa929ecfc8f299203dfff63b95ccb6bfe19850fa
|
|
3138
|
+
creation_num: '11'
|
|
3139
|
+
swap:
|
|
3140
|
+
counter: '651791'
|
|
3141
|
+
guid:
|
|
3142
|
+
id:
|
|
3143
|
+
addr: >-
|
|
3144
|
+
0xc7efb4076dbe143cbcd98cfaaa929ecfc8f299203dfff63b95ccb6bfe19850fa
|
|
3145
|
+
creation_num: '12'
|
|
3146
|
+
type: write_resource
|
|
3147
|
+
- address: >-
|
|
3148
|
+
0xc7efb4076dbe143cbcd98cfaaa929ecfc8f299203dfff63b95ccb6bfe19850fa
|
|
3149
|
+
state_key_hash: >-
|
|
3150
|
+
0x09c3cfb0e51245574dde40582a9d309747e8ef21bc4de9f7b10a33d8c16fc283
|
|
3151
|
+
data:
|
|
3152
|
+
type: >-
|
|
3153
|
+
0xc7efb4076dbe143cbcd98cfaaa929ecfc8f299203dfff63b95ccb6bfe19850fa::swap::TokenPairReserve<0x1::aptos_coin::AptosCoin,
|
|
3154
|
+
0xf22bede237a07e121b56d91a491eb7bcdfd1f5907926a9e58338f964a01b17fa::asset::USDC>
|
|
3155
|
+
data:
|
|
3156
|
+
block_timestamp_last: '1691976514'
|
|
3157
|
+
reserve_x: '8029595246730'
|
|
3158
|
+
reserve_y: '565963246614'
|
|
3159
|
+
type: write_resource
|
|
3160
|
+
- address: >-
|
|
3161
|
+
0xc7efb4076dbe143cbcd98cfaaa929ecfc8f299203dfff63b95ccb6bfe19850fa
|
|
3162
|
+
state_key_hash: >-
|
|
3163
|
+
0x4bbf43f16492e0e27126e21bac8ee2b6eac6aefa65288b4174e7e3180e3e8d77
|
|
3164
|
+
data:
|
|
3165
|
+
type: >-
|
|
3166
|
+
0xc7efb4076dbe143cbcd98cfaaa929ecfc8f299203dfff63b95ccb6bfe19850fa::swap::TokenPairMetadata<0x1::aptos_coin::AptosCoin,
|
|
3167
|
+
0xf22bede237a07e121b56d91a491eb7bcdfd1f5907926a9e58338f964a01b17fa::asset::USDC>
|
|
3168
|
+
data:
|
|
3169
|
+
balance_x:
|
|
3170
|
+
value: '8029595246730'
|
|
3171
|
+
balance_y:
|
|
3172
|
+
value: '565963246614'
|
|
3173
|
+
burn_cap:
|
|
3174
|
+
dummy_field: false
|
|
3175
|
+
creator: >-
|
|
3176
|
+
0x76b7ae631698fcd07adf5ccc0b7bc4a72489f170446d9634d31cb8568f61cfef
|
|
3177
|
+
fee_amount:
|
|
3178
|
+
value: '1775697589'
|
|
3179
|
+
freeze_cap:
|
|
3180
|
+
dummy_field: false
|
|
3181
|
+
k_last: '4544437215417183344345586'
|
|
3182
|
+
mint_cap:
|
|
3183
|
+
dummy_field: false
|
|
3184
|
+
type: write_resource
|
|
3185
|
+
- state_key_hash: >-
|
|
3186
|
+
0x6e4b28d40f98a106a65163530924c0dcb40c1349d3aa915d108b4d6cfc1ddb19
|
|
3187
|
+
handle: >-
|
|
3188
|
+
0x1b854694ae746cdbd8d44186ca4929b2b337df21d1c74633be19b2710552fdca
|
|
3189
|
+
key: >-
|
|
3190
|
+
0x0619dc29a0aac8fa146714058e8dd6d2d0f3bdf5f6331907bf91f3acd81e6935
|
|
3191
|
+
value: '0x0ffb7ae553f174010000000000000000'
|
|
3192
|
+
data:
|
|
3193
|
+
key: >-
|
|
3194
|
+
0x619dc29a0aac8fa146714058e8dd6d2d0f3bdf5f6331907bf91f3acd81e6935
|
|
3195
|
+
key_type: address
|
|
3196
|
+
value: '104974033970985743'
|
|
3197
|
+
value_type: u128
|
|
3198
|
+
type: write_table_item
|
|
3199
|
+
sender: >-
|
|
3200
|
+
0x979e9463b315e84e13b2971d6420641d611a92ab79ce78a87131e0c3e8191135
|
|
3201
|
+
sequence_number: '14'
|
|
3202
|
+
max_gas_amount: '5000'
|
|
3203
|
+
gas_unit_price: '100'
|
|
3204
|
+
expiration_timestamp_secs: '1691977114'
|
|
3205
|
+
payload:
|
|
3206
|
+
function: >-
|
|
3207
|
+
0xc7efb4076dbe143cbcd98cfaaa929ecfc8f299203dfff63b95ccb6bfe19850fa::router::swap_exact_input
|
|
3208
|
+
type_arguments:
|
|
3209
|
+
- >-
|
|
3210
|
+
0xf22bede237a07e121b56d91a491eb7bcdfd1f5907926a9e58338f964a01b17fa::asset::USDC
|
|
3211
|
+
- 0x1::aptos_coin::AptosCoin
|
|
3212
|
+
arguments:
|
|
3213
|
+
- '10000'
|
|
3214
|
+
- '141449'
|
|
3215
|
+
type: entry_function_payload
|
|
3216
|
+
signature:
|
|
3217
|
+
public_key: >-
|
|
3218
|
+
0xe6b8f5cc7ff3d15b97fd07cbb6b0b0d37746639c4dfedce7bf46b84915384900
|
|
3219
|
+
signature: >-
|
|
3220
|
+
0x2ef16d9a292bd9f491cc97f69f6fc292daeaef9031502246427bd909f14b80c19f3fb0ab6e59f379061410c5b9e9dc98225f3c62fc0827a360034972e85b4d03
|
|
3221
|
+
type: ed25519_signature
|
|
3222
|
+
events:
|
|
3223
|
+
- guid:
|
|
3224
|
+
creation_number: '18'
|
|
3225
|
+
account_address: >-
|
|
3226
|
+
0x979e9463b315e84e13b2971d6420641d611a92ab79ce78a87131e0c3e8191135
|
|
3227
|
+
sequence_number: '6'
|
|
3228
|
+
type: 0x1::coin::WithdrawEvent
|
|
3229
|
+
data:
|
|
3230
|
+
amount: '10000'
|
|
3231
|
+
- guid:
|
|
3232
|
+
creation_number: '2'
|
|
3233
|
+
account_address: >-
|
|
3234
|
+
0x979e9463b315e84e13b2971d6420641d611a92ab79ce78a87131e0c3e8191135
|
|
3235
|
+
sequence_number: '7'
|
|
3236
|
+
type: 0x1::coin::DepositEvent
|
|
3237
|
+
data:
|
|
3238
|
+
amount: '141520'
|
|
3239
|
+
- guid:
|
|
3240
|
+
creation_number: '12'
|
|
3241
|
+
account_address: >-
|
|
3242
|
+
0xc7efb4076dbe143cbcd98cfaaa929ecfc8f299203dfff63b95ccb6bfe19850fa
|
|
3243
|
+
sequence_number: '651790'
|
|
3244
|
+
type: >-
|
|
3245
|
+
0xc7efb4076dbe143cbcd98cfaaa929ecfc8f299203dfff63b95ccb6bfe19850fa::swap::SwapEvent<0x1::aptos_coin::AptosCoin,
|
|
3246
|
+
0xf22bede237a07e121b56d91a491eb7bcdfd1f5907926a9e58338f964a01b17fa::asset::USDC>
|
|
3247
|
+
data:
|
|
3248
|
+
amount_x_in: '0'
|
|
3249
|
+
amount_x_out: '141520'
|
|
3250
|
+
amount_y_in: '10000'
|
|
3251
|
+
amount_y_out: '0'
|
|
3252
|
+
user: >-
|
|
3253
|
+
0x979e9463b315e84e13b2971d6420641d611a92ab79ce78a87131e0c3e8191135
|
|
3254
|
+
timestamp: '1691976514691520'
|
|
3255
|
+
type: user_transaction
|
|
3256
|
+
headers:
|
|
3257
|
+
X-APTOS-BLOCK-HEIGHT:
|
|
3258
|
+
description: Current block height of the chain
|
|
3259
|
+
schema:
|
|
3260
|
+
type: integer
|
|
3261
|
+
required: true
|
|
3262
|
+
X-APTOS-CHAIN-ID:
|
|
3263
|
+
description: Chain ID of the current chain
|
|
3264
|
+
schema:
|
|
3265
|
+
type: integer
|
|
3266
|
+
required: true
|
|
3267
|
+
X-APTOS-EPOCH:
|
|
3268
|
+
description: Current epoch of the chain
|
|
3269
|
+
schema:
|
|
3270
|
+
type: integer
|
|
3271
|
+
required: true
|
|
3272
|
+
X-APTOS-LEDGER-OLDEST-VERSION:
|
|
3273
|
+
description: Oldest non-pruned ledger version of the chain
|
|
3274
|
+
schema:
|
|
3275
|
+
type: integer
|
|
3276
|
+
required: true
|
|
3277
|
+
X-APTOS-LEDGER-TIMESTAMPUSEC:
|
|
3278
|
+
description: Current timestamp of the chain
|
|
3279
|
+
schema:
|
|
3280
|
+
type: integer
|
|
3281
|
+
required: true
|
|
3282
|
+
X-APTOS-LEDGER-VERSION:
|
|
3283
|
+
description: Current ledger version of the chain
|
|
3284
|
+
schema:
|
|
3285
|
+
type: integer
|
|
3286
|
+
required: true
|
|
3287
|
+
X-APTOS-OLDEST-BLOCK-HEIGHT:
|
|
3288
|
+
description: Oldest non-pruned block height of the chain
|
|
3289
|
+
schema:
|
|
3290
|
+
type: integer
|
|
3291
|
+
required: true
|
|
3292
|
+
X-APTOS-CURSOR:
|
|
3293
|
+
description: Cursor for the next page
|
|
3294
|
+
schema:
|
|
3295
|
+
type: string
|
|
3296
|
+
required: true
|
|
3297
|
+
'400': *ref_2
|
|
3298
|
+
/transactions/by_version/{txn_version}:
|
|
3299
|
+
get:
|
|
3300
|
+
security:
|
|
3301
|
+
- api_key: []
|
|
3302
|
+
tags:
|
|
3303
|
+
- Transactions
|
|
3304
|
+
description: 트랜잭션의 버전을 이용하여 특정 트랜잭션을 식별해 반환합니다. 만약 버전이 pruned된 경우, 410에러가 반환됩니다.
|
|
3305
|
+
summary: Get transaction by version
|
|
3306
|
+
operationId: aptos_getTransactionByVersion
|
|
3307
|
+
parameters:
|
|
3308
|
+
- name: txn_version
|
|
3309
|
+
in: path
|
|
3310
|
+
required: true
|
|
3311
|
+
schema:
|
|
3312
|
+
type: string
|
|
3313
|
+
pattern: ^[0-9]{1,20}$
|
|
3314
|
+
default: '525078522'
|
|
3315
|
+
description: 조회하고자 하는 트랜잭션의 버전 값.
|
|
3316
|
+
responses:
|
|
3317
|
+
'200':
|
|
3318
|
+
description: Successful Response
|
|
3319
|
+
content:
|
|
3320
|
+
application/json:
|
|
3321
|
+
schema: *ref_45
|
|
3322
|
+
example:
|
|
3323
|
+
version: '29922'
|
|
3324
|
+
hash: >-
|
|
3325
|
+
0xf374950a69877a0dd384deab129f3f4ac1e12da0d3c2c54456baa1728ce63dc5
|
|
3326
|
+
state_change_hash: >-
|
|
3327
|
+
0x53e89fd58b9d241b98c0c4208b408df51dfe5352600cd593d37452aec2a79d79
|
|
3328
|
+
event_root_hash: >-
|
|
3329
|
+
0x2ea43d37a2189b01593ee5bfce303ac18a37fe1fa91e64c94a7b3966f1975194
|
|
3330
|
+
state_checkpoint_hash: null
|
|
3331
|
+
gas_used: '6'
|
|
3332
|
+
success: true
|
|
3333
|
+
vm_status: Executed successfully
|
|
3334
|
+
accumulator_root_hash: >-
|
|
3335
|
+
0x64677b587ceae2dc01cb2977965b9b5410e4210575f46cffaac606fcad21912d
|
|
3336
|
+
changes:
|
|
3337
|
+
- address: >-
|
|
3338
|
+
0xe865640bdff70a128f1a97e76ca7892b6a93ffe10422dcd22a296f92031b5d4
|
|
3339
|
+
state_key_hash: >-
|
|
3340
|
+
0x91afcb92bc1270b77ec4143d34548fabd364e7da3433ebf222b54411a405b080
|
|
3341
|
+
data:
|
|
3342
|
+
type: 0x1::coin::CoinStore<0x1::aptos_coin::AptosCoin>
|
|
3343
|
+
data:
|
|
3344
|
+
coin:
|
|
3345
|
+
value: '118399997567'
|
|
3346
|
+
deposit_events:
|
|
3347
|
+
counter: '2'
|
|
3348
|
+
guid:
|
|
3349
|
+
id:
|
|
3350
|
+
addr: >-
|
|
3351
|
+
0xe865640bdff70a128f1a97e76ca7892b6a93ffe10422dcd22a296f92031b5d4
|
|
3352
|
+
creation_num: '2'
|
|
3353
|
+
frozen: false
|
|
3354
|
+
withdraw_events:
|
|
3355
|
+
counter: '5'
|
|
3356
|
+
guid:
|
|
3357
|
+
id:
|
|
3358
|
+
addr: >-
|
|
3359
|
+
0xe865640bdff70a128f1a97e76ca7892b6a93ffe10422dcd22a296f92031b5d4
|
|
3360
|
+
creation_num: '3'
|
|
3361
|
+
type: write_resource
|
|
3362
|
+
- address: >-
|
|
3363
|
+
0xe865640bdff70a128f1a97e76ca7892b6a93ffe10422dcd22a296f92031b5d4
|
|
3364
|
+
state_key_hash: >-
|
|
3365
|
+
0xca1854bdbf1777aa26cc9c88dc54b65a43db4dc0e546a3e9978d9f9284d32ce1
|
|
3366
|
+
data:
|
|
3367
|
+
type: 0x1::account::Account
|
|
3368
|
+
data:
|
|
3369
|
+
authentication_key: >-
|
|
3370
|
+
0x0e865640bdff70a128f1a97e76ca7892b6a93ffe10422dcd22a296f92031b5d4
|
|
3371
|
+
coin_register_events:
|
|
3372
|
+
counter: '1'
|
|
3373
|
+
guid:
|
|
3374
|
+
id:
|
|
3375
|
+
addr: >-
|
|
3376
|
+
0xe865640bdff70a128f1a97e76ca7892b6a93ffe10422dcd22a296f92031b5d4
|
|
3377
|
+
creation_num: '0'
|
|
3378
|
+
guid_creation_num: '4'
|
|
3379
|
+
key_rotation_events:
|
|
3380
|
+
counter: '0'
|
|
3381
|
+
guid:
|
|
3382
|
+
id:
|
|
3383
|
+
addr: >-
|
|
3384
|
+
0xe865640bdff70a128f1a97e76ca7892b6a93ffe10422dcd22a296f92031b5d4
|
|
3385
|
+
creation_num: '1'
|
|
3386
|
+
rotation_capability_offer:
|
|
3387
|
+
for:
|
|
3388
|
+
vec: []
|
|
3389
|
+
sequence_number: '5'
|
|
3390
|
+
signer_capability_offer:
|
|
3391
|
+
for:
|
|
3392
|
+
vec: []
|
|
3393
|
+
type: write_resource
|
|
3394
|
+
- address: >-
|
|
3395
|
+
0xf8bb20f81bd1e2aefce2f2edd28fe3e552b12b0a9d2490380aef09bb006e96c3
|
|
3396
|
+
state_key_hash: >-
|
|
3397
|
+
0x87d7b4977f853c87d98cac71ac3bc42603b4f3b5004c42ac97097aa2a2b3ba4d
|
|
3398
|
+
data:
|
|
3399
|
+
type: 0x1::coin::CoinStore<0x1::aptos_coin::AptosCoin>
|
|
3400
|
+
data:
|
|
3401
|
+
coin:
|
|
3402
|
+
value: '118400000575'
|
|
3403
|
+
deposit_events:
|
|
3404
|
+
counter: '5'
|
|
3405
|
+
guid:
|
|
3406
|
+
id:
|
|
3407
|
+
addr: >-
|
|
3408
|
+
0xf8bb20f81bd1e2aefce2f2edd28fe3e552b12b0a9d2490380aef09bb006e96c3
|
|
3409
|
+
creation_num: '2'
|
|
3410
|
+
frozen: false
|
|
3411
|
+
withdraw_events:
|
|
3412
|
+
counter: '0'
|
|
3413
|
+
guid:
|
|
3414
|
+
id:
|
|
3415
|
+
addr: >-
|
|
3416
|
+
0xf8bb20f81bd1e2aefce2f2edd28fe3e552b12b0a9d2490380aef09bb006e96c3
|
|
3417
|
+
creation_num: '3'
|
|
3418
|
+
type: write_resource
|
|
3419
|
+
- state_key_hash: >-
|
|
3420
|
+
0x6e4b28d40f98a106a65163530924c0dcb40c1349d3aa915d108b4d6cfc1ddb19
|
|
3421
|
+
handle: >-
|
|
3422
|
+
0x1b854694ae746cdbd8d44186ca4929b2b337df21d1c74633be19b2710552fdca
|
|
3423
|
+
key: >-
|
|
3424
|
+
0x0619dc29a0aac8fa146714058e8dd6d2d0f3bdf5f6331907bf91f3acd81e6935
|
|
3425
|
+
value: '0x802bc789f49103000100000000000000'
|
|
3426
|
+
data: null
|
|
3427
|
+
type: write_table_item
|
|
3428
|
+
sender: >-
|
|
3429
|
+
0xe865640bdff70a128f1a97e76ca7892b6a93ffe10422dcd22a296f92031b5d4
|
|
3430
|
+
sequence_number: '4'
|
|
3431
|
+
max_gas_amount: '2000000'
|
|
3432
|
+
gas_unit_price: '100'
|
|
3433
|
+
expiration_timestamp_secs: '1691128035'
|
|
3434
|
+
payload:
|
|
3435
|
+
function: 0x1::coin::transfer
|
|
3436
|
+
type_arguments:
|
|
3437
|
+
- 0x1::aptos_coin::AptosCoin
|
|
3438
|
+
arguments:
|
|
3439
|
+
- >-
|
|
3440
|
+
0xf8bb20f81bd1e2aefce2f2edd28fe3e552b12b0a9d2490380aef09bb006e96c3
|
|
3441
|
+
- '1'
|
|
3442
|
+
type: entry_function_payload
|
|
3443
|
+
signature:
|
|
3444
|
+
public_key: >-
|
|
3445
|
+
0x5cb436a262556746f579d6cff8185d35ca178b442a31fedff4c9f8243919ecdb
|
|
3446
|
+
signature: >-
|
|
3447
|
+
0xd73c051b9142fbcc4828137147585d17639bcc727e11e33c0dc4219c8895b1e4a0a9f4ee1adc78e5f6bdd46dc37661e3f6768c4d8b4d0ba4d7e495e157652b05
|
|
3448
|
+
type: ed25519_signature
|
|
3449
|
+
events:
|
|
3450
|
+
- guid:
|
|
3451
|
+
creation_number: '3'
|
|
3452
|
+
account_address: >-
|
|
3453
|
+
0xe865640bdff70a128f1a97e76ca7892b6a93ffe10422dcd22a296f92031b5d4
|
|
3454
|
+
sequence_number: '4'
|
|
3455
|
+
type: 0x1::coin::WithdrawEvent
|
|
3456
|
+
data:
|
|
3457
|
+
amount: '1'
|
|
3458
|
+
- guid:
|
|
3459
|
+
creation_number: '2'
|
|
3460
|
+
account_address: >-
|
|
3461
|
+
0xf8bb20f81bd1e2aefce2f2edd28fe3e552b12b0a9d2490380aef09bb006e96c3
|
|
3462
|
+
sequence_number: '4'
|
|
3463
|
+
type: 0x1::coin::DepositEvent
|
|
3464
|
+
data:
|
|
3465
|
+
amount: '1'
|
|
3466
|
+
timestamp: '1691128005638384'
|
|
3467
|
+
type: user_transaction
|
|
3468
|
+
headers:
|
|
3469
|
+
X-APTOS-BLOCK-HEIGHT:
|
|
3470
|
+
description: Current block height of the chain
|
|
3471
|
+
schema:
|
|
3472
|
+
type: integer
|
|
3473
|
+
required: true
|
|
3474
|
+
X-APTOS-CHAIN-ID:
|
|
3475
|
+
description: Chain ID of the current chain
|
|
3476
|
+
schema:
|
|
3477
|
+
type: integer
|
|
3478
|
+
required: true
|
|
3479
|
+
X-APTOS-EPOCH:
|
|
3480
|
+
description: Current epoch of the chain
|
|
3481
|
+
schema:
|
|
3482
|
+
type: integer
|
|
3483
|
+
required: true
|
|
3484
|
+
X-APTOS-LEDGER-OLDEST-VERSION:
|
|
3485
|
+
description: Oldest non-pruned ledger version of the chain
|
|
3486
|
+
schema:
|
|
3487
|
+
type: integer
|
|
3488
|
+
required: true
|
|
3489
|
+
X-APTOS-LEDGER-TIMESTAMPUSEC:
|
|
3490
|
+
description: Current timestamp of the chain
|
|
3491
|
+
schema:
|
|
3492
|
+
type: integer
|
|
3493
|
+
required: true
|
|
3494
|
+
X-APTOS-LEDGER-VERSION:
|
|
3495
|
+
description: Current ledger version of the chain
|
|
3496
|
+
schema:
|
|
3497
|
+
type: integer
|
|
3498
|
+
required: true
|
|
3499
|
+
X-APTOS-OLDEST-BLOCK-HEIGHT:
|
|
3500
|
+
description: Oldest non-pruned block height of the chain
|
|
3501
|
+
schema:
|
|
3502
|
+
type: integer
|
|
3503
|
+
required: true
|
|
3504
|
+
X-APTOS-CURSOR:
|
|
3505
|
+
description: Cursor for the next page
|
|
3506
|
+
schema:
|
|
3507
|
+
type: string
|
|
3508
|
+
required: true
|
|
3509
|
+
'400': *ref_2
|
|
3510
|
+
/accounts/{address}/transactions:
|
|
3511
|
+
get:
|
|
3512
|
+
security:
|
|
3513
|
+
- api_key: []
|
|
3514
|
+
tags:
|
|
3515
|
+
- Transactions
|
|
3516
|
+
description: 온체인에 committed 된 트랜잭션 중 특정 Account로 부터 생성된 트랜잭션을 반환합니다.
|
|
3517
|
+
summary: Get account transactions
|
|
3518
|
+
operationId: aptos_getAccountTransactions
|
|
3519
|
+
parameters:
|
|
3520
|
+
- *ref_0
|
|
3521
|
+
- *ref_4
|
|
3522
|
+
- *ref_5
|
|
3523
|
+
responses:
|
|
3524
|
+
'200':
|
|
3525
|
+
description: Successful Response
|
|
3526
|
+
content:
|
|
3527
|
+
application/json:
|
|
3528
|
+
schema:
|
|
3529
|
+
type: array
|
|
3530
|
+
items: *ref_37
|
|
3531
|
+
example:
|
|
3532
|
+
- version: '223495386'
|
|
3533
|
+
hash: >-
|
|
3534
|
+
0x82f114cf3fdfb918e2cf8a32acaabb4e7ae17c8b2191617db9d43c2566047b09
|
|
3535
|
+
state_change_hash: >-
|
|
3536
|
+
0xa75252efd0e2b19ddd7b283392f953e6d6bba7f0148969aea5fd38b74c1b9d59
|
|
3537
|
+
event_root_hash: >-
|
|
3538
|
+
0xb899f7ce227123bafd67dd572d55b645a5a87139caa552da1bf6d16624f4d345
|
|
3539
|
+
state_checkpoint_hash: null
|
|
3540
|
+
gas_used: '14'
|
|
3541
|
+
success: true
|
|
3542
|
+
vm_status: Executed successfully
|
|
3543
|
+
accumulator_root_hash: >-
|
|
3544
|
+
0xbcdfaecf62f88705e2ca1ac039c376fbfd11fb7988f1b2169be1aa72ae54ebf7
|
|
3545
|
+
changes:
|
|
3546
|
+
- address: >-
|
|
3547
|
+
0x979e9463b315e84e13b2971d6420641d611a92ab79ce78a87131e0c3e8191135
|
|
3548
|
+
state_key_hash: >-
|
|
3549
|
+
0x11f15e4e7cf157decaa2da253ca03c060167f2559a4dee56fe5c7b5a759cf4e4
|
|
3550
|
+
data:
|
|
3551
|
+
type: 0x1::coin::CoinStore<0x1::aptos_coin::AptosCoin>
|
|
3552
|
+
data:
|
|
3553
|
+
coin:
|
|
3554
|
+
value: '31198769'
|
|
3555
|
+
deposit_events:
|
|
3556
|
+
counter: '8'
|
|
3557
|
+
guid:
|
|
3558
|
+
id:
|
|
3559
|
+
addr: >-
|
|
3560
|
+
0x979e9463b315e84e13b2971d6420641d611a92ab79ce78a87131e0c3e8191135
|
|
3561
|
+
creation_num: '2'
|
|
3562
|
+
frozen: false
|
|
3563
|
+
withdraw_events:
|
|
3564
|
+
counter: '8'
|
|
3565
|
+
guid:
|
|
3566
|
+
id:
|
|
3567
|
+
addr: >-
|
|
3568
|
+
0x979e9463b315e84e13b2971d6420641d611a92ab79ce78a87131e0c3e8191135
|
|
3569
|
+
creation_num: '3'
|
|
3570
|
+
type: write_resource
|
|
3571
|
+
- address: >-
|
|
3572
|
+
0x979e9463b315e84e13b2971d6420641d611a92ab79ce78a87131e0c3e8191135
|
|
3573
|
+
state_key_hash: >-
|
|
3574
|
+
0xefbc62a42d9cdbca367169ba49db782aae4ebbf6e93660890b7d68b30ff025c8
|
|
3575
|
+
data:
|
|
3576
|
+
type: >-
|
|
3577
|
+
0x1::coin::CoinStore<0xf22bede237a07e121b56d91a491eb7bcdfd1f5907926a9e58338f964a01b17fa::asset::USDC>
|
|
3578
|
+
data:
|
|
3579
|
+
coin:
|
|
3580
|
+
value: '430413'
|
|
3581
|
+
deposit_events:
|
|
3582
|
+
counter: '7'
|
|
3583
|
+
guid:
|
|
3584
|
+
id:
|
|
3585
|
+
addr: >-
|
|
3586
|
+
0x979e9463b315e84e13b2971d6420641d611a92ab79ce78a87131e0c3e8191135
|
|
3587
|
+
creation_num: '17'
|
|
3588
|
+
frozen: false
|
|
3589
|
+
withdraw_events:
|
|
3590
|
+
counter: '7'
|
|
3591
|
+
guid:
|
|
3592
|
+
id:
|
|
3593
|
+
addr: >-
|
|
3594
|
+
0x979e9463b315e84e13b2971d6420641d611a92ab79ce78a87131e0c3e8191135
|
|
3595
|
+
creation_num: '18'
|
|
3596
|
+
type: write_resource
|
|
3597
|
+
- address: >-
|
|
3598
|
+
0x979e9463b315e84e13b2971d6420641d611a92ab79ce78a87131e0c3e8191135
|
|
3599
|
+
state_key_hash: >-
|
|
3600
|
+
0x0f76c6835c8468fad4e967c334b41dab9883e070ba15174338702f2a7fedd88f
|
|
3601
|
+
data:
|
|
3602
|
+
type: 0x1::account::Account
|
|
3603
|
+
data:
|
|
3604
|
+
authentication_key: >-
|
|
3605
|
+
0x979e9463b315e84e13b2971d6420641d611a92ab79ce78a87131e0c3e8191135
|
|
3606
|
+
coin_register_events:
|
|
3607
|
+
counter: '2'
|
|
3608
|
+
guid:
|
|
3609
|
+
id:
|
|
3610
|
+
addr: >-
|
|
3611
|
+
0x979e9463b315e84e13b2971d6420641d611a92ab79ce78a87131e0c3e8191135
|
|
3612
|
+
creation_num: '0'
|
|
3613
|
+
guid_creation_num: '19'
|
|
3614
|
+
key_rotation_events:
|
|
3615
|
+
counter: '0'
|
|
3616
|
+
guid:
|
|
3617
|
+
id:
|
|
3618
|
+
addr: >-
|
|
3619
|
+
0x979e9463b315e84e13b2971d6420641d611a92ab79ce78a87131e0c3e8191135
|
|
3620
|
+
creation_num: '1'
|
|
3621
|
+
rotation_capability_offer:
|
|
3622
|
+
for:
|
|
3623
|
+
vec: []
|
|
3624
|
+
sequence_number: '15'
|
|
3625
|
+
signer_capability_offer:
|
|
3626
|
+
for:
|
|
3627
|
+
vec: []
|
|
3628
|
+
type: write_resource
|
|
3629
|
+
- address: >-
|
|
3630
|
+
0xc7efb4076dbe143cbcd98cfaaa929ecfc8f299203dfff63b95ccb6bfe19850fa
|
|
3631
|
+
state_key_hash: >-
|
|
3632
|
+
0xcd1191dc25bbe1491a974bf987c1566d08ca1c77dfb0fd3883cc5bba8d788e8f
|
|
3633
|
+
data:
|
|
3634
|
+
type: >-
|
|
3635
|
+
0xc7efb4076dbe143cbcd98cfaaa929ecfc8f299203dfff63b95ccb6bfe19850fa::swap::PairEventHolder<0x1::aptos_coin::AptosCoin,
|
|
3636
|
+
0xf22bede237a07e121b56d91a491eb7bcdfd1f5907926a9e58338f964a01b17fa::asset::USDC>
|
|
3637
|
+
data:
|
|
3638
|
+
add_liquidity:
|
|
3639
|
+
counter: '11287'
|
|
3640
|
+
guid:
|
|
3641
|
+
id:
|
|
3642
|
+
addr: >-
|
|
3643
|
+
0xc7efb4076dbe143cbcd98cfaaa929ecfc8f299203dfff63b95ccb6bfe19850fa
|
|
3644
|
+
creation_num: '10'
|
|
3645
|
+
remove_liquidity:
|
|
3646
|
+
counter: '5170'
|
|
3647
|
+
guid:
|
|
3648
|
+
id:
|
|
3649
|
+
addr: >-
|
|
3650
|
+
0xc7efb4076dbe143cbcd98cfaaa929ecfc8f299203dfff63b95ccb6bfe19850fa
|
|
3651
|
+
creation_num: '11'
|
|
3652
|
+
swap:
|
|
3653
|
+
counter: '651791'
|
|
3654
|
+
guid:
|
|
3655
|
+
id:
|
|
3656
|
+
addr: >-
|
|
3657
|
+
0xc7efb4076dbe143cbcd98cfaaa929ecfc8f299203dfff63b95ccb6bfe19850fa
|
|
3658
|
+
creation_num: '12'
|
|
3659
|
+
type: write_resource
|
|
3660
|
+
- address: >-
|
|
3661
|
+
0xc7efb4076dbe143cbcd98cfaaa929ecfc8f299203dfff63b95ccb6bfe19850fa
|
|
3662
|
+
state_key_hash: >-
|
|
3663
|
+
0x09c3cfb0e51245574dde40582a9d309747e8ef21bc4de9f7b10a33d8c16fc283
|
|
3664
|
+
data:
|
|
3665
|
+
type: >-
|
|
3666
|
+
0xc7efb4076dbe143cbcd98cfaaa929ecfc8f299203dfff63b95ccb6bfe19850fa::swap::TokenPairReserve<0x1::aptos_coin::AptosCoin,
|
|
3667
|
+
0xf22bede237a07e121b56d91a491eb7bcdfd1f5907926a9e58338f964a01b17fa::asset::USDC>
|
|
3668
|
+
data:
|
|
3669
|
+
block_timestamp_last: '1691976514'
|
|
3670
|
+
reserve_x: '8029595246730'
|
|
3671
|
+
reserve_y: '565963246614'
|
|
3672
|
+
type: write_resource
|
|
3673
|
+
- address: >-
|
|
3674
|
+
0xc7efb4076dbe143cbcd98cfaaa929ecfc8f299203dfff63b95ccb6bfe19850fa
|
|
3675
|
+
state_key_hash: >-
|
|
3676
|
+
0x4bbf43f16492e0e27126e21bac8ee2b6eac6aefa65288b4174e7e3180e3e8d77
|
|
3677
|
+
data:
|
|
3678
|
+
type: >-
|
|
3679
|
+
0xc7efb4076dbe143cbcd98cfaaa929ecfc8f299203dfff63b95ccb6bfe19850fa::swap::TokenPairMetadata<0x1::aptos_coin::AptosCoin,
|
|
3680
|
+
0xf22bede237a07e121b56d91a491eb7bcdfd1f5907926a9e58338f964a01b17fa::asset::USDC>
|
|
3681
|
+
data:
|
|
3682
|
+
balance_x:
|
|
3683
|
+
value: '8029595246730'
|
|
3684
|
+
balance_y:
|
|
3685
|
+
value: '565963246614'
|
|
3686
|
+
burn_cap:
|
|
3687
|
+
dummy_field: false
|
|
3688
|
+
creator: >-
|
|
3689
|
+
0x76b7ae631698fcd07adf5ccc0b7bc4a72489f170446d9634d31cb8568f61cfef
|
|
3690
|
+
fee_amount:
|
|
3691
|
+
value: '1775697589'
|
|
3692
|
+
freeze_cap:
|
|
3693
|
+
dummy_field: false
|
|
3694
|
+
k_last: '4544437215417183344345586'
|
|
3695
|
+
mint_cap:
|
|
3696
|
+
dummy_field: false
|
|
3697
|
+
type: write_resource
|
|
3698
|
+
- state_key_hash: >-
|
|
3699
|
+
0x6e4b28d40f98a106a65163530924c0dcb40c1349d3aa915d108b4d6cfc1ddb19
|
|
3700
|
+
handle: >-
|
|
3701
|
+
0x1b854694ae746cdbd8d44186ca4929b2b337df21d1c74633be19b2710552fdca
|
|
3702
|
+
key: >-
|
|
3703
|
+
0x0619dc29a0aac8fa146714058e8dd6d2d0f3bdf5f6331907bf91f3acd81e6935
|
|
3704
|
+
value: '0x0ffb7ae553f174010000000000000000'
|
|
3705
|
+
data:
|
|
3706
|
+
key: >-
|
|
3707
|
+
0x619dc29a0aac8fa146714058e8dd6d2d0f3bdf5f6331907bf91f3acd81e6935
|
|
3708
|
+
key_type: address
|
|
3709
|
+
value: '104974033970985743'
|
|
3710
|
+
value_type: u128
|
|
3711
|
+
type: write_table_item
|
|
3712
|
+
sender: >-
|
|
3713
|
+
0x979e9463b315e84e13b2971d6420641d611a92ab79ce78a87131e0c3e8191135
|
|
3714
|
+
sequence_number: '14'
|
|
3715
|
+
max_gas_amount: '5000'
|
|
3716
|
+
gas_unit_price: '100'
|
|
3717
|
+
expiration_timestamp_secs: '1691977114'
|
|
3718
|
+
payload:
|
|
3719
|
+
function: >-
|
|
3720
|
+
0xc7efb4076dbe143cbcd98cfaaa929ecfc8f299203dfff63b95ccb6bfe19850fa::router::swap_exact_input
|
|
3721
|
+
type_arguments:
|
|
3722
|
+
- >-
|
|
3723
|
+
0xf22bede237a07e121b56d91a491eb7bcdfd1f5907926a9e58338f964a01b17fa::asset::USDC
|
|
3724
|
+
- 0x1::aptos_coin::AptosCoin
|
|
3725
|
+
arguments:
|
|
3726
|
+
- '10000'
|
|
3727
|
+
- '141449'
|
|
3728
|
+
type: entry_function_payload
|
|
3729
|
+
signature:
|
|
3730
|
+
public_key: >-
|
|
3731
|
+
0xe6b8f5cc7ff3d15b97fd07cbb6b0b0d37746639c4dfedce7bf46b84915384900
|
|
3732
|
+
signature: >-
|
|
3733
|
+
0x2ef16d9a292bd9f491cc97f69f6fc292daeaef9031502246427bd909f14b80c19f3fb0ab6e59f379061410c5b9e9dc98225f3c62fc0827a360034972e85b4d03
|
|
3734
|
+
type: ed25519_signature
|
|
3735
|
+
events:
|
|
3736
|
+
- guid:
|
|
3737
|
+
creation_number: '18'
|
|
3738
|
+
account_address: >-
|
|
3739
|
+
0x979e9463b315e84e13b2971d6420641d611a92ab79ce78a87131e0c3e8191135
|
|
3740
|
+
sequence_number: '6'
|
|
3741
|
+
type: 0x1::coin::WithdrawEvent
|
|
3742
|
+
data:
|
|
3743
|
+
amount: '10000'
|
|
3744
|
+
- guid:
|
|
3745
|
+
creation_number: '2'
|
|
3746
|
+
account_address: >-
|
|
3747
|
+
0x979e9463b315e84e13b2971d6420641d611a92ab79ce78a87131e0c3e8191135
|
|
3748
|
+
sequence_number: '7'
|
|
3749
|
+
type: 0x1::coin::DepositEvent
|
|
3750
|
+
data:
|
|
3751
|
+
amount: '141520'
|
|
3752
|
+
- guid:
|
|
3753
|
+
creation_number: '12'
|
|
3754
|
+
account_address: >-
|
|
3755
|
+
0xc7efb4076dbe143cbcd98cfaaa929ecfc8f299203dfff63b95ccb6bfe19850fa
|
|
3756
|
+
sequence_number: '651790'
|
|
3757
|
+
type: >-
|
|
3758
|
+
0xc7efb4076dbe143cbcd98cfaaa929ecfc8f299203dfff63b95ccb6bfe19850fa::swap::SwapEvent<0x1::aptos_coin::AptosCoin,
|
|
3759
|
+
0xf22bede237a07e121b56d91a491eb7bcdfd1f5907926a9e58338f964a01b17fa::asset::USDC>
|
|
3760
|
+
data:
|
|
3761
|
+
amount_x_in: '0'
|
|
3762
|
+
amount_x_out: '141520'
|
|
3763
|
+
amount_y_in: '10000'
|
|
3764
|
+
amount_y_out: '0'
|
|
3765
|
+
user: >-
|
|
3766
|
+
0x979e9463b315e84e13b2971d6420641d611a92ab79ce78a87131e0c3e8191135
|
|
3767
|
+
timestamp: '1691976514691520'
|
|
3768
|
+
type: user_transaction
|
|
3769
|
+
headers:
|
|
3770
|
+
X-APTOS-BLOCK-HEIGHT:
|
|
3771
|
+
description: Current block height of the chain
|
|
3772
|
+
schema:
|
|
3773
|
+
type: integer
|
|
3774
|
+
required: true
|
|
3775
|
+
X-APTOS-CHAIN-ID:
|
|
3776
|
+
description: Chain ID of the current chain
|
|
3777
|
+
schema:
|
|
3778
|
+
type: integer
|
|
3779
|
+
required: true
|
|
3780
|
+
X-APTOS-EPOCH:
|
|
3781
|
+
description: Current epoch of the chain
|
|
3782
|
+
schema:
|
|
3783
|
+
type: integer
|
|
3784
|
+
required: true
|
|
3785
|
+
X-APTOS-LEDGER-OLDEST-VERSION:
|
|
3786
|
+
description: Oldest non-pruned ledger version of the chain
|
|
3787
|
+
schema:
|
|
3788
|
+
type: integer
|
|
3789
|
+
required: true
|
|
3790
|
+
X-APTOS-LEDGER-TIMESTAMPUSEC:
|
|
3791
|
+
description: Current timestamp of the chain
|
|
3792
|
+
schema:
|
|
3793
|
+
type: integer
|
|
3794
|
+
required: true
|
|
3795
|
+
X-APTOS-LEDGER-VERSION:
|
|
3796
|
+
description: Current ledger version of the chain
|
|
3797
|
+
schema:
|
|
3798
|
+
type: integer
|
|
3799
|
+
required: true
|
|
3800
|
+
X-APTOS-OLDEST-BLOCK-HEIGHT:
|
|
3801
|
+
description: Oldest non-pruned block height of the chain
|
|
3802
|
+
schema:
|
|
3803
|
+
type: integer
|
|
3804
|
+
required: true
|
|
3805
|
+
X-APTOS-CURSOR:
|
|
3806
|
+
description: Cursor for the next page
|
|
3807
|
+
schema:
|
|
3808
|
+
type: string
|
|
3809
|
+
required: true
|
|
3810
|
+
'400': *ref_2
|
|
3811
|
+
/transactions/batch:
|
|
3812
|
+
post:
|
|
3813
|
+
security:
|
|
3814
|
+
- api_key: []
|
|
3815
|
+
tags:
|
|
3816
|
+
- Transactions
|
|
3817
|
+
description: >-
|
|
3818
|
+
여러 개의 트랜잭션을 모아 submit 합니다. 모든 트랜잭션이 성공할 경우, 202 코드가 반환되며 일부 실패한 트랜잭션이
|
|
3819
|
+
있거나 모든 트랜잭션이 실패했을 경우에는 실패한 트랜잭션과 206 코드가 반환됩니다.
|
|
3820
|
+
summary: Submit batch transactions
|
|
3821
|
+
operationId: aptos_submitBatchTransactions
|
|
3822
|
+
requestBody:
|
|
3823
|
+
required: true
|
|
3824
|
+
content:
|
|
3825
|
+
application/json:
|
|
3826
|
+
schema:
|
|
3827
|
+
additionalProperties: false
|
|
3828
|
+
allOf:
|
|
3829
|
+
- type: array
|
|
3830
|
+
description: 트랜잭션의 배열
|
|
3831
|
+
items: *ref_46
|
|
3832
|
+
responses:
|
|
3833
|
+
'200':
|
|
3834
|
+
description: Successful Response
|
|
3835
|
+
content:
|
|
3836
|
+
application/json:
|
|
3837
|
+
schema:
|
|
3838
|
+
type: object
|
|
3839
|
+
properties:
|
|
3840
|
+
transaction_failures:
|
|
3841
|
+
title: Transaction Failures
|
|
3842
|
+
type: array
|
|
3843
|
+
description: The failures of the transaction
|
|
3844
|
+
required:
|
|
3845
|
+
- error
|
|
3846
|
+
- transaction_index
|
|
3847
|
+
items:
|
|
3848
|
+
type: object
|
|
3849
|
+
properties:
|
|
3850
|
+
error: *ref_47
|
|
3851
|
+
transaction_index:
|
|
3852
|
+
type: integer
|
|
3853
|
+
description: The index of the transaction
|
|
3854
|
+
example:
|
|
3855
|
+
transaction_failures:
|
|
3856
|
+
- error:
|
|
3857
|
+
message: string
|
|
3858
|
+
error_code: account_not_found
|
|
3859
|
+
vm_error_code: 0
|
|
3860
|
+
transaction_index: 0
|
|
3861
|
+
headers:
|
|
3862
|
+
X-APTOS-BLOCK-HEIGHT:
|
|
3863
|
+
description: Current block height of the chain
|
|
3864
|
+
schema:
|
|
3865
|
+
type: integer
|
|
3866
|
+
required: true
|
|
3867
|
+
X-APTOS-CHAIN-ID:
|
|
3868
|
+
description: Chain ID of the current chain
|
|
3869
|
+
schema:
|
|
3870
|
+
type: integer
|
|
3871
|
+
required: true
|
|
3872
|
+
X-APTOS-EPOCH:
|
|
3873
|
+
description: Current epoch of the chain
|
|
3874
|
+
schema:
|
|
3875
|
+
type: integer
|
|
3876
|
+
required: true
|
|
3877
|
+
X-APTOS-LEDGER-OLDEST-VERSION:
|
|
3878
|
+
description: Oldest non-pruned ledger version of the chain
|
|
3879
|
+
schema:
|
|
3880
|
+
type: integer
|
|
3881
|
+
required: true
|
|
3882
|
+
X-APTOS-LEDGER-TIMESTAMPUSEC:
|
|
3883
|
+
description: Current timestamp of the chain
|
|
3884
|
+
schema:
|
|
3885
|
+
type: integer
|
|
3886
|
+
required: true
|
|
3887
|
+
X-APTOS-LEDGER-VERSION:
|
|
3888
|
+
description: Current ledger version of the chain
|
|
3889
|
+
schema:
|
|
3890
|
+
type: integer
|
|
3891
|
+
required: true
|
|
3892
|
+
X-APTOS-OLDEST-BLOCK-HEIGHT:
|
|
3893
|
+
description: Oldest non-pruned block height of the chain
|
|
3894
|
+
schema:
|
|
3895
|
+
type: integer
|
|
3896
|
+
required: true
|
|
3897
|
+
X-APTOS-CURSOR:
|
|
3898
|
+
description: Cursor for the next page
|
|
3899
|
+
schema:
|
|
3900
|
+
type: string
|
|
3901
|
+
required: true
|
|
3902
|
+
'400': *ref_2
|
|
3903
|
+
/transactions/simulate:
|
|
3904
|
+
post:
|
|
3905
|
+
security:
|
|
3906
|
+
- api_key: []
|
|
3907
|
+
tags:
|
|
3908
|
+
- Transactions
|
|
3909
|
+
description: >-
|
|
3910
|
+
트랜잭션을 실제로 실행하기 전, 시뮬레이션할 수 있습니다. 이를 이용하여 실행될 트랜잭션의 최대 가스 사용량을 추정할 수
|
|
3911
|
+
있습니다.
|
|
3912
|
+
summary: Simulate transaction
|
|
3913
|
+
operationId: aptos_simulateTransaction
|
|
3914
|
+
parameters:
|
|
3915
|
+
- name: estimate_gas_price
|
|
3916
|
+
in: query
|
|
3917
|
+
required: false
|
|
3918
|
+
schema:
|
|
3919
|
+
type: boolean
|
|
3920
|
+
description: >-
|
|
3921
|
+
Gas Unit Price 설정에 대한 Boolean 타입의 필드. True로 설정 시 추정된 가격의 Gas Unit
|
|
3922
|
+
Price가 사용됩니다.
|
|
3923
|
+
- name: estimate_max_gas
|
|
3924
|
+
in: query
|
|
3925
|
+
required: false
|
|
3926
|
+
schema:
|
|
3927
|
+
type: boolean
|
|
3928
|
+
description: >-
|
|
3929
|
+
최대 가스 사용량 설정에 대한 Boolean 타입의 필드. True로 설정 시 가능한 최대치의 Max Gas Amount를
|
|
3930
|
+
사용합니다.
|
|
3931
|
+
- name: estimate_prioritized_gas_uint_price
|
|
3932
|
+
in: query
|
|
3933
|
+
required: false
|
|
3934
|
+
schema:
|
|
3935
|
+
type: boolean
|
|
3936
|
+
description: >-
|
|
3937
|
+
트랜잭션 가스 소모량 설정에 대한 Boolean 타입의 필드. True로 설정 시 측정치보다 높은 가격으로 트랜잭션을
|
|
3938
|
+
실행합니다.
|
|
3939
|
+
requestBody:
|
|
3940
|
+
required: true
|
|
3941
|
+
content:
|
|
3942
|
+
application/json:
|
|
3943
|
+
schema:
|
|
3944
|
+
additionalProperties: false
|
|
3945
|
+
allOf:
|
|
3946
|
+
- *ref_46
|
|
3947
|
+
responses:
|
|
3948
|
+
'200':
|
|
3949
|
+
description: Successful Response
|
|
3950
|
+
content:
|
|
3951
|
+
application/json:
|
|
3952
|
+
schema:
|
|
3953
|
+
type: array
|
|
3954
|
+
items: *ref_48
|
|
3955
|
+
example:
|
|
3956
|
+
- version: '32425224034'
|
|
3957
|
+
hash: string
|
|
3958
|
+
state_change_hash: string
|
|
3959
|
+
event_root_hash: string
|
|
3960
|
+
state_checkpoint_hash: string
|
|
3961
|
+
gas_used: '32425224034'
|
|
3962
|
+
success: true
|
|
3963
|
+
vm_status: string
|
|
3964
|
+
accumulator_root_hash: string
|
|
3965
|
+
changes:
|
|
3966
|
+
- type: delete_module
|
|
3967
|
+
address: >-
|
|
3968
|
+
0x88fbd33f54e1126269769780feb24480428179f552e2313fbe571b72e62a1ca1
|
|
3969
|
+
state_key_hash: string
|
|
3970
|
+
module: 0x1::aptos_coin
|
|
3971
|
+
sender: >-
|
|
3972
|
+
0x88fbd33f54e1126269769780feb24480428179f552e2313fbe571b72e62a1ca1
|
|
3973
|
+
sequence_number: '32425224034'
|
|
3974
|
+
max_gas_amount: '32425224034'
|
|
3975
|
+
gas_unit_price: '32425224034'
|
|
3976
|
+
expiration_timestamp_secs: '32425224034'
|
|
3977
|
+
payload:
|
|
3978
|
+
type: entry_function_payload
|
|
3979
|
+
function: 0x1::aptos_coin::transfer
|
|
3980
|
+
type_arguments:
|
|
3981
|
+
- string
|
|
3982
|
+
arguments:
|
|
3983
|
+
- null
|
|
3984
|
+
signature:
|
|
3985
|
+
type: ed25519_signature
|
|
3986
|
+
public_key: >-
|
|
3987
|
+
0x88fbd33f54e1126269769780feb24480428179f552e2313fbe571b72e62a1ca1
|
|
3988
|
+
signature: >-
|
|
3989
|
+
0x88fbd33f54e1126269769780feb24480428179f552e2313fbe571b72e62a1ca1
|
|
3990
|
+
events:
|
|
3991
|
+
- guid:
|
|
3992
|
+
creation_number: '32425224034'
|
|
3993
|
+
account_address: >-
|
|
3994
|
+
0x88fbd33f54e1126269769780feb24480428179f552e2313fbe571b72e62a1ca1
|
|
3995
|
+
sequence_number: '32425224034'
|
|
3996
|
+
type: string
|
|
3997
|
+
data: null
|
|
3998
|
+
timestamp: '32425224034'
|
|
3999
|
+
headers:
|
|
4000
|
+
X-APTOS-BLOCK-HEIGHT:
|
|
4001
|
+
description: Current block height of the chain
|
|
4002
|
+
schema:
|
|
4003
|
+
type: integer
|
|
4004
|
+
required: true
|
|
4005
|
+
X-APTOS-CHAIN-ID:
|
|
4006
|
+
description: Chain ID of the current chain
|
|
4007
|
+
schema:
|
|
4008
|
+
type: integer
|
|
4009
|
+
required: true
|
|
4010
|
+
X-APTOS-EPOCH:
|
|
4011
|
+
description: Current epoch of the chain
|
|
4012
|
+
schema:
|
|
4013
|
+
type: integer
|
|
4014
|
+
required: true
|
|
4015
|
+
X-APTOS-LEDGER-OLDEST-VERSION:
|
|
4016
|
+
description: Oldest non-pruned ledger version of the chain
|
|
4017
|
+
schema:
|
|
4018
|
+
type: integer
|
|
4019
|
+
required: true
|
|
4020
|
+
X-APTOS-LEDGER-TIMESTAMPUSEC:
|
|
4021
|
+
description: Current timestamp of the chain
|
|
4022
|
+
schema:
|
|
4023
|
+
type: integer
|
|
4024
|
+
required: true
|
|
4025
|
+
X-APTOS-LEDGER-VERSION:
|
|
4026
|
+
description: Current ledger version of the chain
|
|
4027
|
+
schema:
|
|
4028
|
+
type: integer
|
|
4029
|
+
required: true
|
|
4030
|
+
X-APTOS-OLDEST-BLOCK-HEIGHT:
|
|
4031
|
+
description: Oldest non-pruned block height of the chain
|
|
4032
|
+
schema:
|
|
4033
|
+
type: integer
|
|
4034
|
+
required: true
|
|
4035
|
+
X-APTOS-CURSOR:
|
|
4036
|
+
description: Cursor for the next page
|
|
4037
|
+
schema:
|
|
4038
|
+
type: string
|
|
4039
|
+
required: true
|
|
4040
|
+
'400': *ref_2
|
|
4041
|
+
/transactions/encode_submission:
|
|
4042
|
+
post:
|
|
4043
|
+
security:
|
|
4044
|
+
- api_key: []
|
|
4045
|
+
tags:
|
|
4046
|
+
- Transactions
|
|
4047
|
+
description: >-
|
|
4048
|
+
트랜잭션을 실제로 실행하기 전, 시뮬레이션할 수 있습니다. 이를 이용하여 실행될 트랜잭션의 최대 가스 사용량을 추정할 수
|
|
4049
|
+
있습니다.
|
|
4050
|
+
summary: Encode submission
|
|
4051
|
+
operationId: aptos_encodeSubmission
|
|
4052
|
+
requestBody:
|
|
4053
|
+
required: true
|
|
4054
|
+
content:
|
|
4055
|
+
application/json:
|
|
4056
|
+
schema:
|
|
4057
|
+
additionalProperties: false
|
|
4058
|
+
allOf:
|
|
4059
|
+
- title: TransactionWithoutSignature
|
|
4060
|
+
type: object
|
|
4061
|
+
required:
|
|
4062
|
+
- sender
|
|
4063
|
+
- sequence_number
|
|
4064
|
+
- max_gas_amount
|
|
4065
|
+
- gas_unit_price
|
|
4066
|
+
- expiration_timestamp_secs
|
|
4067
|
+
- payload
|
|
4068
|
+
properties:
|
|
4069
|
+
sender: *ref_49
|
|
4070
|
+
sequence_number: *ref_50
|
|
4071
|
+
max_gas_amount: *ref_51
|
|
4072
|
+
gas_unit_price: *ref_52
|
|
4073
|
+
expiration_timestamp_secs: *ref_53
|
|
4074
|
+
payload: *ref_54
|
|
4075
|
+
- type: object
|
|
4076
|
+
properties:
|
|
4077
|
+
secondary_signers: *ref_55
|
|
4078
|
+
responses:
|
|
4079
|
+
'200':
|
|
4080
|
+
description: Successful Response
|
|
4081
|
+
content:
|
|
4082
|
+
application/json:
|
|
4083
|
+
schema:
|
|
4084
|
+
type: string
|
|
4085
|
+
description: 인코딩된 트랜잭션
|
|
4086
|
+
example: >-
|
|
4087
|
+
0x88fbd33f54e1126269769780feb24480428179f552e2313fbe571b72e62a1ca1
|
|
4088
|
+
headers:
|
|
4089
|
+
X-APTOS-BLOCK-HEIGHT:
|
|
4090
|
+
description: Current block height of the chain
|
|
4091
|
+
schema:
|
|
4092
|
+
type: integer
|
|
4093
|
+
required: true
|
|
4094
|
+
X-APTOS-CHAIN-ID:
|
|
4095
|
+
description: Chain ID of the current chain
|
|
4096
|
+
schema:
|
|
4097
|
+
type: integer
|
|
4098
|
+
required: true
|
|
4099
|
+
X-APTOS-EPOCH:
|
|
4100
|
+
description: Current epoch of the chain
|
|
4101
|
+
schema:
|
|
4102
|
+
type: integer
|
|
4103
|
+
required: true
|
|
4104
|
+
X-APTOS-LEDGER-OLDEST-VERSION:
|
|
4105
|
+
description: Oldest non-pruned ledger version of the chain
|
|
4106
|
+
schema:
|
|
4107
|
+
type: integer
|
|
4108
|
+
required: true
|
|
4109
|
+
X-APTOS-LEDGER-TIMESTAMPUSEC:
|
|
4110
|
+
description: Current timestamp of the chain
|
|
4111
|
+
schema:
|
|
4112
|
+
type: integer
|
|
4113
|
+
required: true
|
|
4114
|
+
X-APTOS-LEDGER-VERSION:
|
|
4115
|
+
description: Current ledger version of the chain
|
|
4116
|
+
schema:
|
|
4117
|
+
type: integer
|
|
4118
|
+
required: true
|
|
4119
|
+
X-APTOS-OLDEST-BLOCK-HEIGHT:
|
|
4120
|
+
description: Oldest non-pruned block height of the chain
|
|
4121
|
+
schema:
|
|
4122
|
+
type: integer
|
|
4123
|
+
required: true
|
|
4124
|
+
X-APTOS-CURSOR:
|
|
4125
|
+
description: Cursor for the next page
|
|
4126
|
+
schema:
|
|
4127
|
+
type: string
|
|
4128
|
+
required: true
|
|
4129
|
+
'400': *ref_2
|
|
4130
|
+
/estimate_gas_price:
|
|
4131
|
+
get:
|
|
4132
|
+
security:
|
|
4133
|
+
- api_key: []
|
|
4134
|
+
tags:
|
|
4135
|
+
- Transactions
|
|
4136
|
+
description: 트랜잭션을 수행하는데 필요한 Gas의 가격 단가를 추정하여 반환합니다.
|
|
4137
|
+
summary: Estimate gas price
|
|
4138
|
+
operationId: aptos_estimateGasPrice
|
|
4139
|
+
responses:
|
|
4140
|
+
'200':
|
|
4141
|
+
description: Successful Response
|
|
4142
|
+
content:
|
|
4143
|
+
application/json:
|
|
4144
|
+
schema:
|
|
4145
|
+
type: object
|
|
4146
|
+
required:
|
|
4147
|
+
- gas_estimate
|
|
4148
|
+
properties:
|
|
4149
|
+
deprioritized_gas_estimate:
|
|
4150
|
+
type: integer
|
|
4151
|
+
description: The deprioritized estimate for the gas unit price
|
|
4152
|
+
gas_estimate:
|
|
4153
|
+
type: integer
|
|
4154
|
+
description: The current estimate for the gas unit price
|
|
4155
|
+
prioritized_gas_estimate:
|
|
4156
|
+
type: integer
|
|
4157
|
+
description: The prioritized estimate for the gas unit price
|
|
4158
|
+
example:
|
|
4159
|
+
deprioritized_gas_estimate: 100
|
|
4160
|
+
gas_estimate: 100
|
|
4161
|
+
prioritized_gas_estimate: 150
|
|
4162
|
+
headers:
|
|
4163
|
+
X-APTOS-BLOCK-HEIGHT:
|
|
4164
|
+
description: Current block height of the chain
|
|
4165
|
+
schema:
|
|
4166
|
+
type: integer
|
|
4167
|
+
required: true
|
|
4168
|
+
X-APTOS-CHAIN-ID:
|
|
4169
|
+
description: Chain ID of the current chain
|
|
4170
|
+
schema:
|
|
4171
|
+
type: integer
|
|
4172
|
+
required: true
|
|
4173
|
+
X-APTOS-EPOCH:
|
|
4174
|
+
description: Current epoch of the chain
|
|
4175
|
+
schema:
|
|
4176
|
+
type: integer
|
|
4177
|
+
required: true
|
|
4178
|
+
X-APTOS-LEDGER-OLDEST-VERSION:
|
|
4179
|
+
description: Oldest non-pruned ledger version of the chain
|
|
4180
|
+
schema:
|
|
4181
|
+
type: integer
|
|
4182
|
+
required: true
|
|
4183
|
+
X-APTOS-LEDGER-TIMESTAMPUSEC:
|
|
4184
|
+
description: Current timestamp of the chain
|
|
4185
|
+
schema:
|
|
4186
|
+
type: integer
|
|
4187
|
+
required: true
|
|
4188
|
+
X-APTOS-LEDGER-VERSION:
|
|
4189
|
+
description: Current ledger version of the chain
|
|
4190
|
+
schema:
|
|
4191
|
+
type: integer
|
|
4192
|
+
required: true
|
|
4193
|
+
X-APTOS-OLDEST-BLOCK-HEIGHT:
|
|
4194
|
+
description: Oldest non-pruned block height of the chain
|
|
4195
|
+
schema:
|
|
4196
|
+
type: integer
|
|
4197
|
+
required: true
|
|
4198
|
+
X-APTOS-CURSOR:
|
|
4199
|
+
description: Cursor for the next page
|
|
4200
|
+
schema:
|
|
4201
|
+
type: string
|
|
4202
|
+
required: true
|
|
4203
|
+
'400': *ref_2
|
|
4204
|
+
/transactions/wait_by_hash/{txn_hash}:
|
|
4205
|
+
get:
|
|
4206
|
+
security:
|
|
4207
|
+
- api_key: []
|
|
4208
|
+
tags:
|
|
4209
|
+
- Transactions
|
|
4210
|
+
description: >-
|
|
4211
|
+
특정 트랜잭션이 블록체인에 포함될 때까지 기다리는 기능을 제공하며, 응답으로 블록에 포함된 트랜잭션의 세부 정보를 반환합니다.
|
|
4212
|
+
예를 들어, 상태를 변경하는 트랜잭션을 전송하고 변경된 값을 확인하기 위해 이 API를 사용할 수 있습니다.
|
|
4213
|
+
summary: Wait for transaction by hash
|
|
4214
|
+
operationId: aptos_waitForTransactionByHash
|
|
4215
|
+
parameters:
|
|
4216
|
+
- *ref_56
|
|
4217
|
+
responses:
|
|
4218
|
+
'200':
|
|
4219
|
+
description: Successful Response
|
|
4220
|
+
content:
|
|
4221
|
+
application/json:
|
|
4222
|
+
schema: *ref_37
|
|
4223
|
+
example:
|
|
4224
|
+
version: '1044847236'
|
|
4225
|
+
hash: >-
|
|
4226
|
+
0x1fc27693b962a2cf027a8badb6e9b187e412b47b36e173d192618d816ccb27f6
|
|
4227
|
+
state_change_hash: >-
|
|
4228
|
+
0x784a04526c559d7a208882f9bfd8592f97c28dacd153468197d9ff2c46fceeb1
|
|
4229
|
+
event_root_hash: >-
|
|
4230
|
+
0xb52b262d4f56206bbc477311f0ec04e46d4f2e6de832812a36166264bf4907fd
|
|
4231
|
+
state_checkpoint_hash: null
|
|
4232
|
+
gas_used: '437'
|
|
4233
|
+
success: true
|
|
4234
|
+
vm_status: Executed successfully
|
|
4235
|
+
accumulator_root_hash: >-
|
|
4236
|
+
0xcb2796e19ec786439f146bb2b2f1668bca7c2259be13ff2edb0548ee206d9a88
|
|
4237
|
+
changes:
|
|
4238
|
+
- address: >-
|
|
4239
|
+
0x2d91309b5b07a8be428ccd75d0443e81542ffcd059d0ab380cefc552229b1a
|
|
4240
|
+
state_key_hash: >-
|
|
4241
|
+
0x7ccd1bf99fd6f130c9298c6ccf108009c767da85812228b01f7f45ac2c9d9a7e
|
|
4242
|
+
data:
|
|
4243
|
+
type: 0x1::coin::CoinStore<0x1::aptos_coin::AptosCoin>
|
|
4244
|
+
data:
|
|
4245
|
+
coin:
|
|
4246
|
+
value: '1007482890202'
|
|
4247
|
+
deposit_events:
|
|
4248
|
+
counter: '23'
|
|
4249
|
+
guid:
|
|
4250
|
+
id:
|
|
4251
|
+
addr: >-
|
|
4252
|
+
0x2d91309b5b07a8be428ccd75d0443e81542ffcd059d0ab380cefc552229b1a
|
|
4253
|
+
creation_num: '2'
|
|
4254
|
+
frozen: false
|
|
4255
|
+
withdraw_events:
|
|
4256
|
+
counter: '30895196'
|
|
4257
|
+
guid:
|
|
4258
|
+
id:
|
|
4259
|
+
addr: >-
|
|
4260
|
+
0x2d91309b5b07a8be428ccd75d0443e81542ffcd059d0ab380cefc552229b1a
|
|
4261
|
+
creation_num: '3'
|
|
4262
|
+
type: write_resource
|
|
4263
|
+
- address: >-
|
|
4264
|
+
0x2d91309b5b07a8be428ccd75d0443e81542ffcd059d0ab380cefc552229b1a
|
|
4265
|
+
state_key_hash: >-
|
|
4266
|
+
0x91ff441dca35855341187fb1fbd5fc97e2ce80fd55878f3d54383dae75698dde
|
|
4267
|
+
data:
|
|
4268
|
+
type: 0x1::account::Account
|
|
4269
|
+
data:
|
|
4270
|
+
authentication_key: >-
|
|
4271
|
+
0x002d91309b5b07a8be428ccd75d0443e81542ffcd059d0ab380cefc552229b1a
|
|
4272
|
+
coin_register_events:
|
|
4273
|
+
counter: '10'
|
|
4274
|
+
guid:
|
|
4275
|
+
id:
|
|
4276
|
+
addr: >-
|
|
4277
|
+
0x2d91309b5b07a8be428ccd75d0443e81542ffcd059d0ab380cefc552229b1a
|
|
4278
|
+
creation_num: '0'
|
|
4279
|
+
guid_creation_num: '22'
|
|
4280
|
+
key_rotation_events:
|
|
4281
|
+
counter: '0'
|
|
4282
|
+
guid:
|
|
4283
|
+
id:
|
|
4284
|
+
addr: >-
|
|
4285
|
+
0x2d91309b5b07a8be428ccd75d0443e81542ffcd059d0ab380cefc552229b1a
|
|
4286
|
+
creation_num: '1'
|
|
4287
|
+
rotation_capability_offer:
|
|
4288
|
+
for:
|
|
4289
|
+
vec: []
|
|
4290
|
+
sequence_number: '30895196'
|
|
4291
|
+
signer_capability_offer:
|
|
4292
|
+
for:
|
|
4293
|
+
vec: []
|
|
4294
|
+
type: write_resource
|
|
4295
|
+
- address: >-
|
|
4296
|
+
0x7e783b349d3e89cf5931af376ebeadbfab855b3fa239b7ada8f5a92fbea6b387
|
|
4297
|
+
state_key_hash: >-
|
|
4298
|
+
0x81f6eabb9b8370c72d58374eb56a6f3c925929ee54f95aadf5bdc11facf5480e
|
|
4299
|
+
data:
|
|
4300
|
+
type: 0x1::coin::CoinStore<0x1::aptos_coin::AptosCoin>
|
|
4301
|
+
data:
|
|
4302
|
+
coin:
|
|
4303
|
+
value: '312912148'
|
|
4304
|
+
deposit_events:
|
|
4305
|
+
counter: '32794231'
|
|
4306
|
+
guid:
|
|
4307
|
+
id:
|
|
4308
|
+
addr: >-
|
|
4309
|
+
0x7e783b349d3e89cf5931af376ebeadbfab855b3fa239b7ada8f5a92fbea6b387
|
|
4310
|
+
creation_num: '3'
|
|
4311
|
+
frozen: false
|
|
4312
|
+
withdraw_events:
|
|
4313
|
+
counter: '0'
|
|
4314
|
+
guid:
|
|
4315
|
+
id:
|
|
4316
|
+
addr: >-
|
|
4317
|
+
0x7e783b349d3e89cf5931af376ebeadbfab855b3fa239b7ada8f5a92fbea6b387
|
|
4318
|
+
creation_num: '4'
|
|
4319
|
+
type: write_resource
|
|
4320
|
+
- state_key_hash: >-
|
|
4321
|
+
0x6e4b28d40f98a106a65163530924c0dcb40c1349d3aa915d108b4d6cfc1ddb19
|
|
4322
|
+
handle: >-
|
|
4323
|
+
0x1b854694ae746cdbd8d44186ca4929b2b337df21d1c74633be19b2710552fdca
|
|
4324
|
+
key: >-
|
|
4325
|
+
0x0619dc29a0aac8fa146714058e8dd6d2d0f3bdf5f6331907bf91f3acd81e6935
|
|
4326
|
+
value: '0xa1438450d65789010000000000000000'
|
|
4327
|
+
data: null
|
|
4328
|
+
type: write_table_item
|
|
4329
|
+
sender: >-
|
|
4330
|
+
0x2d91309b5b07a8be428ccd75d0443e81542ffcd059d0ab380cefc552229b1a
|
|
4331
|
+
sequence_number: '30895195'
|
|
4332
|
+
max_gas_amount: '200000'
|
|
4333
|
+
gas_unit_price: '100'
|
|
4334
|
+
expiration_timestamp_secs: '1721700759'
|
|
4335
|
+
payload:
|
|
4336
|
+
function: >-
|
|
4337
|
+
0x7e783b349d3e89cf5931af376ebeadbfab855b3fa239b7ada8f5a92fbea6b387::pyth::update_price_feeds_with_funder
|
|
4338
|
+
type_arguments: []
|
|
4339
|
+
arguments:
|
|
4340
|
+
- - >-
|
|
4341
|
+
0x504e41550100000003b801000000040d009fb24830754f91d6dba1b6a000a0eae6906aeed55d443ed61b8e2e59a49ec4810b424a608f918f3a693244f3b6dae5099d297629779b4a45b7bdb44d2c27d9440002ec3e3bda2c39912fbad9e2ff755b1d66cf35b7b170974dc20759409895f159de5eb2558b89b687403e62810d89244995b1a75982849c104708ac6f39624f41160103fbb9c0c2be4b174791856cee46e0b1bcd8b5b4fb7df9a32020ab039588a6bc5d15b79187b0cd01d3269f9c123cdd2ae74bdc22d03a3250a3132dbc11d32bd58d0004c10cc2a33b7d45cfd97a1ebe2ffde04f662d197daeef0fac0b38ebd09eb938881f6bc66a1cb17892444cf6e2eb227298c100dfb4ca61e021c75336192d0223190006d0d2c24bc9c4d9f17f8366011ef2a97faad7c27845a85994783577ad8d4a38604f2dbda997dfc28b5199ede95c30b276d8289975d5e4c072671abe141baf46c60108c492d9dea6053adb7103d2de823eeee233914dc569f5ff096e727f367ce3bbed46aa743440535db8adc5dc69c14f8c48c643da15ecf35a3ffcd12ff0eccea4ad000a3cf9e9c6a24b7b39967f26a1be671d48a7831ae609b1a4e3bf8c3da1292e8a6922c56fee7101a897d83a9158a47ea76bd42fc87558136ff3b6d5683d2a08a5d8000b4444246ebfc203e4b571c31a4505d4c25760d79129b9d4d4da7863fdec3ffe4006bead2fc052b6d9100d641a4d36c7da1b06614f2c6e79e89a975560e636f489000cfb916fa5daa8d052c3a3a18e81b9d15bb252a72b6b9665aba002868f95abbea21df1631483f140a60e127895b000d4aab4bc0738ca0a2d045d202269d7e22b05000d3406ef3123c56b69da2b04ca2b10dfae1e924ebdd5468113661cf91b0d654be10a8c565eb9cc96dd406e031a808fc3a01270481abe284cea037b819fe6f71ca2010ef8a243067aab54b0c57dfbbc176f66716675f81a3e8c2313aa5b1541d947412d22860eed24c310700f4af299524d5394598bbcfb74da402caf4368b687da5a89000f8ac01970bfa90f4962c8e74679f976f10277809822e997797fbbee89acd9b97e6b842d816c6e8c5ab45ba189f974c7f8822f281157e7c63ab77ee5303c6712640112a81447ee8cdacefd981d186d29b43e819d16de342609b74f272c3ee1742a6c7b28f438149dadfcaccb37e9142d658bad86f77c05ee72082a473b4655586340c601669f118000000000001ae101faedac5851e32b9b23b5f9411a8c2bac4aae3ed4dd7b811dd1a72ea4aa7100000000042cb3eb0141555756000000000009374a680000271036afcad3eb5d00df993f67fb929a4148a7d0f9620c00550003ae4db29ed4ae33d323568895aa00337e658e348b37509f5372ae51f0af00d5000000002b4d829f0000000000138e2bfffffff800000000669f118000000000669f1180000000002b509d8200000000001386ee0b6cec9ddecc03880b8a47c4941e84b590921041e7c01237cb5896ab4330befb0d8e3630e769b27e2c8c0fdb52abf39bd891a4d2e4be9768519232ad6c1a2ae30955a3fc28f5968d162a6fd82deb6acdddaaf60f5b827ed12cbf2854bd6e45d0325ff2435fca39cc30fedfae6acc226feabb4ce985128b9cd492d134e0cad93e8df8b72cd5c79c05f42bac0ddf84cb4740c30f06869409eebc45856177cd2d12e557c66bb08fc8ffab8008a22298e8d4422be17bca5936e77ba993ee1ed6af9be316a3fbe0d7d4e239d738a07e7cc9fb506efbddecfa07124baa8b66e9005500e62df6c8b4a85fe1a67db44dc12de5db330f7ac66b72dc658afedf0f4a415b430000061f69f644e000000000ed50de60fffffff800000000669f118000000000669f1180000006235ea825a000000000c7eadc480b1ebd51308d1218dafa07642f368be5c992febf389f7d420250556c912f0907e1126e8c1dced5ce00d196b8e6728e38e420763a9c57b6917d6b339a1e08830597628492147521992c3fa8e317ddb83faa5af5fb79d116141aece019692302394770e903cbe7e54dc2406ef1486c508c9c4d3853c1f91c10349ec2fa44f20317a468b0714bf0ba8e46a715b2f45e00dae2ba2c449b071702f9002ae5bd2fa2083e06d877121444fd6bec0651b1c36de6201e4767255936e77ba993ee1ed6af9be316a3fbe0d7d4e239d738a07e7cc9fb506efbddecfa07124baa8b66e9005500ff61491a931112ddf1bd8147cd1b641375f79f5825126d665480874634fd0ace00000050ed61e700000000000ae3aff8fffffff800000000669f118000000000669f118000000050c7f7a7c000000000097cf14d0ba200744d82d7c3fd3876bab762b0a50d2ad6f3c5d5aafc83765e200a5c26252ac958fb50b0ba798330411d1cfde080aa76c9a48e518e5b586e69e8777ef1e13fecfaf4e35d7faa14a74286b168be0638b96652485b0e73e896707d7d3c0b7867f0d0a16e916bc0613803d2b9c5126d37361bf6b0068f21227e2bd0e103cae1bec7e29ce0be5d9a80cd6dc50684749c501fd714486b88c940af7900af856271a37676558d759552a9e45f39cd8053384a8b3edbc5a0e229e6328ee23f9369e43b437c8f568cafd019d738a07e7cc9fb506efbddecfa07124baa8b66e9005500ef0d8b6fda2ceba41da15d4095d1da392a0d2f8ed0c6c7bc0f4cfac8c280b56d0000000422b29c800000000000e6b742fffffff800000000669f118000000000669f11800000000429e7a5cc0000000000d7efa70bc0ecc614fe8768f7ec3ca6a9a74553816f62c51adb89e26989c2a3f5b4802e09883f204cf6d487981082a3ba835c6928c844c4a3928f08bb9ec3c53477e56d9ea0088a9f58202c364776bd67da9cc0cfa657cd018d815a9adbe77e9396560cd3390c3e6f564ca8e80e63f9bbd034ae3afd5d3c50340fca319ec2fa44f20317a468b0714bf0ba8e46a715b2f45e00dae2ba2c449b071702f9002ae5bd2fa2083e06d877121444fd6bec0651b1c36de6201e4767255936e77ba993ee1ed6af9be316a3fbe0d7d4e239d738a07e7cc9fb506efbddecfa07124baa8b66e9005500eaa020c61cc479712813461ce153894a96a6c00b21ed0cfc2798d1f9a9e9c94a0000000005f5c51d000000000001852efffffff800000000669f118000000000669f11800000000005f5c3ba000000000001640d0b2c442930a78600a8b79aca0f77c2ab2359699213eea932d48fe8abaae41e0a4f8816e254524f671a9a6b6c30953a0ab24fb7ed67bbbb3d60dafaa75408830597628492147521992c3fa8e317ddb83faa5af5fb79d116141aece019692302394770e903cbe7e54dc2406ef1486c508c9c4d3853c1f91c10349ec2fa44f20317a468b0714bf0ba8e46a715b2f45e00dae2ba2c449b071702f9002ae5bd2fa2083e06d877121444fd6bec0651b1c36de6201e4767255936e77ba993ee1ed6af9be316a3fbe0d7d4e239d738a07e7cc9fb506efbddecfa07124baa8b66e90055002b89b9dc8fdf9f34709a5b106b472f0f39bb6ca9ce04b0fd7f2e971688e2e53b0000000005f5fe4c00000000000183b8fffffff800000000669f118000000000669f11800000000005f6334500000000000186320bc75c6b485f2e31f5716dd8f4595842eef359508d18e18d5177a0649050990fdc1f1b6834a5420fdf4ace3f0d10ab200b53ede05f2514af39886d1539235f71317303326a4a17c14254c00438b0f9db37c5ccf84a96b3cd13ff83c4c28ffb4ec46940088f3abd357a3250da282102a3d2e09b4104ec0dada41609f5ba4b8ac4f649ead72ceb720164e133780c84cb4740c30f06869409eebc45856177cd2d12e557c66bb08fc8ffab8008a22298e8d4422be17bca5936e77ba993ee1ed6af9be316a3fbe0d7d4e239d738a07e7cc9fb506efbddecfa07124baa8b66e90055002356af9529a1064d41e32d617e2ce1dca5733afa901daba9e2b68dee5d53ecf9000000000c3353c1000000000003a2ecfffffff800000000669f118000000000669f1180000000000c31e362000000000004476d0bd6a4816c1bf5eb862d3f066b581b06557f55f79488ce88a4c9edcc123cd3fb3be392c79249daaf0ac2b6d6ea54ab3abc4ed6fc65f4f69821b934c1c219e16c401f7ae17b91be66485c7502415176202370f437356935842de0168d7646ea72db59030e883abd357a3250da282102a3d2e09b4104ec0dada41609f5ba4b8ac4f649ead72ceb720164e133780c84cb4740c30f06869409eebc45856177cd2d12e557c66bb08fc8ffab8008a22298e8d4422be17bca5936e77ba993ee1ed6af9be316a3fbe0d7d4e239d738a07e7cc9fb506efbddecfa07124baa8b66e900550023d7315113f5b1d3ba7a83604c44b94d79f4fd69af77f804fc7f920a6dc657440000000005013bbe0000000000017b6bfffffff800000000669f118000000000669f1180000000000500128b00000000000195520b6fb5256469f21f0383b20b297032cb81ef1082fcbbdd2c6352a7fd5c1439f4eaf5e143f53adc7d8b7c81bb31bd3aa25690c638b190fff75882d30c6e19e16c401f7ae17b91be66485c7502415176202370f437356935842de0168d7646ea72db59030e883abd357a3250da282102a3d2e09b4104ec0dada41609f5ba4b8ac4f649ead72ceb720164e133780c84cb4740c30f06869409eebc45856177cd2d12e557c66bb08fc8ffab8008a22298e8d4422be17bca5936e77ba993ee1ed6af9be316a3fbe0d7d4e239d738a07e7cc9fb506efbddecfa07124baa8b66e9005500e5b274b2611143df055d6e7cd8d93fe1961716bcd4dca1cad87a83bc1e78c1ef000000000068cd8a0000000000004492fffffff800000000669f118000000000669f1180000000000068777400000000000046370b9a976633e223daa059de1432e29f394c526bdee39f7d420250556c912f0907e1126e8c1dced5ce00d196b8e6728e38e420763a9c57b6917d6b339a1e08830597628492147521992c3fa8e317ddb83faa5af5fb79d116141aece019692302394770e903cbe7e54dc2406ef1486c508c9c4d3853c1f91c10349ec2fa44f20317a468b0714bf0ba8e46a715b2f45e00dae2ba2c449b071702f9002ae5bd2fa2083e06d877121444fd6bec0651b1c36de6201e4767255936e77ba993ee1ed6af9be316a3fbe0d7d4e239d738a07e7cc9fb506efbddecfa07124baa8b66e90055002f95862b045670cd22bee3114c39763a4a08beeb663b145d283c31d7d1101c4f0000000dc48818da00000000036ee312fffffff800000000669f118000000000669f11800000000dc69a41c800000000034f6f5d0b54cfb8e6104d9427ddda990199cc81f90f0532b7bf1c5841f696657a8ad7f4c938154ac770d805b8821cece257de44ca25cb089f6ec255ca57717c64fe31114137b7aa3136afdec2cdb4811ddc371cfec5ccf84a96b3cd13ff83c4c28ffb4ec46940088f3abd357a3250da282102a3d2e09b4104ec0dada41609f5ba4b8ac4f649ead72ceb720164e133780c84cb4740c30f06869409eebc45856177cd2d12e557c66bb08fc8ffab8008a22298e8d4422be17bca5936e77ba993ee1ed6af9be316a3fbe0d7d4e239d738a07e7cc9fb506efbddecfa07124baa8b66e9005500c9d8b075a5c69303365ae23633d4e085199bf5c520a3b90fed1322a0342ffc330000061f54ff32a900000002694fdeb1fffffff800000000669f118000000000669f118000000623165521e000000002492b30680b0886a75f2b393ad7955689d98298578f8cbe6356e66646259b0bbb961a79191dced342c1341b57d10f3013d9478e7ddac19124b17a0a785340b40986a937f1c319616caf9b5c8da314b27a45e04ab6da14dfc4b9b89c01740bf340b5c3db0d79b1cb74e625154cd64a567d4dfa866aa48a77a729a3fa0eeb82a3f6a970933d6a7f0a84ebc420f08601aa71335e00dae2ba2c449b071702f9002ae5bd2fa2083e06d877121444fd6bec0651b1c36de6201e4767255936e77ba993ee1ed6af9be316a3fbe0d7d4e239d738a07e7cc9fb506efbddecfa07124baa8b66e900550074e3fbb0d33e0ed8c0078b56134dcebdae38852f0858a8ea4de4c5ea7474bd420000000003b8fcd70000000000034af1fffffff800000000669f118000000000669f11800000000003ba318a0000000000037f4b0b1eb173905973ed35773faf0322c04236b7f5359b253e33a864425931c03f52dc4050531bc6d2615041e197894c33064fd78e9d59de75658a58858eed578fd617c69fb585fc60e6cbe615f1844a9a3d8ce2237f9af355ea95f0172e6e425017c1607e7d04ec68d0a416eee618f93cdd9eb94cbd98bf68c64c86f35f0c0c4bc7ff1ad8e33de07260ea5c4368c0b9a452ee5ad180fde3a092f67aa31bcc3887652b57c66bb08fc8ffab8008a22298e8d4422be17bca5936e77ba993ee1ed6af9be316a3fbe0d7d4e239d738a07e7cc9fb506efbddecfa07124baa8b66e9
|
|
4342
|
+
type: entry_function_payload
|
|
4343
|
+
signature:
|
|
4344
|
+
public_key: >-
|
|
4345
|
+
0x57a25a6dbdb4693658595c41ca61e1f8a644353ffe8babf7fb7bd7cd70828ba6
|
|
4346
|
+
signature: >-
|
|
4347
|
+
0x515c2573cb20d8ca05b160867ac41f12a7c1ccb8cfb41d16c57f526b81c48767242a85de5ea5655b88de7b463de50a178c8335136a339d0eb72016b10db19206
|
|
4348
|
+
type: ed25519_signature
|
|
4349
|
+
events:
|
|
4350
|
+
- guid:
|
|
4351
|
+
creation_number: '3'
|
|
4352
|
+
account_address: >-
|
|
4353
|
+
0x2d91309b5b07a8be428ccd75d0443e81542ffcd059d0ab380cefc552229b1a
|
|
4354
|
+
sequence_number: '30895195'
|
|
4355
|
+
type: 0x1::coin::WithdrawEvent
|
|
4356
|
+
data:
|
|
4357
|
+
amount: '12'
|
|
4358
|
+
- guid:
|
|
4359
|
+
creation_number: '3'
|
|
4360
|
+
account_address: >-
|
|
4361
|
+
0x7e783b349d3e89cf5931af376ebeadbfab855b3fa239b7ada8f5a92fbea6b387
|
|
4362
|
+
sequence_number: '32794230'
|
|
4363
|
+
type: 0x1::coin::DepositEvent
|
|
4364
|
+
data:
|
|
4365
|
+
amount: '12'
|
|
4366
|
+
- guid:
|
|
4367
|
+
creation_number: '0'
|
|
4368
|
+
account_address: '0x0'
|
|
4369
|
+
sequence_number: '0'
|
|
4370
|
+
type: 0x1::transaction_fee::FeeStatement
|
|
4371
|
+
data:
|
|
4372
|
+
execution_gas_units: '429'
|
|
4373
|
+
io_gas_units: '9'
|
|
4374
|
+
storage_fee_octas: '0'
|
|
4375
|
+
storage_fee_refund_octas: '0'
|
|
4376
|
+
total_charge_gas_units: '437'
|
|
4377
|
+
timestamp: '1721700741548684'
|
|
4378
|
+
type: user_transaction
|
|
4379
|
+
headers:
|
|
4380
|
+
X-APTOS-BLOCK-HEIGHT:
|
|
4381
|
+
description: Current block height of the chain
|
|
4382
|
+
schema:
|
|
4383
|
+
type: integer
|
|
4384
|
+
required: true
|
|
4385
|
+
X-APTOS-CHAIN-ID:
|
|
4386
|
+
description: Chain ID of the current chain
|
|
4387
|
+
schema:
|
|
4388
|
+
type: integer
|
|
4389
|
+
required: true
|
|
4390
|
+
X-APTOS-EPOCH:
|
|
4391
|
+
description: Current epoch of the chain
|
|
4392
|
+
schema:
|
|
4393
|
+
type: integer
|
|
4394
|
+
required: true
|
|
4395
|
+
X-APTOS-LEDGER-OLDEST-VERSION:
|
|
4396
|
+
description: Oldest non-pruned ledger version of the chain
|
|
4397
|
+
schema:
|
|
4398
|
+
type: integer
|
|
4399
|
+
required: true
|
|
4400
|
+
X-APTOS-LEDGER-TIMESTAMPUSEC:
|
|
4401
|
+
description: Current timestamp of the chain
|
|
4402
|
+
schema:
|
|
4403
|
+
type: integer
|
|
4404
|
+
required: true
|
|
4405
|
+
X-APTOS-LEDGER-VERSION:
|
|
4406
|
+
description: Current ledger version of the chain
|
|
4407
|
+
schema:
|
|
4408
|
+
type: integer
|
|
4409
|
+
required: true
|
|
4410
|
+
X-APTOS-OLDEST-BLOCK-HEIGHT:
|
|
4411
|
+
description: Oldest non-pruned block height of the chain
|
|
4412
|
+
schema:
|
|
4413
|
+
type: integer
|
|
4414
|
+
required: true
|
|
4415
|
+
X-APTOS-CURSOR:
|
|
4416
|
+
description: Cursor for the next page
|
|
4417
|
+
schema:
|
|
4418
|
+
type: string
|
|
4419
|
+
required: true
|
|
4420
|
+
'400': *ref_2
|
|
4421
|
+
/view:
|
|
4422
|
+
post:
|
|
4423
|
+
security:
|
|
4424
|
+
- api_key: []
|
|
4425
|
+
tags:
|
|
4426
|
+
- View
|
|
4427
|
+
description: view로 정의된 함수를 호출할 수 있습니다.
|
|
4428
|
+
summary: Execute view function of a module
|
|
4429
|
+
operationId: aptos_executeViewFunctionOfAModule
|
|
4430
|
+
requestBody:
|
|
4431
|
+
required: true
|
|
4432
|
+
content:
|
|
4433
|
+
application/json:
|
|
4434
|
+
schema:
|
|
4435
|
+
additionalProperties: false
|
|
4436
|
+
allOf:
|
|
4437
|
+
- type: object
|
|
4438
|
+
required:
|
|
4439
|
+
- function
|
|
4440
|
+
- type_arguments
|
|
4441
|
+
- arguments
|
|
4442
|
+
properties:
|
|
4443
|
+
function:
|
|
4444
|
+
type: string
|
|
4445
|
+
description: |-
|
|
4446
|
+
배포된 module에서 정의한 view 함수를 입력하는 필드입니다. 아래의 형식에 맞게 입력하세요.
|
|
4447
|
+
- 형식: {address}::{module_name}::{function_name}
|
|
4448
|
+
type_arguments:
|
|
4449
|
+
type: array
|
|
4450
|
+
description: >-
|
|
4451
|
+
함수의 type arguments를 입력하는 필드입니다. gerneric type을 인자로 받지 않는
|
|
4452
|
+
함수의 경우, 빈 배열을 입력합니다.
|
|
4453
|
+
items:
|
|
4454
|
+
type: string
|
|
4455
|
+
pattern: >-
|
|
4456
|
+
^(bool|u8|u64|u128|address|signer|vector<.+>|0x[0-9a-zA-Z:_<,
|
|
4457
|
+
>]+)$
|
|
4458
|
+
arguments:
|
|
4459
|
+
type: array
|
|
4460
|
+
description: >-
|
|
4461
|
+
함수의 arguments를 입력하는 필드입니다. 인자를 갖지 않는 함수의 경우, 이 필드는 빈 배열로
|
|
4462
|
+
입력합니다.
|
|
4463
|
+
items:
|
|
4464
|
+
type: string
|
|
4465
|
+
responses:
|
|
4466
|
+
'200':
|
|
4467
|
+
description: Successful Response
|
|
4468
|
+
content:
|
|
4469
|
+
application/json:
|
|
4470
|
+
example:
|
|
4471
|
+
- 4000000000
|
|
4472
|
+
headers:
|
|
4473
|
+
X-APTOS-BLOCK-HEIGHT:
|
|
4474
|
+
description: Current block height of the chain
|
|
4475
|
+
schema:
|
|
4476
|
+
type: integer
|
|
4477
|
+
required: true
|
|
4478
|
+
X-APTOS-CHAIN-ID:
|
|
4479
|
+
description: Chain ID of the current chain
|
|
4480
|
+
schema:
|
|
4481
|
+
type: integer
|
|
4482
|
+
required: true
|
|
4483
|
+
X-APTOS-EPOCH:
|
|
4484
|
+
description: Current epoch of the chain
|
|
4485
|
+
schema:
|
|
4486
|
+
type: integer
|
|
4487
|
+
required: true
|
|
4488
|
+
X-APTOS-LEDGER-OLDEST-VERSION:
|
|
4489
|
+
description: Oldest non-pruned ledger version of the chain
|
|
4490
|
+
schema:
|
|
4491
|
+
type: integer
|
|
4492
|
+
required: true
|
|
4493
|
+
X-APTOS-LEDGER-TIMESTAMPUSEC:
|
|
4494
|
+
description: Current timestamp of the chain
|
|
4495
|
+
schema:
|
|
4496
|
+
type: integer
|
|
4497
|
+
required: true
|
|
4498
|
+
X-APTOS-LEDGER-VERSION:
|
|
4499
|
+
description: Current ledger version of the chain
|
|
4500
|
+
schema:
|
|
4501
|
+
type: integer
|
|
4502
|
+
required: true
|
|
4503
|
+
X-APTOS-OLDEST-BLOCK-HEIGHT:
|
|
4504
|
+
description: Oldest non-pruned block height of the chain
|
|
4505
|
+
schema:
|
|
4506
|
+
type: integer
|
|
4507
|
+
required: true
|
|
4508
|
+
X-APTOS-CURSOR:
|
|
4509
|
+
description: Cursor for the next page
|
|
4510
|
+
schema:
|
|
4511
|
+
type: string
|
|
4512
|
+
required: true
|
|
4513
|
+
'400': *ref_2
|