@@ -35,14 +35,7 @@ paths:
35
35
tags :
36
36
- Blockchain
37
37
parameters :
38
- - name : masterchain_seqno
39
- in : path
40
- required : true
41
- description : " masterchain block seqno"
42
- schema :
43
- type : integer
44
- format : int32
45
- example : 123456
38
+ - $ref : ' #/components/parameters/masterchainSeqno'
46
39
responses :
47
40
' 200 ' :
48
41
description : blockchain block shards
@@ -52,31 +45,31 @@ paths:
52
45
$ref : ' #/components/schemas/BlockchainBlockShards'
53
46
' default ' :
54
47
$ref : ' #/components/responses/Error'
55
- /v2/blockchain/blocks/{block_id}/transactions :
48
+ /v2/blockchain/masterchain/{masterchain_seqno}/config :
56
49
get :
57
- description : Get transactions from block
58
- operationId : getBlockchainBlockTransactions
50
+ description : Get blockchain config from a specific block, if present.
51
+ operationId : getBlockchainConfigFromBlock
59
52
tags :
60
53
- Blockchain
61
54
parameters :
62
- - $ref : ' #/components/parameters/blockchainBlockIDParameter '
55
+ - $ref : ' #/components/parameters/masterchainSeqno '
63
56
responses :
64
57
' 200 ' :
65
- description : blockchain block transactions
58
+ description : blockchain config
66
59
content :
67
60
application/json :
68
61
schema :
69
- $ref : ' #/components/schemas/Transactions '
62
+ $ref : ' #/components/schemas/BlockchainConfig '
70
63
' default ' :
71
64
$ref : ' #/components/responses/Error'
72
- /v2/blockchain/blocks/{block_id }/config/raw :
65
+ /v2/blockchain/masterchain/{masterchain_seqno }/config/raw :
73
66
get :
74
67
description : Get raw blockchain config from a specific block, if present.
75
68
operationId : getRawBlockchainConfigFromBlock
76
69
tags :
77
70
- Blockchain
78
71
parameters :
79
- - $ref : ' #/components/parameters/blockchainBlockIDParameter '
72
+ - $ref : ' #/components/parameters/masterchainSeqno '
80
73
responses :
81
74
' 200 ' :
82
75
description : blockchain config
@@ -86,6 +79,23 @@ paths:
86
79
$ref : ' #/components/schemas/RawBlockchainConfig'
87
80
' default ' :
88
81
$ref : ' #/components/responses/Error'
82
+ /v2/blockchain/blocks/{block_id}/transactions :
83
+ get :
84
+ description : Get transactions from block
85
+ operationId : getBlockchainBlockTransactions
86
+ tags :
87
+ - Blockchain
88
+ parameters :
89
+ - $ref : ' #/components/parameters/blockchainBlockIDParameter'
90
+ responses :
91
+ ' 200 ' :
92
+ description : blockchain block transactions
93
+ content :
94
+ application/json :
95
+ schema :
96
+ $ref : ' #/components/schemas/Transactions'
97
+ ' default ' :
98
+ $ref : ' #/components/responses/Error'
89
99
/v2/blockchain/transactions/{transaction_id} :
90
100
get :
91
101
description : Get transaction data
@@ -356,6 +366,11 @@ paths:
356
366
- Emulation
357
367
parameters :
358
368
- $ref : ' #/components/parameters/i18n'
369
+ - name : ignore_signature_check
370
+ in : query
371
+ required : false
372
+ schema :
373
+ type : boolean
359
374
requestBody :
360
375
$ref : " #/components/requestBodies/Boc"
361
376
responses :
@@ -373,6 +388,12 @@ paths:
373
388
operationId : emulateMessageToTrace
374
389
tags :
375
390
- Emulation
391
+ parameters :
392
+ - name : ignore_signature_check
393
+ in : query
394
+ required : false
395
+ schema :
396
+ type : boolean
376
397
requestBody :
377
398
$ref : " #/components/requestBodies/Boc"
378
399
responses :
@@ -393,7 +414,7 @@ paths:
393
414
parameters :
394
415
- $ref : ' #/components/parameters/i18n'
395
416
requestBody :
396
- $ref : " #/components/requestBodies/Boc "
417
+ $ref : " #/components/requestBodies/EmulationBoc "
397
418
responses :
398
419
' 200 ' :
399
420
description : emulated message
@@ -2205,6 +2226,15 @@ paths:
2205
2226
$ref : ' #/components/responses/Error'
2206
2227
components :
2207
2228
parameters :
2229
+ masterchainSeqno :
2230
+ in : path
2231
+ name : masterchain_seqno
2232
+ required : true
2233
+ description : " masterchain block seqno"
2234
+ schema :
2235
+ type : integer
2236
+ format : int32
2237
+ example : 123456
2208
2238
blockchainBlockIDParameter :
2209
2239
in : path
2210
2240
name : block_id
@@ -2486,6 +2516,34 @@ components:
2486
2516
items :
2487
2517
type : string
2488
2518
example : te6ccgECBQEAARUAAkWIAWTtae+KgtbrX26Bep8JSq8lFLfGOoyGR/xwdjfvpvEaHg
2519
+ EmulationBoc :
2520
+ description : bag-of-cells serialized to base64 and additional parameters to configure emulation
2521
+ required : true
2522
+ content :
2523
+ application/json :
2524
+ schema :
2525
+ type : object
2526
+ required :
2527
+ - boc
2528
+ properties :
2529
+ boc :
2530
+ type : string
2531
+ example : te6ccgECBQEAARUAAkWIAWTtae+KgtbrX26Bep8JSq8lFLfGOoyGR/xwdjfvpvEaHg
2532
+ params :
2533
+ type : array
2534
+ description : additional per account configuration
2535
+ items :
2536
+ type : object
2537
+ required :
2538
+ - address
2539
+ properties :
2540
+ address :
2541
+ type : string
2542
+ example : " 0:97146a46acc2654y27947f14c4a4b14273e954f78bc017790b41208b0043200b"
2543
+ balance :
2544
+ type : integer
2545
+ format : int64
2546
+ example : 10000000000
2489
2547
Boc :
2490
2548
description : bag-of-cells serialized to base64
2491
2549
required : true
@@ -4497,6 +4555,7 @@ components:
4497
4555
- SmartContractExec
4498
4556
- ElectionsRecoverStake
4499
4557
- ElectionsDepositStake
4558
+ - DomainRenew
4500
4559
- Unknown
4501
4560
status :
4502
4561
type : string
@@ -4538,6 +4597,8 @@ components:
4538
4597
$ref : ' #/components/schemas/JettonSwapAction'
4539
4598
SmartContractExec :
4540
4599
$ref : ' #/components/schemas/SmartContractAction'
4600
+ DomainRenew :
4601
+ $ref : ' #/components/schemas/DomainRenewAction'
4541
4602
simple_preview :
4542
4603
$ref : ' #/components/schemas/ActionSimplePreview'
4543
4604
TonTransferAction :
@@ -4587,6 +4648,21 @@ components:
4587
4648
type : string
4588
4649
refund :
4589
4650
$ref : ' #/components/schemas/Refund'
4651
+ DomainRenewAction :
4652
+ type : object
4653
+ required :
4654
+ - domain
4655
+ - contract_address
4656
+ - renewer
4657
+ properties :
4658
+ domain :
4659
+ type : string
4660
+ example : " vasya.ton"
4661
+ contract_address :
4662
+ type : string
4663
+ example : " 0:da6b1b6663a0e4d18cc8574ccd9db5296e367dd9324706f3bbd9eb1cd2caf0bf"
4664
+ renewer :
4665
+ $ref : ' #/components/schemas/AccountAddress'
4590
4666
NftItemTransferAction :
4591
4667
type : object
4592
4668
required :
0 commit comments