Examples
Send Transactions
Sign and send transactions on the Quai and Qi ledgers.
1
Configure Wallet
To send a Quai transaction, you’ll first need to connect a Wallet or QuaiHDWallet to a Provider.
2
Build Transaction
Then, build the transaction you want to send using the QuaiTransactionRequest type.
The above transaction is a simple value transfer. Additional transaction params for more complex transactions can be found in the QuaiTransaction class.
3
Send and Sign Transaction
Finally, sign and broadcast the transaction using your wallet of choice.
Was this page helpful?