Skip to main content
GET
/
status
/
{quoteId}
Check transfer status
curl --request GET \
  --url https://transfer.layerzero-api.com/v1/status/{quoteId} \
  --header 'x-api-key: <api-key>'
import requests

url = "https://transfer.layerzero-api.com/v1/status/{quoteId}"

headers = {"x-api-key": "<api-key>"}

response = requests.get(url, headers=headers)

print(response.text)
const options = {method: 'GET', headers: {'x-api-key': '<api-key>'}};

fetch('https://transfer.layerzero-api.com/v1/status/{quoteId}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));
<?php

$curl = curl_init();

curl_setopt_array($curl, [
CURLOPT_URL => "https://transfer.layerzero-api.com/v1/status/{quoteId}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"x-api-key: <api-key>"
],
]);

$response = curl_exec($curl);
$err = curl_error($curl);

curl_close($curl);

if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
package main

import (
"fmt"
"net/http"
"io"
)

func main() {

url := "https://transfer.layerzero-api.com/v1/status/{quoteId}"

req, _ := http.NewRequest("GET", url, nil)

req.Header.Add("x-api-key", "<api-key>")

res, _ := http.DefaultClient.Do(req)

defer res.Body.Close()
body, _ := io.ReadAll(res.Body)

fmt.Println(string(body))

}
HttpResponse<String> response = Unirest.get("https://transfer.layerzero-api.com/v1/status/{quoteId}")
.header("x-api-key", "<api-key>")
.asString();
require 'uri'
require 'net/http'

url = URI("https://transfer.layerzero-api.com/v1/status/{quoteId}")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Get.new(url)
request["x-api-key"] = '<api-key>'

response = http.request(request)
puts response.read_body
{
  "status": "SUCCEEDED",
  "explorerUrl": "https://layerzeroscan.com/tx/...",
  "executionHistory": [
    {
      "event": "SENT",
      "transaction": {
        "chainKey": "base",
        "hash": "0x..."
      }
    },
    {
      "event": "DELIVERED",
      "transaction": {
        "chainKey": "optimism",
        "hash": "0x..."
      }
    }
  ]
}
Returns the current status of a cross-chain transfer. Poll this endpoint after executing user steps to monitor progress until completion.

Reference

Parameters

ParameterTypeLocationRequiredDescription
quoteIdstringPathYesQuote ID from the /quotes response
txHashstringQueryNoTransaction hash from execution (recommended for faster updates)

Response

Returns transfer status information with optional execution history.

Attributes

AttributeTypeDescription
statusenumCurrent transfer state: PENDING, PROCESSING, SUCCEEDED, FAILED, UNKNOWN
explorerUrlstringOptional LayerZero Scan URL for tracking
executionHistoryarrayOptional array of execution events

Status values

StatusDescriptionTerminal
UNKNOWNTransfer not found or not startedYes
PENDINGTransfer initiated but not yet processingNo
PROCESSINGCross-chain message in transitNo
SUCCEEDEDTransfer completed successfullyYes
FAILEDTransfer failed (reverted or timeout)Yes

Execution history events

EventDescriptionChain
SENTTransaction submittedSource chain
BUS_RODEBatch executed (Stargate V2 only)Source chain
DELIVEREDMessage deliveredDestination chain
Each event includes:
AttributeTypeDescription
eventenumEvent type
transactionobjectTransaction details
transaction.chainKeystringChain where event occurred
transaction.hashstringTransaction hash
transaction.timestampnumberUnix timestamp in milliseconds

Code examples

curl -X GET "https://transfer.layerzero-api.com/v1/status/QUOTE_ID?txHash=0x..." \
  -H "x-api-key: YOUR_API_KEY"

Response

{
  "status": "SUCCEEDED",
  "explorerUrl": "https://layerzeroscan.com/tx/0x...",
  "executionHistory": [
    {
      "event": "SENT",
      "transaction": {
        "chainKey": "base",
        "hash": "0x123...",
        "timestamp": 1704067200000
      }
    },
    {
      "event": "DELIVERED",
      "transaction": {
        "chainKey": "arbitrum",
        "hash": "0x456...",
        "timestamp": 1704067260000
      }
    }
  ]
}

Error handling

HTTP StatusDescriptionAction
404Quote not foundReturn UNKNOWN status
429Rate limit exceededWait 5 seconds, retry
500Server errorRetry with exponential backoff
async function checkStatusSafe(quoteId: string, txHash: string): Promise<string> {
  try {
    const params = new URLSearchParams({txHash});
    const response = await fetch(
      `https://transfer.layerzero-api.com/v1/status/${quoteId}?${params}`,
      {headers: {'x-api-key': 'YOUR_API_KEY'}},
    );

    if (response.status === 404) return 'UNKNOWN';
    if (response.status === 429) {
      await new Promise((r) => setTimeout(r, 5000));
      return checkStatusSafe(quoteId, txHash);
    }

    const {status} = await response.json();
    return status;
  } catch (error) {
    console.error('Status check failed:', error);
    return 'UNKNOWN';
  }
}

Examples

Authorizations

x-api-key
string
header
required

API key for authenticating requests. Required for /quotes, /build-user-steps, /submit-signature, and /status endpoints.

Path Parameters

quoteId
string
required

The quote ID from the /quotes response

Example:

"quote_abc123"

Query Parameters

txHash
string

Optional transaction hash for faster status lookup

Example:

"0x..."

Response

200 - application/json

Successfully retrieved status

status
enum<string>
Available options:
PENDING,
PROCESSING,
SUCCEEDED,
FAILED,
UNKNOWN
explorerUrl
string
executionHistory
object[]