Regenerate swap tx
curl --request POST \
--url https://api.sand.etherfuse.com/ramp/swap/{order_id}/regenerate_tx \
--header 'Authorization: <api-key>'const options = {method: 'POST', headers: {Authorization: '<api-key>'}};
fetch('https://api.sand.etherfuse.com/ramp/swap/{order_id}/regenerate_tx', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.sand.etherfuse.com/ramp/swap/{order_id}/regenerate_tx"
headers = {"Authorization": "<api-key>"}
response = requests.post(url, headers=headers)
print(response.text)Swaps
Regenerate swap tx
Regenerates a transaction for a swap — useful when the transaction was not submitted
before expiration. The updated transaction is returned via the swap_updated webhook.
Returns 202 Accepted if successful.
POST
/
ramp
/
swap
/
{order_id}
/
regenerate_tx
Regenerate swap tx
curl --request POST \
--url https://api.sand.etherfuse.com/ramp/swap/{order_id}/regenerate_tx \
--header 'Authorization: <api-key>'const options = {method: 'POST', headers: {Authorization: '<api-key>'}};
fetch('https://api.sand.etherfuse.com/ramp/swap/{order_id}/regenerate_tx', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.sand.etherfuse.com/ramp/swap/{order_id}/regenerate_tx"
headers = {"Authorization": "<api-key>"}
response = requests.post(url, headers=headers)
print(response.text)