Skip to main content

The Common Account

The common account is controlled by the chain owner (defined in the chain root contract).

This account is used to store funds collected by fees, or sent to the chain L1 address, or to invalid contracts. (this way the funds are not permanently lost)


  • ParamWithdrawAmount - the amount to harvest (defaults to 0, which means all available funds)
  • ParamWithdrawColor - color of the tokens to harvest (defaults to normal iotas)
req := solo.NewCallParams(accounts.Contract.Name, accounts.FuncHarvest.Name)
_, err := chain.PostRequestSync(req.WithIotas(1), wallet)
require.NoError(t, err)