|
9 | 9 | The response contains a JSON object, which always has a boolean field `ok` and either `error` or `result`. If `ok` equals true, the request was successful and the result of the query can be found in the `result` field. In case of an unsuccessful request, `ok` equals false and the error is explained in the `error`. |
10 | 10 | |
11 | 11 | API Key should be sent either as `api_key` query parameter or `X-API-Key` header |
12 | | - version: '2.1.1' |
| 12 | + version: '2.1.11' |
13 | 13 | paths: |
14 | 14 | /api/v2/jsonRPC: |
15 | 15 | post: |
@@ -310,6 +310,52 @@ paths: |
310 | 310 | security: |
311 | 311 | - APIKeyHeader: [ ] |
312 | 312 | - APIKeyQuery: [ ] |
| 313 | + /api/v2/getShardAccountCell: |
| 314 | + get: |
| 315 | + tags: |
| 316 | + - accounts |
| 317 | + summary: Get Shard Address Cell |
| 318 | + description: Get raw TVM cell with shard account |
| 319 | + operationId: getShardAccountCell_get |
| 320 | + parameters: |
| 321 | + - $ref: '#/components/parameters/address' |
| 322 | + - $ref: '#/components/parameters/seqnoOptional' |
| 323 | + responses: |
| 324 | + 200: |
| 325 | + description: OK |
| 326 | + content: |
| 327 | + application/json: |
| 328 | + schema: |
| 329 | + $ref: '#/components/schemas/TonlibResponse' |
| 330 | + default: |
| 331 | + $ref: '#/components/responses/default' |
| 332 | + security: |
| 333 | + - APIKeyHeader: [ ] |
| 334 | + - APIKeyQuery: [ ] |
| 335 | + post: |
| 336 | + tags: |
| 337 | + - rpc |
| 338 | + summary: Get Shard Address Cell |
| 339 | + description: Get raw TVM cell with shard account |
| 340 | + operationId: getShardAccountCell_post |
| 341 | + requestBody: |
| 342 | + content: |
| 343 | + application/json: |
| 344 | + schema: |
| 345 | + $ref: '#/components/schemas/ShardAccountCellRequest' |
| 346 | + required: true |
| 347 | + responses: |
| 348 | + 200: |
| 349 | + description: OK |
| 350 | + content: |
| 351 | + application/json: |
| 352 | + schema: |
| 353 | + $ref: '#/components/schemas/TonlibResponse' |
| 354 | + default: |
| 355 | + $ref: '#/components/responses/default' |
| 356 | + security: |
| 357 | + - APIKeyHeader: [ ] |
| 358 | + - APIKeyQuery: [ ] |
313 | 359 | /api/v2/getWalletInformation: |
314 | 360 | get: |
315 | 361 | tags: |
@@ -1790,6 +1836,8 @@ components: |
1790 | 1836 | $ref: '#/components/schemas/AddressRequest' |
1791 | 1837 | AddressInformationRequest: |
1792 | 1838 | $ref: '#/components/schemas/AddressWithSeqnoRequest' |
| 1839 | + ShardAccountCellRequest: |
| 1840 | + $ref: '#/components/schemas/AddressWithSeqnoRequest' |
1793 | 1841 | ExtendedAddressInformationRequest: |
1794 | 1842 | $ref: '#/components/schemas/AddressWithSeqnoRequest' |
1795 | 1843 | WalletInformationRequest: |
@@ -3281,6 +3329,7 @@ components: |
3281 | 3329 | - $ref: '#/components/schemas/ResultOk' |
3282 | 3330 | - $ref: '#/components/schemas/RunGetMethodStdResult' |
3283 | 3331 | - $ref: '#/components/schemas/RunGetMethodResult' |
| 3332 | + - $ref: '#/components/schemas/TvmCell' |
3284 | 3333 | discriminator: |
3285 | 3334 | propertyName: '@type' |
3286 | 3335 | mapping: |
@@ -3313,6 +3362,7 @@ components: |
3313 | 3362 | 'ok': '#/components/schemas/ResultOk' |
3314 | 3363 | 'smc.runResult': '#/components/schemas/RunGetMethodStdResult' |
3315 | 3364 | 'ext.runResult': '#/components/schemas/RunGetMethodResult' |
| 3365 | + 'tvm.cell': '#/components/schemas/TvmCell' |
3316 | 3366 | TonlibResponse: |
3317 | 3367 | type: object |
3318 | 3368 | title: TonlibResponse |
|
0 commit comments