cURL
curl --request GET \
--url https://api.relay.link/intents/status/v3const options = {method: 'GET'};
fetch('https://api.relay.link/intents/status/v3', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.relay.link/intents/status/v3"
response = requests.get(url)
print(response.text){
"status": "success",
"inTxHashes": [
"0xe53021eaa63d100b08338197d26953e2219bcbad828267dd936c549ff643aad7"
],
"txHashes": [
"0x9da7bc54dfe6229d6980fd62250d472f23dfe0f41a1cdc870c81a08b3445f254"
],
"updatedAt": 1713290386145,
"originChainId": 7777777,
"destinationChainId": 8453
}API Reference
Get Status
This API returns current status of intent.
GET
/
intents
/
status
/
v3
cURL
curl --request GET \
--url https://api.relay.link/intents/status/v3const options = {method: 'GET'};
fetch('https://api.relay.link/intents/status/v3', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.relay.link/intents/status/v3"
response = requests.get(url)
print(response.text){
"status": "success",
"inTxHashes": [
"0xe53021eaa63d100b08338197d26953e2219bcbad828267dd936c549ff643aad7"
],
"txHashes": [
"0x9da7bc54dfe6229d6980fd62250d472f23dfe0f41a1cdc870c81a08b3445f254"
],
"updatedAt": 1713290386145,
"originChainId": 7777777,
"destinationChainId": 8453
}Relay statuses take one of the following options:
| Status | Description |
|---|---|
waiting | Waiting for deposit confirmation |
depositing | Origin deposit confirmed via /execute API, pending fill |
pending | Deposit confirmed, pending destination chain submission |
submitted | Destination transaction submitted |
success | Successful fill on destination |
delayed | Destination fill delayed, still processing |
refund | Successfully refunded |
failure | Unsuccessful fill |
Headers
Optional API key for authentication and higher rate limits.
Query Parameters
A unique id representing the execution in the Relay system. You can obtain this id from the requests api or the check object within the step items.
Response
200 - application/json
Default Response
Available options:
refund, waiting, depositing, failure, pending, submitted, success Incoming transaction hashes
Outgoing transaction hashes
The last timestamp the data was updated
The timestamp when the quote request was created
Was this page helpful?