Skip to content

Latest commit

 

History

History
24 lines (16 loc) · 1.04 KB

File metadata and controls

24 lines (16 loc) · 1.04 KB

Sending Transactions

Once the web application is connected to OneKey, it can send transactions on behalf of the user, with the user's permission.

In order to send a transaction, the web application must:

  • Create an unsigned transaction or transactions.
  • Have it be signed and submitted to the network by the user's OneKey wallet.

For more information about the nature of transactions on Near, it is recommended to review the near-api-js docs as well as the official Near docs.

{% content-ref url="create-transaction.md" %} create-transaction.md {% endcontent-ref %}

{% content-ref url="sign-and-send-transaction.md" %} sign-and-send-transaction.md {% endcontent-ref %}

Sometimes you may need signing transactions only but not sending by OneKey, and then sending with your application self.

{% content-ref url="signing-transaction.md" %} signing-transaction.md {% endcontent-ref %}