FUNCTION

get_register_account_message

function get_register_account_message(strategy_operation: gtx_operation, register_account_operation: gtx_operation): text

Gives a default message used by EVM wallets to authorize the account registration.

Throws if the strategy cannot be found. If strategy_name is correct, this could also be caused by having misconfigured the registration defined in the function that extends strategy in such a way that the strategy name and the _strategy.op.mount_name are not the same value.

Parameters

  • strategy_operation — the strategy operation
  • register_account_operation — the register_account operation

See Also

  • add_strategy — for an easy way to avoid extension misconfiguration issues
© 2024 Chromia