Get Transaction State
After the modal is closed, 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 status
's are pending
and completed
pending - This means we are still processing the sell transaction
completed - This means that the transaction has been completed
Last updated