Status

get

Retrieves the status of a transaction based on the provided transaction hash.

Query parameters
txHashstringRequired
  • The hash of the transaction to retrieve the status for.
Responses
200
A promise that resolves to an ApiResponse containing the status of the transaction.
application/json
get
GET //lifi/status HTTP/1.1
Host: beta.usemoon.ai
Accept: */*
200

A promise that resolves to an ApiResponse containing the status of the transaction.

{
  "success": true,
  "message": "text",
  "data": {
    "sending": {
      "chainId": 1,
      "txHash": "text",
      "txLink": "text",
      "amount": "text",
      "token": {
        "address": "text",
        "symbol": "text",
        "name": "text",
        "decimals": 1,
        "logoURI": "text"
      },
      "gasPrice": "text",
      "gasUsed": "text"
    },
    "receiving": {
      "chainId": 1,
      "txHash": "text",
      "txLink": "text",
      "amount": "text",
      "token": {
        "address": "text",
        "symbol": "text",
        "name": "text",
        "decimals": 1,
        "logoURI": "text"
      },
      "gasPrice": "text",
      "gasUsed": "text"
    },
    "tool": "text",
    "status": "text",
    "substatus": "text"
  }
}