可以尝试一下transpose的api
SELECT * FROM ethereum.dex_pools WHERE '0xeb90EaeB30B80fc37597acd5d3F70e850F6429Ac' = ANY(token_addresses);
API
fetch('https://api.transpose.io/sql', {
method: 'POST',
headers: {
'Content-Type': 'application/json',
'X-API-KEY': '{{TRANSPOSE_KEY}}'
},
body: JSON.stringify({
'sql': 'SELECT * FROM ethereum.dex_pools WHERE \'0xeb90EaeB30B80fc37597acd5d3F70e850F6429Ac\' = ANY(token_addresses);',
'parameters': {},
'options': {}
})
});