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.

Create TransactionSign and Send Transaction

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

Signing Transaction

Last updated