Liquidity

Get liquidity updates with optional filtering and pagination.

get/api/liquidity

Request

  • Base URL: https://api.testnet.scan.biatec.io (the document declares no server; this is the origin it was published from)
  • URL: https://api.testnet.scan.biatec.io/api/liquidity
  • Auth: API key in header Authorization

Query parameters

assetIdAinteger

Filter by asset A ID. When used alone, matches liquidity where this asset is either A or B.

assetIdBinteger

Filter by asset B ID. When used with assetIdA, requires exact asset pair match.

txIdstring

Filter by transaction ID. Takes precedence over asset filters.

poolAddressstring

Filter by pool escrow address.

poolAppIdinteger

Filter by pool application ID.

offsetinteger

Number of records to skip for pagination (default: 0).

sizeinteger

Maximum number of records to return (default: 100, max: 500).

Response

OK

direction'DepositLiquidity' | 'WithdrawLiquidity'
assetIdAinteger
assetIdBinteger
assetIdLPinteger
assetAmountAinteger
assetAmountBinteger
assetAmountLPinteger
ainteger
binteger
afinteger nullable
bfinteger nullable
linteger
txIdstring nullable
blockIdinteger
txGroupstring nullable
timestampstring date-time nullable
protocol'Pact' | 'Tiny' | 'Biatec' | 'Scam'
liquidityProviderstring nullable
poolAddressstring nullable
poolAppIdinteger
topTxIdstring nullable
txState'TxPool' | 'Confirmed'
valueUSDnumber double nullable
txnIndexinteger nullable
eventIndexinteger nullable

Changes

No recorded changes to this operation across all 1 revision of this API.