Query editor
WITH assets as (select distinct asset_contractFROM dune.visionwizards.soneium_newsaleunionselect distinct asset_contractFROM dune.visionwizards.soneium_newlisting),data_with_http_response AS (SELECTasset_contract,http_get(CONCAT('https://soneium.blockscout.com/api/v2/tokens/', CAST(asset_contract AS varchar))) AS http_responseFROM assets),all_assets as(SELECTasset_contract as assetContract,JSON_EXTRACT_SCALAR(http_response, '$.name') AS tokenName,JSON_EXTRACT_SCALAR(http_response, '$.symbol') AS symbol,JSON_EXTRACT_SCALAR(http_response, '$.type') AS tokenTypeFROM data_with_http_response)selectassetContract,tokenName,symbol,tokenTypefrom all_assetsgroup by assetContract, tokenName, symbol, tokenType