Scenario
Owner PIRI Address
Private Key
To Execution Restriction by Owner
falseScenario Codes in Javascript | Typescript
Scenario name
Scenario description
Scenario Tags
OK
Number of times this scenario has been executed.
Unique database identifier for the created scenario.
The blockchain address assigned to this scenario.
The PIRI address of the scenario owner/creator.
The name given to the scenario.
Description of what the scenario does.
Tags associated with the scenario for categorization.
ISO 8601 timestamp when the scenario was created.
Validation status of the scenario. 0 = not validated, 1 = validated.
The actual scenario code (JavaScript/TypeScript) that was submitted.
Version key used by MongoDB for document versioning.
OK
The address of the scenario to call
Public key of the caller
Address of the caller
Method name to call in the scenario
Parameters to pass to the method
OK
Error status code. 0 indicates success, non-zero indicates an error.
OK
Scenario Address | It is aslo a PIRI Address
Executer PIRI Address
Private Key
The method to be run in the scenario
Parameters | e.g.: ["value1", "value2", ...]
Amount to send Token to Scenario Address
Asset ID to send Token to Scenario Address
OK
Error status code. 0 indicates success, non-zero indicates an error.
OK
Scenario Text | Javascript or Typescript Code
Executer PIRI Address
Private Key
The method to be run in the scenario
Parameters | e.g.: ["value1", "value2", ...]
OK
Error code (0 for success)
Returned data from scenario execution - can be any type
OK
Last updated