Supported chains

get

Retrieves the supported blockchain networks from the Odos API.

Authorizations
Header parameters
AuthorizationstringRequired
  • The authorization token provided in the request header.
Responses
200
A promise that resolves to an `OdosAPIResponse` containing the result of the supported chains.
application/json
get
GET //odos/supported-chains HTTP/1.1
Host: beta.usemoon.ai
Authorization: text
Accept: */*
200

A promise that resolves to an OdosAPIResponse containing the result of the supported chains.

{
  "success": true,
  "message": "text",
  "data": {
    "approve": null,
    "broadcasted": {
      "success": true,
      "message": "text",
      "data": "text"
    },
    "odos": null,
    "message": "text",
    "success": true,
    "user_op": "text",
    "data": null,
    "params": [],
    "function": "text",
    "transaction": {
      "data": "text",
      "value": "text",
      "to": "text",
      "from": "text",
      "gasPrice": "text",
      "gasLimit": "text",
      "nonce": 1,
      "chainId": "text",
      "maxPriorityFeePerGas": "text",
      "maxFeePerGas": "text",
      "type": 1
    }
  }
}