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?


1 Answer 1


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.

  • 1
    Thank you! I will add that as a filter and see what I see. Nov 23, 2022 at 9:11

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.