Skip to main content
GET
Pool spot against its TWAP
Template dex.pool.twapDeviation@1 · Derived · spot against TWAP · reads EVM

Authorizations

Authorization
string
header
required

Session token from POST /v1/session (sign in with the subscription owner's or a delegate's wallet). Each value uses one round of the plan's quota.

Query Parameters

chain
enum<string>
required

CAIP-2 id or alias (EVM chains)

Available options:
ethereum,
eip155:1,
sepolia,
eip155:11155111,
eip155:137,
eip155:143,
arbitrum,
eip155:42161,
bnb,
eip155:56,
base,
eip155:8453,
base-sepolia,
eip155:84532,
hyperevm,
eip155:999
finality
string
default:final

"final" or "fast", or a raw mode: "finalized", "safe", "confirmations:" (EVM, Starknet), "confirmed" (Solana)

pool
string
required

a Uniswap v3-style pool with an observation buffer

window
string
default:1800

seconds, 1 to 86400

Pattern: ^(0|[1-9][0-9]*)$
maxTicks
string

set it to sign a yes/no answer (within maxTicks) instead of the distance

Pattern: ^(0|[1-9][0-9]*)$
signaturesRequired
integer
default:3

Signatures the round needs (default 3). Tolerance-mode sources need at least 3; the gateway bounds it by the protocol minimum, your plan and the live nodes.

Required range: 1 <= x <= 255

Response

The threshold-signed value (data.attestation) and its rendering (data.value); Molpha-Source-Id names the derived source.

data
object
status
string
Example:

"completed"