Regenerate tx
curl --request POST \
--url https://api.sand.etherfuse.com/ramp/order/{order_id}/regenerate_tx \
--header 'Authorization: <api-key>'const options = {method: 'POST', headers: {Authorization: '<api-key>'}};
fetch('https://api.sand.etherfuse.com/ramp/order/{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/order/{order_id}/regenerate_tx"
headers = {"Authorization": "<api-key>"}
response = requests.post(url, headers=headers)
print(response.text)Orders
Regenerate tx
Regenerates a pre-built transaction for an order.
Offramp orders (status Created): the new transaction is sent over the webhook
asynchronously. Returns 202 Accepted.
Stellar onramp orders with claimable balances (status Completed): if the stored
claim transaction has a stale sequence number (e.g. the user transacted on Stellar
before claiming), this rebuilds the unsigned XDR with a fresh sequence number and
returns it synchronously, also updating the order’s stellarClaimTransaction field.
Returns 200 with the fresh XDR in the body.
POST
/
ramp
/
order
/
{order_id}
/
regenerate_tx
Regenerate tx
curl --request POST \
--url https://api.sand.etherfuse.com/ramp/order/{order_id}/regenerate_tx \
--header 'Authorization: <api-key>'const options = {method: 'POST', headers: {Authorization: '<api-key>'}};
fetch('https://api.sand.etherfuse.com/ramp/order/{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/order/{order_id}/regenerate_tx"
headers = {"Authorization": "<api-key>"}
response = requests.post(url, headers=headers)
print(response.text)