Sign and Send Transaction
Last updated
Was this helpful?
Last updated
Was this helpful?
Once a transaction is created, the web application may ask the user's OneKey wallet to sign and send the transaction using their account's private key and NEAR JSON RPC connection.
By far the easiest and recommended way of doing this is by using the requestSignTransactions
method on the provider, but it is also possible to do with request
.
In both cases, the call will return a for an object containing the transactionHashes
.
Also transaction can be serialized to base64
string first before method calling.