Authority

Manage Authorities to DSA.

Auth-v1 connector triggers methods like add, remove.

  • Use 0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee to indicate AVAX.
  • use -1 or dsa.maxValue for the maximum amount in function.
  • If not sure about the arguments getId and setId, pass 0.

Add

Add an address as account authority

spells.add({
  connector: "AUTHORITY-A",
  method: "add",
  args: [authority]
});
Parameter Type Description
authority address The authority Address.

Remove

Remove an address as account authority

spells.add({
  connector: "AUTHORITY-A",
  method: "remove",
  args: [authority]
});
Parameter Type Description
authority address The authority Address.

If you still can't find something you're looking for or have any questions, ask them at our developers community on Discord or simply send an Email.

Our team is excited about assisting you to build an application using Instadapp Developer Platform. Your questions and feedback help us make a better development environment for future developers.