githubEdit

Contract info

get

Retrieves contract information from the Odos API.

Authorizations
AuthorizationstringRequired
Query parameters
versionstring · enumRequired
  • The version of the API to use, expected to be 'v2'.
Possible values:
chainIdnumber · doubleRequired
  • The chain ID for which the contract information is requested.
Header parameters
AuthorizationstringRequired
  • The authorization token from the request header.
Responses
chevron-right
200

A promise that resolves to an OdosAPIResponse containing the contract information.

application/json
get
/odos/contract-info
200

A promise that resolves to an OdosAPIResponse containing the contract information.