new-docs
new-docs copied to clipboard
Syntax error on Python code example for sending payment
This line of example code for Python throws a syntax error on the asset
argument.
.append_payment_op(destination=destination_id, amount="10", asset=Asset("XLM"))
It should be:
.append_payment_op(destination=destination_id, amount="10", asset_code="XLM")