cURL
curl --request GET \
--url https://api.relay.link/withdrawals/statusconst options = {method: 'GET'};
fetch('https://api.relay.link/withdrawals/status', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.relay.link/withdrawals/status"
response = requests.get(url)
print(response.text){
"status": "<string>",
"transaction": {},
"withdrawal": {},
"txHash": "<string>",
"reason": "<string>"
}Withdrawals
Get Withdrawal Status
Poll the status of a user-triggered withdrawal job
GET
/
withdrawals
/
status
cURL
curl --request GET \
--url https://api.relay.link/withdrawals/statusconst options = {method: 'GET'};
fetch('https://api.relay.link/withdrawals/status', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.relay.link/withdrawals/status"
response = requests.get(url)
print(response.text){
"status": "<string>",
"transaction": {},
"withdrawal": {},
"txHash": "<string>",
"reason": "<string>"
}How do programmatic withdrawals work?
Pass the
jobId returned by Request Withdrawal as id. On most chains a ready status includes a transaction the owner wallet must broadcast. Status entries are retained for 24 hours.Was this page helpful?