Skip to content

Commit

Permalink
update sdk
Browse files Browse the repository at this point in the history
  • Loading branch information
aleksej-paschenko committed Nov 6, 2024
1 parent 4eb7450 commit 90bc59a
Show file tree
Hide file tree
Showing 4 changed files with 460 additions and 30 deletions.
32 changes: 26 additions & 6 deletions api/openapi.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
openapi: 3.0.2
openapi: 3.1.0
info:
title: REST api to TON blockchain explorer
version: 2.0.0
Expand Down Expand Up @@ -1822,6 +1822,7 @@ paths:
required: true
schema:
type: string
format: address
- in: query
name: currency
required: false
Expand Down Expand Up @@ -1864,8 +1865,9 @@ paths:
- points
properties:
points:
additionalProperties: true
example: { }
type: array
items:
$ref: '#/components/schemas/ChartPoints'
'default':
$ref: '#/components/responses/Error'
/v2/rates/markets:
Expand Down Expand Up @@ -3499,7 +3501,7 @@ components:
shard:
type: string
# x-js-format: bigint ???
example: "8000000000000000"
example: "8000000000000000"
seqno:
type: integer
example: 21734019
Expand Down Expand Up @@ -5413,7 +5415,7 @@ components:
example: https://cache.tonapi.io/images/jetton.jpg
verification:
$ref: '#/components/schemas/JettonVerificationType'
custom_payload_api_uri: # todo: maybe remove
custom_payload_api_uri: # todo: maybe remove
type: string
JettonBalance:
type: object
Expand Down Expand Up @@ -5495,7 +5497,6 @@ components:
enum:
- getgems
- tonkeeper
- ton.diamonds
TrustType:
type: string
example: whitelist
Expand Down Expand Up @@ -6759,6 +6760,15 @@ components:
type: array
items:
$ref: '#/components/schemas/DecodedRawMessage'
wallet_v5:
type: object
required:
- raw_messages
properties:
raw_messages:
type: array
items:
$ref: '#/components/schemas/DecodedRawMessage'
wallet_highload_v2:
type: object
required:
Expand Down Expand Up @@ -7223,6 +7233,16 @@ components:
example: "blah_blah.ton"
dns_item:
$ref: '#/components/schemas/NftItem'
ChartPoints:
type: array
items:
- type: integer
format: int64
description: Unix timestamp of the data point
- type: number
description: Decimal price of the token in the requested currency
additionalItems: false
example: [ 1668436763, 97.21323234 ]
AccountInfoByStateInit:
type: object
required:
Expand Down
Loading

0 comments on commit 90bc59a

Please sign in to comment.