DEX-Swaps-API
Nutze die DEX Swaps API mit einem API-Schlüssel, um indexierte Swaps nach Pool oder Token auf Chains abzufragen, für die GET /v1/status dex_swaps-Abdeckung ausweist (derzeit Robinhood Chain); der aktuelle Methodenpreis beträgt 25 CU pro Aufruf.
Endpunkte
| Methode | Pfad | Beschreibung | CU / Aufruf | USD / 1M Aufrufe | Aufrufe pro kostenlosem Zyklus (ca.) |
|---|---|---|---|---|---|
| GET | /{chain}/dex/swaps | DEX-Swaps nach Pool oder Token auflisten | 25 | $2.50 | 1,200,000 |
Kostenloser Tarif: Alle Schlüssel in Ihrem Konto teilen sich durchschnittlich 25 Aufrufe pro Sekunde.
Antwortfelder
GET/{chain}/dex/swaps
| Feld | Typ |
|---|---|
| protocol | string |
| pool_key | string |
| amount0 | string |
| amount1 | string |
| sqrt_price_x96 | string |
| liquidity | string |
| tick | integer |
| lp_fee | integer | null |
| sender | string |
| recipient | string | null |
| block_number | integer |
| block_timestamp | string |
| tx_hash | string |
| tx_index | integer |
| log_index | integer |
Verfügbar auf Chains
Kurzbeispiel
curl -s "https://api.blockvectra.com/v1/data/robinhood_mainnet/dex/swaps?pool={pool}" -H "x-api-key: {api_key}"Dokumentation
Diesen Datensatz kostenlos testen
Erhalten Sie 30M CU bei der Registrierung, alle 30 Tage aufgefüllt.
Die Data API rechnet nur erfolgreiche Antworten ab.