Module opshin.ledger
OpShin provides some helper classes that define concepts introduced in PlutusTx
and used by the cardano node to encode data.
In particular you find the definition of the entire Script Context for Plutus V2
in the file opshin.ledger.api_v2
.
from opshin.ledger.api_v2 import *
Expand source code
"""
OpShin provides some helper classes that define concepts introduced in PlutusTx
and used by the cardano node to encode data.
In particular you find the definition of the entire Script Context for Plutus V2
in the file `api_v2`.
```python
from opshin.ledger.api_v2 import *
```
"""
Sub-modules
opshin.ledger.api_v2
-
The PlutusV2 ledger API. All classes involved in defining the ScriptContext passed by the node.
opshin.ledger.interval
-
A library to assist with interval handling