Skip to content
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 27 additions & 1 deletion api/openapi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3491,6 +3491,32 @@ components:
is_wallet:
type: boolean
example: true
MaybeAccountAddress:
type: object
required:
- address
- is_scam
- is_wallet
properties:
address:
type: string
format: maybe-address
example: 0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365
description: Address can be a valid address or empty string.
name:
type: string
example: Ton foundation
description: Display name. Data collected from different sources like moderation lists, dns, collections names and over.
is_scam:
type: boolean
example: true
description: Is this account was marked as part of scammers activity
icon:
type: string
example: https://ton.org/logo.png
is_wallet:
type: boolean
example: true
BlockCurrencyCollection:
type: object
required:
Expand Down Expand Up @@ -7358,7 +7384,7 @@ components:
format: address
example: 0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365
owner:
$ref: '#/components/schemas/AccountAddress'
$ref: '#/components/schemas/MaybeAccountAddress'
balance:
type: string
x-js-format: bigint
Expand Down
Loading