defmodule XomgiosClient.TxSubmissionClient do
use Xogmios, :tx_submission
alias Xogmios.TxSubmission
def start_link(opts) do
Xogmios.start_tx_submission_link(__MODULE__, opts)
end
def submit_tx(pid \\ __MODULE__, cbor) do
TxSubmission.submit_tx(pid, cbor)
end
def evaluate_tx(pid \\ __MODULE__, raw_tx_cbor) do
TxSubmission.evaluate_tx(pid, raw_tx_cbor)
end
end
Could you provide the code you are using ?
Xogmios returns all data it receives from Ogmios. For example, take the following tx CBOR from preview testnet:
And this is the code for the client module: