githubEdit

Router address

get

Retrieves the router address for the specified version and chain ID.

Authorizations
AuthorizationstringRequired
Query parameters
versionstring · enumRequired
  • The version of the API to use, default is 'v2'.
Possible values:
chainIdnumber · doubleRequired
  • The ID of the blockchain network.
Header parameters
AuthorizationstringRequired
  • The authorization token from the request header.
Responses
chevron-right
200

A promise that resolves to an OdosAPIResponse containing the OdosExecuteFunctionResult.

application/json

Represents the structure of a response from the Odos API.

successbooleanRequired

Indicates whether the API request was successful.

messagestringRequired

A message providing additional information about the API response.

get
/odos/router-address
200

A promise that resolves to an OdosAPIResponse containing the OdosExecuteFunctionResult.