This repository was archived by the owner on Jan 13, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +17
-17
lines changed Expand file tree Collapse file tree 1 file changed +17
-17
lines changed Original file line number Diff line number Diff line change 2020# Example of sending a transfer using the adapter.
2121bundle = api .send_transfer (
2222 depth = 100 ,
23- transfers = [
24- ProposedTransaction (
25- # Recipient of the transfer.
26- address =
27- Address (
28- #b'TESTVALUE9DONTUSEINPRODUCTION99999FBFFTG'
29- #b'QFWEHEL9KCAFXBJBXGE9HID9XCOHFIDABHDG9AHDR'
30- ),
23+ transfers = [
24+ ProposedTransaction (
25+ # Recipient of the transfer.
26+ address =
27+ Address (
28+ #b'TESTVALUE9DONTUSEINPRODUCTION99999FBFFTG'
29+ #b'QFWEHEL9KCAFXBJBXGE9HID9XCOHFIDABHDG9AHDR'
30+ ),
3131
32- # Amount of IOTA to transfer.
33- # This value may be zero.
34- value = 1 ,
32+ # Amount of IOTA to transfer.
33+ # This value may be zero.
34+ value = 1 ,
3535
36- # Optional tag to attach to the transfer.
37- tag = Tag (b'ADAPT' ),
36+ # Optional tag to attach to the transfer.
37+ tag = Tag (b'ADAPT' ),
3838
39- # Optional message to include with the transfer.
40- message = TryteString .from_string ('Hello!' ),
41- ),
42- ],
39+ # Optional message to include with the transfer.
40+ message = TryteString .from_string ('Hello!' ),
41+ ),
42+ ],
4343)
You can’t perform that action at this time.
0 commit comments