netfluid__account_swap
Swaps one digital asset for another on an account level. Confirm (yes/no) before executing
Swaps one digital asset for another on an account level, use digital_asset_fk=0 or to_digital_asset_fk=0 to indicate FIAT @param api_key: The api key allocated to your application @param token: The wallet_api_token provided by /access/login @param account_fk: The account_fk (this is a database ID (int) not an account address (str) and may not be 0) The account_fk from which to swap @param digital_asset_fk: The origin digital_asset_fk to swap @param to_digital_asset_fk: The digital_asset_fk to swap @param amount: The amount of the digital_asset_fk to swap @param note: The transaction note
@return: a json object
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note | No | ||
| token | Yes | ||
| amount | Yes | ||
| api_key | Yes | ||
| account_fk | Yes | ||
| digital_asset_fk | Yes | ||
| to_digital_asset_fk | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||