Module

Ctl.Internal.CardanoCli

#CardanoNodeInstance

type CardanoNodeInstance = { socketPath :: FilePath, testnetMagic :: Int }

#CardanoCliTxOutInfo

type CardanoCliTxOutInfo = { amount :: Value, input :: { txHash :: TransactionHash, txOutId :: UInt } }

#queryUtxosViaCardanoCli

queryUtxosViaCardanoCli :: CardanoNodeInstance -> Address -> Aff (Array CardanoCliTxOutInfo)

Queries address funds via cardano-cli and returns the first UTxO data.

Modules