user6918: In the schema descriptions for cardano-db-sync, the valid_contract column description is as follows (link below):
"False if the contract is invalid. True if the contract is valid or there is no contract."
If TRUE, how can we know the difference between a tx that is using a contract and one that is simply me moving an asset from one wallet to another?
https://github.com/input-output-hk/cardano-db-sync/blob/master/doc/schema.md

user5926: Pretty sure you can just look at the script_size field of the tx table. If that field it greater than zero there is a script.

6918: <p>In the schema descriptions for cardano-db-sync, the valid_contract column description is as follows (link below):</p>
<p>&quot;False if the contract is invalid. True if the contract is valid or there is no contract.&quot;</p>
<p>If TRUE, how can we know the difference between a tx that is using a contract and one that is simply me moving an asset from one wallet to another?</p>
<p><a href="https://github.com/input-output-hk/cardano-db-sync/blob/master/doc/schema.md" rel="nofollow noreferrer">https://github.com/input-output-hk/cardano-db-sync/blob/master/doc/schema.md</a></p>
 5926: <p>Pretty sure you can just look at the <code>script_size</code> field of the <code>tx</code> table. If that field it greater than zero there is a script.</p>
