get https://web3api.io/api/v2/market/defi/twap/pairs/bases//quotes//historical
Retrieves the historical TWAP for the specified base, quote pair - this is the global TWAP across all supported contracts.
Default results are over 1 minute intervals with a 60 minutes lookback period.
TWAP is calculated as a time weighted moving average across all contracts.
Response Data
Field | Type | Description |
---|---|---|
timestamp |
| The time at which the event occured. |
pair |
| The name of the pair. |
price |
| The price of the pair. |
twap |
| The Time Weighted Average Price. |
volume |
| The volume of the pair at this point in time. |
baseAddress |
| Same as passed in parameter |
baseSymbol |
| Symbol of the base asset |
quoteAddress |
| Same as passed in parameter |
quoteSymbol |
| Symbol of the quote asset |