Usage
Add Transaction
Add a transaction to the queue
Before adding a transaction to the queue, it is important to add a nonceAdvance
instruction to the transaction, and make sure it is the first instruction.
Make sure to set the feePayer
as well.
The recentBlockhash
of the transaction must be set to the nonce value of the durable nonce which is going to be used for this transaction.
Lastly, make sure the transaction is partially signed with all other signers.
Example:
If you want to quickly test out the API, you can request for a random transaction (transfers a very small number of lamports to me :) ) -