openapi: 3.0.3 info: title: Everscale API description: This API allows you to use Everscale Wallet API version: 4.0.0 tags: - name: address - name: events - name: metrics - name: misc - name: tokens servers: - url: https://tonapi.broxus.com/ton/v3 paths: /address/check: post: tags: - address summary: Check address description: Check correction of EVER address. requestBody: required: true description: '' content: application/json: schema: $ref: '#/components/schemas/AddressCheckRequest' responses: 200: description: OK content: application/json: schema: $ref: '#/components/schemas/CheckedAddressResponse' parameters: - name: api-key description: API Key in: header required: true schema: type: string - name: sign description: Signature in: header required: true schema: type: string - name: timestamp description: Timestamp in ms in: header required: true schema: type: string - name: x-real-ip in: header schema: type: string /address/create: post: tags: - address summary: Address creation description: Create user address. requestBody: required: true description: '' content: application/json: schema: $ref: '#/components/schemas/CreateAddressRequest' responses: 200: description: OK content: application/json: schema: $ref: '#/components/schemas/AddressResponse' parameters: - name: api-key description: API Key in: header required: true schema: type: string - name: sign description: Signature in: header required: true schema: type: string - name: timestamp description: Timestamp in ms in: header required: true schema: type: string - name: x-real-ip in: header schema: type: string /address/{address}: get: tags: - address summary: Address balance description: Get address balance. responses: 200: description: OK content: application/json: schema: $ref: '#/components/schemas/AddressBalanceResponse' parameters: - name: api-key description: API Key in: header required: true schema: type: string - name: sign description: Signature in: header required: true schema: type: string - name: timestamp description: Timestamp in ms in: header required: true schema: type: string - name: x-real-ip in: header schema: type: string parameters: - name: address in: path required: true schema: type: string /address/{address}/info: get: tags: - address summary: Address info description: Get address info. responses: 200: description: OK content: application/json: schema: $ref: '#/components/schemas/AddressInfoResponse' parameters: - name: api-key description: API Key in: header required: true schema: type: string - name: sign description: Signature in: header required: true schema: type: string - name: timestamp description: Timestamp in ms in: header required: true schema: type: string - name: x-real-ip in: header schema: type: string parameters: - name: address in: path required: true schema: type: string /transactions: post: tags: - transactions summary: Search transactions description: Search transactions. requestBody: required: true description: '' content: application/json: schema: $ref: '#/components/schemas/TonTransactionsRequest' responses: 200: description: OK content: application/json: schema: $ref: '#/components/schemas/TonTransactionsResponse' parameters: - name: api-key description: API Key in: header required: true schema: type: string - name: sign description: Signature in: header required: true schema: type: string - name: timestamp description: Timestamp in ms in: header required: true schema: type: string - name: x-real-ip in: header schema: type: string /transactions/create: post: tags: - transactions summary: Create transaction description: Send transaction. requestBody: required: true description: '' content: application/json: schema: $ref: '#/components/schemas/TonTransactionSendRequest' responses: 200: description: OK content: application/json: schema: $ref: '#/components/schemas/TransactionResponse' parameters: - name: api-key description: API Key in: header required: true schema: type: string - name: sign description: Signature in: header required: true schema: type: string - name: timestamp description: Timestamp in ms in: header required: true schema: type: string - name: x-real-ip in: header schema: type: string callbacks: transactionSent: /callbackUrl: post: description: Event transaction sent. If address are not deployed the event will be sent a twice since in this case will be created two transactions. requestBody: required: true description: '' content: application/json: schema: $ref: '#/components/schemas/AccountTransactionEvent' responses: 200: description: OK parameters: - name: sign in: header required: true schema: type: string - name: timestamp in: header required: true schema: type: string /transactions/confirm: post: tags: - transactions summary: Create confirm transaction description: Confirm transaction. requestBody: required: true description: '' content: application/json: schema: $ref: '#/components/schemas/TonTransactionConfirmRequest' responses: 200: description: OK content: application/json: schema: $ref: '#/components/schemas/TransactionResponse' parameters: - name: api-key description: API Key in: header required: true schema: type: string - name: sign description: Signature in: header required: true schema: type: string - name: timestamp description: Timestamp in ms in: header required: true schema: type: string - name: x-real-ip in: header schema: type: string callbacks: transactionSent: /callbackUrl: post: description: Event transaction sent. If address are not deployed the event will be sent a twice since in this case will be created two transactions. requestBody: required: true description: '' content: application/json: schema: $ref: '#/components/schemas/AccountTransactionEvent' responses: 200: description: OK parameters: - name: sign in: header required: true schema: type: string - name: timestamp in: header required: true schema: type: string /transactions/id/{id}: get: tags: - transactions summary: Get transaction description: Get transaction by id. responses: 200: description: OK content: application/json: schema: $ref: '#/components/schemas/TransactionResponse' parameters: - name: api-key description: API Key in: header required: true schema: type: string - name: sign description: Signature in: header required: true schema: type: string - name: timestamp description: Timestamp in ms in: header required: true schema: type: string - name: x-real-ip in: header schema: type: string parameters: - name: id in: path required: true schema: type: string /transactions/h/{transaction_hash}: get: tags: - transactions summary: Get transaction description: Get transaction by transaction hash. responses: 200: description: OK content: application/json: schema: $ref: '#/components/schemas/TransactionResponse' parameters: - name: api-key description: API Key in: header required: true schema: type: string - name: sign description: Signature in: header required: true schema: type: string - name: timestamp description: Timestamp in ms in: header required: true schema: type: string - name: x-real-ip in: header schema: type: string parameters: - name: transaction_hash in: path required: true schema: type: string /transactions/mh/{message_hash}: get: tags: - transactions summary: Get transaction description: Get transaction by message hash. responses: 200: description: OK content: application/json: schema: $ref: '#/components/schemas/TransactionResponse' parameters: - name: api-key description: API Key in: header required: true schema: type: string - name: sign description: Signature in: header required: true schema: type: string - name: timestamp description: Timestamp in ms in: header required: true schema: type: string - name: x-real-ip in: header schema: type: string parameters: - name: message_hash in: path required: true schema: type: string /events/id/{id}: get: tags: - events summary: Get event description: Get event by id. responses: 200: description: OK content: application/json: schema: $ref: '#/components/schemas/TransactionEventResponse' parameters: - name: api-key description: API Key in: header required: true schema: type: string - name: sign description: Signature in: header required: true schema: type: string - name: timestamp description: Timestamp in ms in: header required: true schema: type: string - name: x-real-ip in: header schema: type: string parameters: - name: id in: path required: true schema: type: string /events: post: tags: - events summary: Get events description: Get events. requestBody: required: true description: '' content: application/json: schema: $ref: '#/components/schemas/TonTransactionEventsRequest' responses: 200: description: OK content: application/json: schema: $ref: '#/components/schemas/TonEventsResponse' parameters: - name: api-key description: API Key in: header required: true schema: type: string - name: sign description: Signature in: header required: true schema: type: string - name: timestamp description: Timestamp in ms in: header required: true schema: type: string - name: x-real-ip in: header schema: type: string /events/mark: post: tags: - events summary: Mark event description: Mark event by id. requestBody: required: true description: '' content: application/json: schema: $ref: '#/components/schemas/TonMarkEventsRequest' responses: 200: description: OK content: application/json: schema: $ref: '#/components/schemas/MarkEventsResponse' parameters: - name: api-key description: API Key in: header required: true schema: type: string - name: sign description: Signature in: header required: true schema: type: string - name: timestamp description: Timestamp in ms in: header required: true schema: type: string - name: x-real-ip in: header schema: type: string /events/mark/all: post: tags: - events summary: Mark events description: Mark events by status optional. requestBody: required: true description: '' content: application/json: schema: $ref: '#/components/schemas/MarkAllTransactionEventRequest' responses: 200: description: OK content: application/json: schema: $ref: '#/components/schemas/MarkEventsResponse' parameters: - name: api-key description: API Key in: header required: true schema: type: string - name: sign description: Signature in: header required: true schema: type: string - name: timestamp description: Timestamp in ms in: header required: true schema: type: string - name: x-real-ip in: header schema: type: string /tokens/address/{address}: get: tags: - address - tokens summary: Address tokens balances description: Get address tokens balances. responses: 200: description: OK content: application/json: schema: $ref: '#/components/schemas/TokenBalanceResponse' parameters: - name: api-key description: API Key in: header required: true schema: type: string - name: sign description: Signature in: header required: true schema: type: string - name: timestamp description: Timestamp in ms in: header required: true schema: type: string - name: x-real-ip in: header schema: type: string parameters: - name: address in: path required: true schema: type: string /tokens/events: post: tags: - events - tokens summary: Get token events description: Get token events. requestBody: required: true description: '' content: application/json: schema: $ref: '#/components/schemas/TonTokenTransactionEventsRequest' responses: 200: description: OK content: application/json: schema: $ref: '#/components/schemas/TonTokenEventsResponse' parameters: - name: api-key description: API Key in: header required: true schema: type: string - name: sign description: Signature in: header required: true schema: type: string - name: timestamp description: Timestamp in ms in: header required: true schema: type: string - name: x-real-ip in: header schema: type: string /tokens/events/mark: post: tags: - events - tokens summary: Mark tokens event description: Mark tokens event by id. requestBody: required: true description: '' content: application/json: schema: $ref: '#/components/schemas/TonTokenMarkEventsRequest' responses: 200: description: OK content: application/json: schema: $ref: '#/components/schemas/MarkTokenEventsResponse' parameters: - name: api-key description: API Key in: header required: true schema: type: string - name: sign description: Signature in: header required: true schema: type: string - name: timestamp description: Timestamp in ms in: header required: true schema: type: string - name: x-real-ip in: header schema: type: string /tokens/transactions/mh/{message_hash}: get: tags: - transactions - tokens summary: Get tokens transaction description: Get tokens transaction by message hash. responses: 200: description: OK content: application/json: schema: $ref: '#/components/schemas/TokenTransactionResponse' parameters: - name: api-key description: API Key in: header required: true schema: type: string - name: sign description: Signature in: header required: true schema: type: string - name: timestamp description: Timestamp in ms in: header required: true schema: type: string - name: x-real-ip in: header schema: type: string parameters: - name: message_hash in: path required: true schema: type: string /tokens/transactions/id/{id}: get: tags: - transactions - tokens summary: Get tokens transaction description: Get tokens transaction by id. responses: 200: description: OK content: application/json: schema: $ref: '#/components/schemas/TokenTransactionResponse' parameters: - name: api-key description: API Key in: header required: true schema: type: string - name: sign description: Signature in: header required: true schema: type: string - name: timestamp description: Timestamp in ms in: header required: true schema: type: string - name: x-real-ip in: header schema: type: string parameters: - name: id in: path required: true schema: type: string /tokens/transactions/create: post: tags: - transactions - tokens summary: Create token transaction description: Send token transaction. requestBody: required: true description: '' content: application/json: schema: $ref: '#/components/schemas/TonTokenTransactionSendRequest' responses: 200: description: OK content: application/json: schema: $ref: '#/components/schemas/TokenTransactionResponse' parameters: - name: api-key description: API Key in: header required: true schema: type: string - name: sign description: Signature in: header required: true schema: type: string - name: timestamp description: Timestamp in ms in: header required: true schema: type: string - name: x-real-ip in: header schema: type: string callbacks: tokenTransactionSent: /callbackUrl: post: description: Event token transaction sent. If address are not deployed the event will be sent a twice since in this case will be created two transactions. requestBody: required: true description: '' content: application/json: schema: $ref: '#/components/schemas/AccountTransactionEvent' responses: 200: description: OK parameters: - name: sign in: header required: true schema: type: string - name: timestamp in: header required: true schema: type: string /tokens/transactions/burn: post: tags: - transactions - tokens summary: Burn token transaction description: Burn token transaction. requestBody: required: true description: '' content: application/json: schema: $ref: '#/components/schemas/TonTokenTransactionBurnRequest' responses: 200: description: OK content: application/json: schema: $ref: '#/components/schemas/TokenTransactionResponse' parameters: - name: api-key description: API Key in: header required: true schema: type: string - name: sign description: Signature in: header required: true schema: type: string - name: timestamp description: Timestamp in ms in: header required: true schema: type: string - name: x-real-ip in: header schema: type: string callbacks: tokenTransactionSent: /callbackUrl: post: description: Event token transaction burn. requestBody: required: true description: '' content: application/json: schema: $ref: '#/components/schemas/AccountTransactionEvent' responses: 200: description: OK parameters: - name: sign in: header required: true schema: type: string - name: timestamp in: header required: true schema: type: string /tokens/transactions/mint: post: tags: - transactions - tokens summary: Mint token transaction description: Mint token transaction. requestBody: required: true description: '' content: application/json: schema: $ref: '#/components/schemas/TonTokenTransactionMintRequest' responses: 200: description: OK content: application/json: schema: $ref: '#/components/schemas/TokenTransactionResponse' parameters: - name: api-key description: API Key in: header required: true schema: type: string - name: sign description: Signature in: header required: true schema: type: string - name: timestamp description: Timestamp in ms in: header required: true schema: type: string - name: x-real-ip in: header schema: type: string callbacks: tokenTransactionSent: /callbackUrl: post: description: Event token transaction mint. requestBody: required: true description: '' content: application/json: schema: $ref: '#/components/schemas/AccountTransactionEvent' responses: 200: description: OK parameters: - name: sign in: header required: true schema: type: string - name: timestamp in: header required: true schema: type: string /read-contract: post: tags: - misc summary: Read contract data description: Execute function of generic contract requestBody: required: true description: '' content: application/json: schema: $ref: '#/components/schemas/ExecuteContractRequest' responses: 200: description: OK content: application/json: schema: $ref: '#/components/schemas/ReadContractResponse' parameters: - name: api-key description: API Key in: header required: true schema: type: string - name: sign description: Signature in: header required: true schema: type: string - name: timestamp description: Timestamp in ms in: header required: true schema: type: string - name: x-real-ip in: header schema: type: string /encode-into-cell: post: tags: - misc summary: Encode tvm cell description: Create cell from custom tokens and get base64 cell representation requestBody: required: true description: '' content: application/json: schema: $ref: '#/components/schemas/EncodeParamRequest' responses: 200: description: OK content: application/json: schema: $ref: '#/components/schemas/EncodedCellResponse' parameters: - name: api-key description: API Key in: header required: true schema: type: string - name: sign description: Signature in: header required: true schema: type: string - name: timestamp description: Timestamp in ms in: header required: true schema: type: string - name: x-real-ip in: header schema: type: string /prepare-message: post: tags: - misc summary: Prepare message from params description: Prepare unsigned message from specified tokens requestBody: required: true description: '' content: application/json: schema: $ref: '#/components/schemas/PrepareMessageRequest' responses: 200: description: OK content: application/json: schema: $ref: '#/components/schemas/UnsignedMessageHashResponse' parameters: - name: api-key description: API Key in: header required: true schema: type: string - name: sign description: Signature in: header required: true schema: type: string - name: timestamp description: Timestamp in ms in: header required: true schema: type: string - name: x-real-ip in: header schema: type: string /send-signed-message: post: tags: - misc summary: Send signed message description: Seng signed message requestBody: required: true description: '' content: application/json: schema: $ref: '#/components/schemas/SignedMessageRequest' responses: 200: description: OK content: application/json: schema: $ref: '#/components/schemas/TransactionResponse' parameters: - name: api-key description: API Key in: header required: true schema: type: string - name: sign description: Signature in: header required: true schema: type: string - name: timestamp description: Timestamp in ms in: header required: true schema: type: string - name: x-real-ip in: header schema: type: string /send-message: post: tags: - misc summary: Prepare and send message from params description: Prepare unsigned message from specified tokens, sign and send it requestBody: required: true description: '' content: application/json: schema: $ref: '#/components/schemas/SendMessageRequest' responses: 200: description: OK content: application/json: schema: $ref: '#/components/schemas/SignedMessageHashResponse' parameters: - name: api-key description: API Key in: header required: true schema: type: string - name: sign description: Signature in: header required: true schema: type: string - name: timestamp description: Timestamp in ms in: header required: true schema: type: string - name: x-real-ip in: header schema: type: string /metrics: get: tags: - metrics summary: Get metrics description: Get metrics of api health. responses: 200: description: OK content: application/json: schema: $ref: '#/components/schemas/MetricsResponse' parameters: - name: api-key description: API Key in: header required: true schema: type: string - name: sign description: Signature in: header required: true schema: type: string - name: timestamp description: Timestamp in ms in: header required: true schema: type: string - name: x-real-ip in: header schema: type: string components: schemas: Account: description: Account nullable: true type: object properties: base64url: type: string hex: type: string workchainId: type: integer format: int32 required: - workchainId - hex - base64url AccountStatus: description: AccountStatus type: string enum: - Active - UnInit - Frozen example: Active AccountTransactionEvent: description: AccountTokenTransactionEventResponse type: object properties: account: $ref: '#/components/schemas/Account' balanceChange: description: balanceChange type: string createdAt: type: integer format: int64 eventStatus: $ref: '#/components/schemas/TonEventStatus' id: description: UUID ver. 4 [rfc](https://tools.ietf.org/html/rfc4122) type: string format: uuid example: 00000000-0000-0000-0000-000000000000 messageHash: type: string multisigTransactionId: nullable: true type: integer format: int64 ownerMessageHash: nullable: true type: string rootAddress: nullable: true type: string sender: $ref: '#/components/schemas/Account' transactionDirection: $ref: '#/components/schemas/TonTransactionDirection' transactionHash: nullable: true type: string transactionId: description: UUID ver. 4 [rfc](https://tools.ietf.org/html/rfc4122) type: string format: uuid example: 00000000-0000-0000-0000-000000000000 transactionStatus: $ref: '#/components/schemas/TonTransactionStatus' updatedAt: type: integer format: int64 required: - id - transactionId - transactionHash - messageHash - ownerMessageHash - account - sender - rootAddress - transactionDirection - transactionStatus - eventStatus - multisigTransactionId - createdAt - updatedAt AccountType: description: AccountType nullable: true type: string enum: - HighloadWallet - Wallet - SafeMultisig - EverWallet example: HighloadWallet AddressBalanceDataResponse: description: AddressBalanceDataResponse nullable: true type: object properties: accountStatus: $ref: '#/components/schemas/AccountStatus' accountType: $ref: '#/components/schemas/AccountType' address: $ref: '#/components/schemas/Account' balance: description: balance type: string createdAt: description: UTC timestamp in milliseconds type: integer format: int64 id: description: UUID ver. 4 [rfc](https://tools.ietf.org/html/rfc4122) type: string format: uuid example: 00000000-0000-0000-0000-000000000000 lastTransactionHash: nullable: true type: string lastTransactionLt: nullable: true type: string networkBalance: description: networkBalance type: string syncUTime: type: integer format: int64 updatedAt: description: UTC timestamp in milliseconds type: integer format: int64 required: - id - address - accountType - accountStatus - balance - networkBalance - lastTransactionHash - lastTransactionLt - syncUTime - createdAt - updatedAt AddressBalanceResponse: description: AddressBalanceResponse type: object properties: data: $ref: '#/components/schemas/AddressBalanceDataResponse' errorMessage: nullable: true type: string status: $ref: '#/components/schemas/TonStatus' required: - status - data - errorMessage AddressCheckRequest: description: AddressCheckRequest type: object properties: address: type: string required: - address AddressInfoDataResponse: description: AddressInfoDataResponse nullable: true type: object properties: accountType: $ref: '#/components/schemas/AccountType' address: $ref: '#/components/schemas/Account' balance: description: balance type: string confirmations: nullable: true type: integer format: int32 createdAt: description: UTC timestamp in milliseconds type: integer format: int64 custodians: nullable: true type: integer format: int32 custodiansPublicKeys: nullable: true type: array items: type: string id: description: UUID ver. 4 [rfc](https://tools.ietf.org/html/rfc4122) type: string format: uuid example: 00000000-0000-0000-0000-000000000000 updatedAt: description: UTC timestamp in milliseconds type: integer format: int64 required: - id - address - accountType - balance - custodians - confirmations - custodiansPublicKeys - createdAt - updatedAt AddressInfoResponse: description: AddressInfoResponse type: object properties: data: $ref: '#/components/schemas/AddressInfoDataResponse' errorMessage: nullable: true type: string status: $ref: '#/components/schemas/TonStatus' required: - status - data - errorMessage AddressResponse: description: AddressResponse type: object properties: data: $ref: '#/components/schemas/Account' errorMessage: nullable: true type: string status: $ref: '#/components/schemas/TonStatus' required: - status - data - errorMessage AddressValidResponse: description: AddressValidResponse nullable: true type: object properties: valid: type: boolean required: - valid CheckedAddressResponse: description: CheckedAddressResponse type: object properties: data: $ref: '#/components/schemas/AddressValidResponse' status: $ref: '#/components/schemas/TonStatus' required: - status - data CreateAddressRequest: description: CreateAddressRequest type: object properties: accountType: $ref: '#/components/schemas/AccountType' confirmations: nullable: true type: integer format: int32 custodians: nullable: true type: integer format: int32 custodiansPublicKeys: nullable: true type: array items: type: string workchainId: nullable: true type: integer format: int32 required: - accountType - workchainId - custodians - confirmations - custodiansPublicKeys EncodeParamRequest: type: object properties: inputParams: type: array items: $ref: '#/components/schemas/InputParamDTO' required: - inputParams EncodedCellResponse: type: object properties: base64Cell: type: string required: - base64Cell EventsResponse: description: EventsResponse nullable: true type: object properties: count: type: integer format: int32 items: type: array items: $ref: '#/components/schemas/AccountTransactionEvent' required: - count - items ExecuteContractRequest: type: object properties: functionDetails: $ref: '#/components/schemas/FunctionDetailsDTO' responsible: nullable: true type: boolean targetAccountAddr: type: string required: - targetAccountAddr - functionDetails - responsible FunctionDetailsDTO: type: object properties: functionName: type: string headers: type: string format: any[] inputParams: type: array items: $ref: '#/components/schemas/InputParamDTO' outputParams: type: string format: any[] required: - functionName - inputParams - outputParams - headers InputParamDTO: type: object properties: param: type: string format: any value: type: string format: any required: - param - value MarkAllTransactionEventRequest: description: MarkAllTransactionEventRequest type: object properties: eventStatus: $ref: '#/components/schemas/TonEventStatus' required: - eventStatus MarkEventsResponse: description: MarkEventsResponse type: object properties: errorMessage: nullable: true type: string status: $ref: '#/components/schemas/TonStatus' required: - status - errorMessage MarkTokenEventsResponse: description: MarkTokenEventsResponse type: object properties: errorMessage: nullable: true type: string status: $ref: '#/components/schemas/TonStatus' required: - status - errorMessage MetricsResponse: description: MetricsResponse type: object properties: genUtime: type: integer format: uint32 required: - genUtime PrepareMessageRequest: type: object properties: accountType: $ref: '#/components/schemas/AccountType' bounce: type: boolean custodians: nullable: true type: integer format: int32 executionFlag: type: integer format: uint8 functionDetails: $ref: '#/components/schemas/FunctionDetailsDTO' publicKey: type: string senderAddr: type: string targetAccountAddr: type: string value: description: value type: string required: - senderAddr - publicKey - targetAccountAddr - executionFlag - value - bounce - accountType - custodians - functionDetails ReadContractResponse: type: object properties: object: type: string format: any required: - object SendMessageRequest: type: object properties: accountType: $ref: '#/components/schemas/AccountType' bounce: type: boolean custodians: nullable: true type: integer format: int32 executionFlag: type: integer format: uint8 functionDetails: $ref: '#/components/schemas/FunctionDetailsDTO' id: description: UUID ver. 4 [rfc](https://tools.ietf.org/html/rfc4122) nullable: true type: string format: uuid example: 00000000-0000-0000-0000-000000000000 senderAddr: type: string targetAccountAddr: type: string value: description: value type: string required: - id - senderAddr - targetAccountAddr - executionFlag - value - bounce - accountType - custodians - functionDetails ServiceId: description: Service UUID (v4) type: string format: uuid example: 00000000-0000-0000-0000-000000000000 SignedMessageHashResponse: type: object properties: signedMessageHash: type: string required: - signedMessageHash SignedMessageRequest: type: object properties: hash: type: string senderAddr: type: string signature: type: string required: - senderAddr - hash - signature TokenBalanceDataResponse: description: TokenBalanceDataResponse type: object properties: accountStatus: $ref: '#/components/schemas/AccountStatus' address: $ref: '#/components/schemas/Account' balance: description: balance type: string createdAt: description: UTC timestamp in milliseconds type: integer format: int64 networkBalance: description: networkBalance type: string rootAddress: type: string serviceId: $ref: '#/components/schemas/ServiceId' updatedAt: description: UTC timestamp in milliseconds type: integer format: int64 required: - serviceId - address - balance - networkBalance - accountStatus - rootAddress - createdAt - updatedAt TokenBalanceResponse: description: TokenBalanceResponse type: object properties: data: nullable: true type: array items: $ref: '#/components/schemas/TokenBalanceDataResponse' errorMessage: nullable: true type: string status: $ref: '#/components/schemas/TonStatus' required: - status - data - errorMessage TokenEventsResponse: description: TokenEventsResponse nullable: true type: object properties: count: type: integer format: int32 items: type: array items: $ref: '#/components/schemas/AccountTransactionEvent' required: - count - items TokenTransactionDataResponse: description: TokenTransactionDataResponse nullable: true type: object properties: account: $ref: '#/components/schemas/Account' blockHash: nullable: true type: string blockTime: nullable: true type: integer format: int32 createdAt: description: UTC timestamp in milliseconds type: integer format: int64 direction: $ref: '#/components/schemas/TonTransactionDirection' error: nullable: true type: string id: description: UUID ver. 4 [rfc](https://tools.ietf.org/html/rfc4122) type: string format: uuid example: 00000000-0000-0000-0000-000000000000 messageHash: type: string payload: nullable: true type: string rootAddress: type: string status: $ref: '#/components/schemas/TonTokenTransactionStatus' transactionHash: nullable: true type: string updatedAt: description: UTC timestamp in milliseconds type: integer format: int64 value: description: value type: string required: - id - transactionHash - messageHash - account - value - rootAddress - error - blockHash - blockTime - direction - status - createdAt - updatedAt - payload TokenTransactionResponse: description: TokenTransactionResponse type: object properties: data: $ref: '#/components/schemas/TokenTransactionDataResponse' errorMessage: nullable: true type: string status: $ref: '#/components/schemas/TonStatus' required: - status - data - errorMessage TonEventStatus: description: TonEventStatus type: string enum: - New - Notified - Error example: New TonEventsResponse: description: TonEventsResponse type: object properties: data: $ref: '#/components/schemas/EventsResponse' errorMessage: nullable: true type: string status: $ref: '#/components/schemas/TonStatus' required: - status - data - errorMessage TonMarkEventsRequest: description: TonMarkEventsRequest type: object properties: id: description: UUID ver. 4 [rfc](https://tools.ietf.org/html/rfc4122) type: string format: uuid example: 00000000-0000-0000-0000-000000000000 required: - id TonStatus: description: TonStatus type: string enum: - Ok - Error example: Ok TonTokenEventsResponse: description: TonEventsResponse type: object properties: data: $ref: '#/components/schemas/TokenEventsResponse' errorMessage: nullable: true type: string status: $ref: '#/components/schemas/TonStatus' required: - status - data - errorMessage TonTokenMarkEventsRequest: description: TonTokenMarkEventsRequest type: object properties: id: description: UUID ver. 4 [rfc](https://tools.ietf.org/html/rfc4122) type: string format: uuid example: 00000000-0000-0000-0000-000000000000 required: - id TonTokenTransactionBurnRequest: description: TonTokenTransactionBurnRequest type: object properties: callbackTo: type: string fee: description: fee type: string fromAddress: type: string id: description: UUID ver. 4 [rfc](https://tools.ietf.org/html/rfc4122) nullable: true type: string format: uuid example: 00000000-0000-0000-0000-000000000000 rootAddress: type: string sendGasTo: description: sendGasTo type: string value: description: value type: string required: - id - fromAddress - rootAddress - callbackTo - value TonTokenTransactionEventsRequest: description: TonTokenTransactionEventsRequest type: object properties: accountHex: nullable: true type: string accountWorkchainId: nullable: true type: integer format: int32 createdAtGe: nullable: true type: integer format: int64 createdAtLe: nullable: true type: integer format: int64 eventStatus: $ref: '#/components/schemas/TonEventStatus' limit: nullable: true type: integer format: int64 messageHash: nullable: true type: string offset: nullable: true type: integer format: int64 ownerMessageHash: nullable: true type: string rootAddress: nullable: true type: string tokenTransactionId: description: UUID ver. 4 [rfc](https://tools.ietf.org/html/rfc4122) nullable: true type: string format: uuid example: 00000000-0000-0000-0000-000000000000 transactionDirection: $ref: '#/components/schemas/TonTransactionDirection' transactionStatus: $ref: '#/components/schemas/TonTokenTransactionStatus' required: - limit - offset - createdAtGe - createdAtLe - tokenTransactionId - messageHash - accountWorkchainId - accountHex - ownerMessageHash - rootAddress - transactionDirection - transactionStatus - eventStatus TonTokenTransactionMintRequest: description: TonTokenTransactionMintRequest type: object properties: deployWalletValue: description: deployWalletValue type: string fee: description: fee type: string id: description: UUID ver. 4 [rfc](https://tools.ietf.org/html/rfc4122) nullable: true type: string format: uuid example: 00000000-0000-0000-0000-000000000000 notify: nullable: true type: boolean ownerAddress: type: string recipientAddress: type: string rootAddress: type: string sendGasTo: description: sendGasTo type: string value: description: value type: string required: - id - ownerAddress - rootAddress - value - recipientAddress - notify TonTokenTransactionSendRequest: description: TonTokenTransactionSendRequest type: object properties: fee: description: fee type: string fromAddress: type: string id: description: UUID ver. 4 [rfc](https://tools.ietf.org/html/rfc4122) nullable: true type: string format: uuid example: 00000000-0000-0000-0000-000000000000 notifyReceiver: nullable: true type: boolean payload: description: base64 encoded payload type: string recipientAddress: type: string rootAddress: type: string sendGasTo: description: sendGasTo type: string value: description: value type: string required: - id - fromAddress - rootAddress - recipientAddress - value - notifyReceiver TonTokenTransactionStatus: description: TonTransactionStatus nullable: true type: string enum: - New - Done - Error example: New TonTransactionConfirmRequest: description: TonTransactionConfirmRequest type: object properties: address: type: string id: description: UUID ver. 4 [rfc](https://tools.ietf.org/html/rfc4122) nullable: true type: string format: uuid example: 00000000-0000-0000-0000-000000000000 transactionId: type: integer format: uint64 required: - id - address - transactionId TonTransactionDirection: description: TonTransactionDirection nullable: true type: string enum: - Send - Receive example: Send TonTransactionEventsRequest: description: TonTransactionEventsRequest type: object properties: accountHex: nullable: true type: string accountWorkchainId: nullable: true type: integer format: int32 createdAtGe: nullable: true type: integer format: int64 createdAtLe: nullable: true type: integer format: int64 eventStatus: $ref: '#/components/schemas/TonEventStatus' limit: nullable: true type: integer format: int64 messageHash: nullable: true type: string offset: nullable: true type: integer format: int64 transactionDirection: $ref: '#/components/schemas/TonTransactionDirection' transactionId: description: UUID ver. 4 [rfc](https://tools.ietf.org/html/rfc4122) nullable: true type: string format: uuid example: 00000000-0000-0000-0000-000000000000 transactionStatus: $ref: '#/components/schemas/TonTransactionStatus' required: - limit - offset - createdAtGe - createdAtLe - transactionId - messageHash - accountWorkchainId - accountHex - transactionDirection - transactionStatus - eventStatus TonTransactionSendOutputRequest: description: TonTransactionSendOutputRequest type: object properties: outputType: $ref: '#/components/schemas/TransactionSendOutputType' recipientAddress: type: string value: description: value type: string required: - recipientAddress - value - outputType TonTransactionSendRequest: description: TonTransactionSendRequest type: object properties: bounce: nullable: true type: boolean fromAddress: type: string id: description: UUID ver. 4 [rfc](https://tools.ietf.org/html/rfc4122) nullable: true type: string format: uuid example: 00000000-0000-0000-0000-000000000000 outputs: type: array items: $ref: '#/components/schemas/TonTransactionSendOutputRequest' payload: description: base64 encoded payload type: string required: - id - fromAddress - outputs - bounce TonTransactionStatus: description: TonTransactionStatus nullable: true type: string enum: - New - Done - PartiallyDone - Error example: New TonTransactionsRequest: description: TonTransactionsRequest type: object properties: account: nullable: true type: string createdAtMax: nullable: true type: integer format: int64 createdAtMin: nullable: true type: integer format: int64 direction: $ref: '#/components/schemas/TonTransactionDirection' id: description: UUID ver. 4 [rfc](https://tools.ietf.org/html/rfc4122) nullable: true type: string format: uuid example: 00000000-0000-0000-0000-000000000000 limit: nullable: true type: integer format: int64 messageHash: nullable: true type: string offset: nullable: true type: integer format: int64 ordering: $ref: '#/components/schemas/TransactionsSearchOrdering' status: $ref: '#/components/schemas/TonTransactionStatus' transactionHash: nullable: true type: string required: - id - messageHash - transactionHash - account - status - direction - createdAtMin - createdAtMax - ordering - limit - offset TonTransactionsResponse: description: TonTransactionsResponse type: object properties: data: $ref: '#/components/schemas/TransactionsResponse' errorMessage: nullable: true type: string status: $ref: '#/components/schemas/TonStatus' required: - status - data - errorMessage TransactionDataResponse: description: TransactionDataResponse type: object properties: aborted: type: boolean account: $ref: '#/components/schemas/Account' balanceChange: description: balanceChange type: string bounce: type: boolean createdAt: description: UTC timestamp in milliseconds type: integer format: int64 direction: $ref: '#/components/schemas/TonTransactionDirection' error: nullable: true type: string fee: description: fee type: string id: description: id type: string messageHash: type: string multisigTransactionId: nullable: true type: integer format: int64 originalOutputs: nullable: true type: array items: $ref: '#/components/schemas/TransactionOutput' originalValue: description: originalValue type: string outMessages: nullable: true type: array items: $ref: '#/components/schemas/TransactionMessage' sender: $ref: '#/components/schemas/Account' status: $ref: '#/components/schemas/TonTransactionStatus' transactionHash: nullable: true type: string transactionLt: nullable: true type: string transactionTimeout: nullable: true type: integer format: int64 transactionTimestamp: description: UTC timestamp in milliseconds type: integer format: int64 updatedAt: description: UTC timestamp in milliseconds type: integer format: int64 value: description: value type: string required: - id - messageHash - transactionHash - transactionLt - transactionTimeout - transactionTimestamp - account - sender - value - originalValue - fee - balanceChange - outMessages - originalOutputs - direction - status - aborted - bounce - error - multisigTransactionId - createdAt - updatedAt TransactionEventResponse: description: TransactionEventResponse type: object properties: data: $ref: '#/components/schemas/AccountTransactionEvent' errorMessage: nullable: true type: string status: $ref: '#/components/schemas/TonStatus' required: - status - data - errorMessage TransactionMessage: description: TransactionMessage type: object properties: fee: description: fee type: string messageHash: type: string recipient: $ref: '#/components/schemas/Account' value: description: value type: string required: - messageHash - value - fee - recipient TransactionOutput: description: TransactionOutput type: object properties: recipient: $ref: '#/components/schemas/Account' value: description: value type: string required: - value - recipient TransactionResponse: description: TransactionResponse type: object properties: data: $ref: '#/components/schemas/TransactionDataResponse' errorMessage: nullable: true type: string status: $ref: '#/components/schemas/TonStatus' required: - status - data - errorMessage TransactionSendOutputType: description: TransactionSendOutputType nullable: true type: string enum: - Normal - AllBalance - AllBalanceDeleteNetworkAccount example: Normal TransactionsResponse: description: TransactionsResponse nullable: true type: object properties: count: type: integer format: int32 items: type: array items: $ref: '#/components/schemas/TransactionDataResponse' required: - count - items TransactionsSearchOrdering: description: TransactionSendOutputType nullable: true type: string enum: - CreatedAtAsc - CreatedAtDesc - TransactionLtAsc - TransactionLtDesc - TransactionTimestampAsc - TransactionTimestampDesc example: CreatedAtAsc UnsignedMessageHashResponse: type: object properties: unsignedMessageHash: type: string required: - unsignedMessageHash