4️⃣Transactions

1. Create Transaction

In the Basic SDK, you could get the transaction via swap endpoint. Please check this link for more information on this:

2. Check Transaction Status

After that user signed a transaction on his/her wallet you should call this endpoint periodically to see what's the status of that transaction.

const transaction = await rangoClient.status({
    requestId: swapResponse.requestId,
    txId: 'TX HASH RETURENED BY WALLET',
})

This endpoint is not suitable for checking approval and it is only for the original transaction.

Last updated