<p>A <code>(Map TxOutRef ChainIndexTxOut)</code> see <a href="https://playground.plutus.iohkdev.io/doc/haddock/playground-common/html/Playground-Contract.html#v:utxosAt" rel="nofollow noreferrer">here</a>.</p>
<p>A good example can be found in the pioneer program of how to utilize that
function:</p>
<pre><code>{...}
utxos &lt;- Map.filter (isSuitable pkh) &lt;$&gt; utxosAt scrAddress
{...}
where
   isSuitable :: PubKeyHash -&gt; TxOutTx -&gt; Bool
</code></pre>

CC BY-SA 4.0
2022-04-06T16:13:41.493Z
2022-04-06T16:13:41.493Z
Will
<p>I want to use the value returned from the function utxosAt scriptAddress. What is the value that this function will return ? Is it going to be in a list , json etc.....</p>

<plutus>
What is the data type returned from the function utxosAt scriptAddress
# What is the data type returned from the function utxosAt scriptAddress

(Asked by: username_0 on 2022-04-06)

I want to use the value returned from the function utxosAt scriptAddress. What is the value that this function will return ? Is it going to be in a list , json etc.....

**Tags:** plutus

---

## 1 answers

### Answer by username_1 on 2022-04-06. Score: 1

A (Map TxOutRef ChainIndexTxOut) see here.
A good example can be found in the pioneer program of how to utilize that
function:
{...}
utxos <- Map.filter (isSuitable pkh) <$> utxosAt scrAddress
{...}
where
   isSuitable :: PubKeyHash -> TxOutTx -> Bool


---

