function required_signers(main_auth_descriptor: auth_descriptor, disposable_auth_descriptor: auth_descriptor?): list<byte_array>

Returns the required signers for a register_account operation in all the normal transfer strategies.

Determines if the sender and recipient have the same account id, and allows skipping signatures in that scenario (except for disposable signers, if any).

It is used by the strategies: fee, open and subscription

Parameters

  • main_auth_descriptor — The main auth descriptor of the required signer
  • disposable_auth_descriptor — The disposable auth descriptor of the required signer

Returns

a byte array list of signers that are required to sign. Signers are excluded if they are the account owner on the other chain too.

© 2024 Chromia