user151: The documentation for cardano-submit-api specifies the following:

Assuming data is a serialized transaction on the file-system.
curl -X POST 
--header "Content-Type: application/cbor" 
--data-binary @data http://localhost:8101/api/submit/tx

Does anyone have any idea what this 'serialized transaction' is supposed to be? What kind of datastructure should it be...?

user5122: You can transform the "tx.signed" signed transaction file to the cbor format like this on linux:
jq .cborHex tx.signed  | xxd -r -p > tx.signed.cbor


151: <p>The documentation for <code>cardano-submit-api</code> specifies the following:</p>
<blockquote>
<p>Assuming <code>data</code> is a serialized transaction on the file-system.
curl -X POST <br />
--header &quot;Content-Type: application/cbor&quot; <br />
--data-binary @data http://localhost:8101/api/submit/tx</p>
</blockquote>
<p>Does anyone have any idea what this 'serialized transaction' is supposed to be? What kind of datastructure should it be...?</p>
 5122: <p>You can transform the &quot;tx.signed&quot; signed transaction file to the cbor format like this on linux:</p>
<pre><code>jq .cborHex tx.signed  | xxd -r -p &gt; tx.signed.cbor
</code></pre>
