Unit redeemer
#248
-
I am building a transaction which contains a minting script tx_builder.add_minting_script(mint_script) or tx_builder.add_minting_script(mint_script, redeemer=None) I get the error AttributeError: 'NoneType' object has no attribute 'index' which seems to indicate that I need to explicitly pass a unit redeemer. I tried tx_builder.add_minting_script(mint_script, redeemer=Redeemer(None)) but that did not work. How do I pass a unit redeemer? |
Beta Was this translation helpful? Give feedback.
Answered by
cffls
May 25, 2023
Replies: 1 comment 1 reply
-
Maybe try |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
ajuggler
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Maybe try
Redeemer(PlutusData())
orRedeemer(RawCBOR(bytes.fromhex("d87a80")))