Skip to main content
POST
/
status
Check status
curl --request POST \
  --url https://api.leokit.dev/status \
  --header 'Api-Key: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "protocol": "mayachain",
  "tx_id": "0xf077b6380b5023e73a200abed3128a857fbb0663c95fa50c5140b22b29895503",
  "quote_id": "019b4c96-e47b-7000-afd4-17252097b092"
}
'
{
  "protocol": "<string>",
  "hash": "<string>",
  "network": "<string>",
  "req_id": "<string>",
  "status": "<string>",
  "status_url": "<string>",
  "scanner": "<string>",
  "native_scanner": "<string>",
  "in_amount": 123,
  "from_token": "<string>",
  "to_token": "<string>",
  "type": "<string>",
  "from_address": "<string>",
  "date": 123
}

Authorizations

Api-Key
string
header
required

Demo API-Key (Sandbox): 7037d2b3-9c76-4f62-b730-c544f7570fa4

Body

application/json

Request body for /status.

quote_id
string
required

Quote identifier returned from /quote.

tx_id
string
default:0xf077b6380b5023e73a200abed3128a857fbb0663c95fa50c5140b22b29895503
required

Origin chain transaction id/hash.

Example:

"0xf077b6380b5023e73a200abed3128a857fbb0663c95fa50c5140b22b29895503"

protocol
string
default:mayachain

Optional protocol hint (e.g., mayachain).

Example:

"mayachain"

Response

Transaction status response

protocol
string
required

Protocol used to route/execute the action (e.g., mayachain).

hash
string
required

Transaction hash / txid for the action (hex string).

network
string
required

Origin network for the transaction (e.g., arbitrum).

req_id
string
required

Optional request identifier for correlating calls. May be empty.

status
string
required

Current transaction status (e.g., pending, success, failed).

status_url
string
required

Link to a status/details endpoint for the underlying protocol.

scanner
string
required

Explorer/scanner URL for the transaction.

native_scanner
string
required

Native scanner URL (or a message when not available).

in_amount
number<double>
required

Input amount provided for the action.

from_token
string
required

Input token/asset identifier.

to_token
string
required

Output token/asset identifier.

type
string
required

Action type (e.g., swap).

from_address
string
required

Sender address on the origin network.

date
integer<int64>
required

Event timestamp in milliseconds since epoch.