Ogmios Provider
Lightweight bridge interface for cardano-node that offers WebSockets API that enables local clients to speak Ouroboros' mini-protocols
Ogmios is a lightweight bridge interface for cardano-node. It offers a WebSockets API that enables local clients to speak Ouroboros' mini-protocols via JSON/RPC. Ogmios is a fast and lightweight solution that can be deployed alongside relays to create entry points on the Cardano network for various types of applications.
Get started:
Evaluate Transaction
evaluateTx()
accepts an unsigned transaction (unsignedTx
) and it evaluates the resources required to execute the transaction. Note that, this is only valid for transaction interacting with redeemer (smart contract). By knowing the budget required, you can use this to adjust the redeemer's budget so you don't spend more than you need to execute transactions for this smart contract.
Example responses from unlocking assets from the always succeed smart contract.
With the mem
and steps
, you can refine the budget for the redeemer. For example:
Evaluate the resources required to execute a transaction
Submit Transaction
Submit a serialized transaction to the network.