module Main (main) where import Control.Exception (try) import Maestro.Client.V1 import Maestro.Types.V1 main :: IO () main = do env <- mkMaestroEnv @'V1 "<Your-API-Key>" Preprod addressesUTxOs :: Either MaestroError [UtxoWithSlot] <- try $ allPages $ flip (utxosAtMultiAddresses env (Just False) (Just False)) ["addr_test1...", "addr_test1...", "addr_test1..."] print addressesUTxOs