<p>It will return a map containing the TxOutRefs of the provided address. Perhaps these are what you want your script to validate? Unless I'm misunderstanding your intention, you can't use these contract functions onchain. They are useful for offchain actions such as inspecting and building transactions.</p>

CC BY-SA 4.0
2022-04-20T13:53:09.910Z
Yeah , turns out I can just put that in a print statement and run it in playground. I’ll be able to see what it returns in the log.
szhang9921
CC BY-SA 4.0
2022-04-19T10:35:15.710Z
2022-04-19T10:35:15.710Z
james
<p>I am creating a function that takes in UTXOs at a script as a parameter. I know there is a function Plutus.Contract.utxoAt but how do i see what that will return ? I am still developing out my script and it is not on the chain yet.I need to see what utxoAt will return in order to pass it in to a function.</p>

<utxo><library>
How to see UTXOs at a script
# How to see UTXOs at a script

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

I am creating a function that takes in UTXOs at a script as a parameter. I know there is a function Plutus.Contract.utxoAt but how do i see what that will return ? I am still developing out my script and it is not on the chain yet.I need to see what utxoAt will return in order to pass it in to a function.

**Tags:** utxo, library

---

## 1 answers

### Answer by username_1 on 2022-04-19. Score: 1 | Accepted answer

It will return a map containing the TxOutRefs of the provided address. Perhaps these are what you want your script to validate? Unless I'm misunderstanding your intention, you can't use these contract functions onchain. They are useful for offchain actions such as inspecting and building transactions.

> **Comments:**
> **username_0**: Yeah , turns out I can just put that in a print statement and run it in playground. I’ll be able to see what it returns in the log.  

---

