Skip to content

Commit

Permalink
api: add /addresses/{address}/utxos/{asset} endpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
sorki committed Oct 12, 2021
1 parent ceaa3e1 commit d47e402
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions blockfrost-api/src/Blockfrost/API/Cardano/Addresses.hs
Expand Up @@ -38,6 +38,16 @@ data AddressesAPI route =
:> Pagination
:> Sorting
:> Get '[JSON] [AddressUtxo]
, _addressUtxosAsset
:: route
:- Summary "Address UTXOs of a given asset"
:> Description "UTXOs of the address."
:> Capture "address" Address
:> "utxos"
:> Capture "asset" AssetId
:> Pagination
:> Sorting
:> Get '[JSON] [AddressUtxo]
, _addressTransactions
:: route
:- Summary "Address transactions"
Expand Down

0 comments on commit d47e402

Please sign in to comment.