mirror of
https://github.com/alexgo-io/DefiLlama-Adapters.git
synced 2026-01-12 16:53:02 +08:00
Fix orca adapter
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
const axios = require('axios');
|
||||
|
||||
const endpoint = "https://api.orca.so/pools";
|
||||
const wpEndpoint = "https://api-v2.orca.so/pools";
|
||||
const wpEndpoint = "https://mainnet-zp2-v2.orca.so/pools";
|
||||
|
||||
async function fetch() {
|
||||
const [pools, whirlpools] = await Promise.all([axios.get(endpoint), axios.get(wpEndpoint)]);
|
||||
|
||||
Reference in New Issue
Block a user