Skip to content

Commit b5020e8

Browse files
authored
provide examples for adding transaction properties
closes issue#118
1 parent 5a922e0 commit b5020e8

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

docs/source/guides/transaction.rst

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -142,6 +142,13 @@ Specify output amount::
142142

143143
Step 6
144144

145+
Add additional Plutus transaction properties as needed:
146+
147+
>>> builder.ttl = 3600
148+
>>> builder.reference_inputs = [{"option1": "my_input1", "option2" : "my_input2"}]
149+
150+
Step 7
151+
145152
Create a signed transaction using transaction builder. Unlike building a raw transaction, where we need to manually
146153
sign a transaction and build a transaction witness set, transaction builder can build and sign a transaction directly
147154
with its `build_and_sign` method. The code below tells the builder to build a transaction and sign the transaction

0 commit comments

Comments
 (0)