We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bbe262c commit 44910baCopy full SHA for 44910ba
crypto/transactions/builder/multi_payment.py
@@ -6,10 +6,11 @@ class MultiPayment(BaseTransactionBuilder):
6
7
transaction_type = TRANSACTION_MULTI_PAYMENT
8
9
- def __init__(self, fee=None):
+ def __init__(self, vendorField=None, fee=None):
10
"""Create a multi payment transaction
11
12
Args:
13
+ vendorField (str): value for the vendor field aka smartbridge
14
fee (int, optional): fee used for the transaction (default is already set)
15
"""
16
super().__init__()
@@ -18,6 +19,8 @@ def __init__(self, fee=None):
18
19
20
self.transaction.asset['payments'] = []
21
22
+ self.transaction.vendorField = vendorField.encode() if vendorField else None
23
+
24
if fee:
25
self.transaction.fee = fee
26
0 commit comments