# PSce Constants

PSce uses a few of constants for helping to users that determine the PSce situations.

**EXECUTER\_ADDRESS:** PSce user's address who executes at that moment.

**OWNER\_ADDRESS:** PSce creator Address. It cannot change.

**EXECUTER\_SCENARIOADDRESS:** Current PSce Scenario Address. And Scenario Address has been created single time. It is not changable.

**AMOUNT:** Returns the number of assets sent via transaction.

**ASSETID:** Returns the asset number sent via transaction.

**EXECUTOR\_NODENAME:** Current Node Name. Explained below  code blocks how to necessary to use.

<figure><img src="/files/Kjs94xCr2DFOyhPTBbSi" alt=""><figcaption></figcaption></figure>

**ORIGINFLAG**: Origin flag constant; gives "true" value in the node that first meets the request sent by the user and "false" value in other nodes.&#x20;

So , if client sends a requests to NODE A ; \
NODE A takes "true" value at **ORIGINFLAG** other nodes takes "false" value at **ORIGINFLAG**.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://smartscenarios.pirichain.com/psce-constants.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
