Initialize a StateQueryClient from an InteractionContext
Create a client for inspect the node’s local mempool.
Create a client for submitting signed transactions to underlying Cardano chain.
Get the server health. This can be safely polled at regular intervals for monitoring.
Convert a CBOR-description as raw JSON object, or throw if given an invalid representation. This function is meant to use for converting transaction's metadata into plain JSON in context where that conversion is expected to work.
It isn't generally possible to do so because not every CBOR object have a 1:1 mapping to a JSON object. This function should therefore work for metadata coming from CIP-0025, and likely a few other standards but is unsound in the general case and isn't expected to work on any metadata that can be found on chain.
Describe how the interaction context behaves. A
LongRunningcontext does not close the underlying connection after a request, it has to be done manually. A
OneTimecontext however will close the connection afterwards.