transfer_action

function transfer_action(account: account, strategy_params_gtv: gtv)(source)

The action for the fee _strategy. Transfers the funds to the account, paying the fee that is required.

Throws "FORBIDDEN ASSET" if the asset:

  • cannot be used to pay the fee, or

  • is not found.

Throws if the chain configuration cannot be parsed.

Parameters

account

the account that was registered

strategy_params_gtv

the parameters for the ras_transfer_fee operation, GTV-encoded