sourceAsset property

String sourceAsset
getter/setter pair

The off-chain asset the Anchor will receive from the user. The value must match one of the asset values included in a SEP-38 GET /prices?buy_asset=stellar:<destination_asset>:<asset_issuer> response using SEP-38 Asset Identification Format.

Implementation

String sourceAsset;