Skip to content

Commit daa7e61

Browse files
committed
api: Fix MempoolUTxOInput address field from Text to Maybe Text
Closes #83
1 parent 65aa045 commit daa7e61

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

blockfrost-api/CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
# Version [next](https://github.com/blockfrost/blockfrost-haskell/compare/api-0.14.0.0...master) (2025-MM-DD)
22

3+
* Changes
4+
* Fix `MempoolUTxOInput` `address` field from `Text` to `Maybe Text` [#83](https://github.com/blockfrost/blockfrost-haskell/issues/83) [#84](https://github.com/blockfrost/blockfrost-haskell/issues/84)
5+
36
# Version [0.14.0.0](https://github.com/blockfrost/blockfrost-haskell/compare/api-0.13.0.0...api-0.14.0.0) (2025-12-02)
47

58
* Changes

blockfrost-api/src/Blockfrost/Types/Cardano/Mempool.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ data TransactionInMempool = TransactionInMempool
4747
via CustomJSON '[FieldLabelModifier '[StripPrefix "_transaction", CamelToSnake]] TransactionInMempool
4848

4949
data MempoolUTxOInput = MempoolUTxOInput
50-
{ _address :: Text -- ^ Address
50+
{ _address :: Maybe Text -- ^ Address
5151
, _txHash :: Text -- ^ Transaction hash
5252
, _outputIndex :: Integer -- ^ Output index
5353
, _collateral :: Bool -- ^ True if the input is a collateral input

0 commit comments

Comments
 (0)