Need help with your APIs? I offer API discovery, governance & evangelism services. Explore services →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

THORChain Smart Contracts API

The Smart Contracts API from THORChain — 2 operation(s) for smart contracts.

THORChain Smart Contracts API is one of 65 APIs that THORChain publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

Tagged areas include Smart Contracts. The published artifact set on APIs.io includes an OpenAPI specification.

This API exposes 2 operations across 2 paths, and defines 3 schemas. It is described by OpenAPI 3.0.0, at version 3.19.1.

Requests are made against the base URL https://gateway.liquify.com/chain/thorchain_api.

2 operations 2 paths 3 schemas 2 GET

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.0.0
API Version
3.19.1
Base URL
https://gateway.liquify.com/chain/thorchain_api
Resource Areas
1

Paths & Operations 2

Across 2 paths, the API surfaces 2 operations — 2 GET. Each is listed below with its method, path, parameters, and response codes.

Smart Contracts 2
GET
/thorchain/contracts
Returns type and version for all contracts with stored contractinfo
contractInfos 3 params → 200
GET
/thorchain/contract/{address}
Returns type and version from contractinfo for requested address
contractInfo 2 params → 200

Schemas 3

The contract defines 3 schemas that model the data the API accepts and returns. The most detailed are ContractInfo (3 properties), ContractInfoResponse (1 property), ContractInfosResponse (1 property). Each schema is shown below with its type and property counts.

ContractInfo
object
3 properties 3 required
ContractInfosResponse
object
1 property 1 required
ContractInfoResponse
object
1 property 1 required

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

thorchain-smart-contracts-api-openapi.yml Raw ↑

Other APIs THORChain publishes across the network.

THORChain Actions API
THORChain AGENTS.md API
THORChain Auth API
THORChain Balance API
THORChain Bank API
THORChain Block API
THORChain Bonds API
THORChain Borrower API
THORChain Borrowers API
THORChain Churns API
THORChain Clout API
THORChain Codes API