Discovery needs no key. Ratings and market analysis are Pro.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we
store it to create your key and to recognise you if you sign in with another
provider. See our Privacy Policy and
Terms.
openapi: 3.2.0
info:
title: Thornode Auth Pool Slip API
version: 3.19.1
contact:
email: devs@thorchain.org
description: Thornode REST API.
servers:
- url: https://gateway.liquify.com/chain/thorchain_api
description: Base URL declared by the provider in apis.yml (roadmap#122).
tags:
- name: PoolSlip
paths:
/thorchain/slip/{asset}:
parameters:
- $ref: '#/components/parameters/queryHeight'
- $ref: '#/components/parameters/asset'
get:
description: Returns the pool slip information for the provided asset.
operationId: poolslip
tags:
- PoolSlip
responses:
200:
description: OK
content:
application/json:
schema:
$ref: '#/components/schemas/PoolSlipResponse'
/thorchain/slips:
parameters:
- $ref: '#/components/parameters/queryHeight'
get:
description: Returns the pool slip information for all Available Layer 1 pool assets.
operationId: poolslips
tags:
- PoolSlip
responses:
200:
description: OK
content:
application/json:
schema:
$ref: '#/components/schemas/PoolSlipResponse'
components:
schemas:
PoolSlipResponse:
type: array
title: PoolSlipResponse
items:
type: object
required:
- asset
- pool_slip
- rollup_count
- long_rollup
- rollup
properties:
asset:
type: string
example: BTC.BTC
pool_slip:
type: integer
format: int64
example: 5
description: Pool slip for this asset's pool for the current height
rollup_count:
type: integer
format: int64
example: 300
description: Number of stored pool slips contributing to the current stored rollup
long_rollup:
type: integer
format: int64
example: 1500
description: Median of rollup snapshots over a long period
rollup:
type: integer
format: int64
example: 1500
description: Stored sum of pool slips over a number of previous block heights
summed_rollup:
type: integer
format: int64
example: 1500
description: Summed pool slips over a number of previous block heights, to checksum the stored rollup
parameters:
queryHeight:
name: height
in: query
description: optional block height, defaults to current tip
required: false
schema:
type: integer
format: int64
minimum: 0
asset:
name: asset
in: path
required: true
schema:
type: string
example: BTC.BTC