Skip to main content
GET
/
v2
/
swap
/
status
/
{id}
Get swap status
curl --request GET \
  --url https://api.deframe.io/v2/swap/status/{id} \
  --header 'x-api-key: <api-key>'
{
  "status": "success",
  "originTxHash": "0x...",
  "destinationTxHash": "0x...",
  "destinationTxUrl": "https://polygonscan.com/tx/0x...",
  "provider": "teleswap"
}

Authorizations

x-api-key
string
header
required

API key for authentication. Obtain from your Deframe dashboard.

Path Parameters

id
string
required

Quote ID

Example:

"550e8400-e29b-41d4-a716-446655440000"

Response

Status retrieved successfully

status
enum<string>
required

Transaction status

Available options:
pending,
crossing,
propagated,
success,
failed,
stalled
Example:

"success"

originTxHash
string

Transaction hash on the origin chain

Example:

"0x..."

destinationTxHash
string

Transaction hash on the destination chain. Populated after the bridge/swap completes.

Example:

"0x..."

destinationTxUrl
string

Explorer URL for the destination transaction, auto-generated based on destination chain.

Example:

"https://polygonscan.com/tx/0x..."

provider
string
Example:

"teleswap"