<p>After reaching out to the Plutus-core team I got the answer and paraphrased it here.</p>
<p>They can but the functionality is quite limited right now, as the module is still under development. This means that it is likely unsafe for real applications.</p>
<p>I suggest waiting for the next stable update to plutus.</p>
<p>EDIT:</p>
<p>As per @kindofdev request, the module is the request module. I offered to help the team improve and build it out. Hope they agree. Anyone reading this is advised to urge them to let me build part of it.</p>

CC BY-SA 4.0
2022-03-02T17:53:24.780Z
Can you please pinpoint the module?
kindofdev
CC BY-SA 4.0
2022-03-02T18:10:29.667Z
where's the proposal/issue?
kindofdev
CC BY-SA 4.0
2022-03-02T17:50:18.760Z
2022-03-02T18:03:06.690Z
2022-03-02T18:03:06.690Z
KryptoKing
<p>The way I understood things from last Q&amp;A session with Lars, no, you can't. You can only see the current transaction, not the history of an address.</p>

CC BY-SA 4.0
2022-03-02T21:50:40.507Z
This is incorrect the module call exist. See nest post, but its all in monads.
KryptoKing
CC BY-SA 4.0
2022-02-28T10:01:10.683Z
2022-02-28T10:01:10.683Z
Mihai Codescu
<p>Considering that Plutus Smart Contracts have two parts (on chain and off chain) is there a way to make Queries to the Cardano Chain in the onchain part of the contract considering that the SC is actually already on the chain?</p>
<p>I want to be able to look up the transaction history of an address and check its balance.</p>
<p>I know I can do this via the Cardano Node, but considering that the contract must run on the node this should be possible how do I do it?</p>

<plutus-pioneer-program><cardano-cli><cardano-node><on-chain><smart-contract>
Can Queries To the Chain be made From Plutus Smart Contracts?
# Can Queries To the Chain be made From Plutus Smart Contracts?

(Asked by: username_0 on 2022-02-28)

Considering that Plutus Smart Contracts have two parts (on chain and off chain) is there a way to make Queries to the Cardano Chain in the onchain part of the contract considering that the SC is actually already on the chain?

I want to be able to look up the transaction history of an address and check its balance.

I know I can do this via the Cardano Node, but considering that the contract must run on the node this should be possible how do I do it?

**Tags:** plutus-pioneer-program, cardano-cli, cardano-node, on-chain, smart-contract

---

## 2 answers

### Answer by username_0 on 2022-03-02. Score: -1 | Accepted answer

After reaching out to the Plutus-core team I got the answer and paraphrased it here.

They can but the functionality is quite limited right now, as the module is still under development. This means that it is likely unsafe for real applications.

I suggest waiting for the next stable update to plutus.

EDIT:

As per @kindofdev request, the module is the request module. I offered to help the team improve and build it out. Hope they agree. Anyone reading this is advised to urge them to let me build part of it.

> **Comments:**
> **username_1**: Can you please pinpoint the module?  
> **username_1**: where's the proposal/issue?  

---

### Answer by username_2 on 2022-02-28. Score: 2

The way I understood things from last Q&A session with Lars, no, you can't. You can only see the current transaction, not the history of an address.

> **Comments:**
> **username_0**: This is incorrect the module call exist. See nest post, but its all in monads.  

---

