Get Transaction State
After initiating an instant sell, you should fetch the transaction to know the current status. Make a GET request to the following endpoint.
With the following header
If the API call is successful, LocalRamp returns the following response:
The possible state
's are pending
and completed
pending - This means we are still processing the swap transaction
completed - This means that the transaction has been completed
Last updated