EvaluateTransaction
POST
Calls the evaluateTransaction method over a WebSocket connection.
Connection URL:
Copied!
wss://ada-ogmios.nownodes.io/wss/{{api_key}}Open the connection, then send the message below as a text frame.
Example:
Copied!
wscat -c 'wss://ada-ogmios.nownodes.io/wss/YOUR_API_KEY'
> {"jsonrpc":"2.0","method":"evaluateTransaction","params":{"transaction":{"cbor":"string"},"additionalUtxo":[{"transaction":{"id":"stringstringstringstringstringstringstringstringstringstringstri"},"index":4294967295,"address":"addr1q9d34spgg2kdy47n82e7x9pdd6vql6d2engxmpj20jmhuc2047yqd4xnh7u6u5jp4t0q3fkxzckph4tgnzvamlu7k5psuahzcp","value":{"ada":{"lovelace":0},"property1":{"property1":0,"property2":0},"property2":{"property1":0,"property2":0}},"datumHash":"c248757d390181c517a5beadc9c3fe64bf821d3e889a963fc717003ec248757d","datum":"string","script":{"language":"native","json":{"clause":"signature","from":"3c07030e36bfff7cd2f004356ef320f3fe3c07030e7cd2f004356437"},"cbor":"string"}}]},"id":null}Body
application/json
object
Parameters
api_keystringrequiredpathYour NOWNodes API key.
Response
200OK
A successful response.