Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

y2-Update requests-responses.md/yalan2ny #62

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
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
8 changes: 4 additions & 4 deletions requests-responses.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Requests and Responses
tab# Requests and Responses

App sends requests to the wallet. Wallet sends responses and events to the app.

Expand Down Expand Up @@ -207,7 +207,7 @@ The signature must be verified by public key:

2.3. Check that `TonAddressItemReply.walletStateInit.hash()` equals to `TonAddressItemReply.address`. `.hash()` means BoC hash.

## Messages
esc## Messages

- All messages from the app to the wallet are requests for an operation.
- Messages from the wallet to the application can be either responses to app requests or events triggered by user actions on the side of the wallet.
Expand Down Expand Up @@ -277,7 +277,7 @@ DApp doesn't accept any event with an id that does not greater the last processe

### Methods

#### Sign and send transaction
tab#### Sign and send transaction

App sends **SendTransactionRequest**:

Expand Down Expand Up @@ -361,7 +361,7 @@ interface SendTransactionResponseError {
| 400 | Method not supported |


#### Sign Data (Experimental)
tab#### Sign Data (Experimental)

> WARNING: this is currently an experimental method and its signature may change in the future

Expand Down