AbstractAbstractexpiryAbstractidThis is the ID for the Authority.
This would usually the data that represents the Authority
For TokenBasedAuthority, it is either a Ed25519 or Secp256k1 Public Key.
For SessionBasedAuthority, It could be public key bytes, groth16 proof etc.
AbstractmaxMax duration on a session
Indicates if Authority is Session-based or not. true if Authority is Session-based
AbstractsessionEd25519 based Public Key as Session key
AbstractsignerThis is the Signer ID for the Authority.
This would usually the public key bytes that identifies the signer on behalf of the authority,
For TokenBasedAuthority, it is either a Ed25519 or Secp256k1 Public Key.
For SessionBasedAuthority, it is the Session Key.
AbstracttypeAbstractaddCreates an AddAuthority Instructon
The parameters required to create the Swig instruction.
The ID of the role signing the instruction.
Actions of the new authority
CreateAuthorityInfo of new Authority to add
Optionaloptions?: InstructionDataOptionsThe public key of the swig payer.
The public key of the swig
AddAuthority Instruction.
AbstractcreateCreates an CreateSession Instructon
The parameters required to create the Swig instruction.
Ed25519 Public key of the Session key
Optionaloptions?: InstructionDataOptionsThe public key of the swig payer.
The ID of the role signing the instruction.
OptionalsessionDuration?: bigintSession duration in slots
The public key of the swig
AddAuthority Instruction.
AbstractremoveCreates an RemoveAuthority Instructon
The parameters required for RemoveAuthority instruction.
Optionaloptions?: InstructionDataOptionsThe public key of the swig payer.
The ID of the role signing the instruction.
ID of the role to remove
The public key of the swig
RemoveAuthority Instruction.
AbstractsignCreates a Sign instruction for signing provided instructions with the Swig
The parameters required to create the Swig instruction.
The instructions the Swig is to sign.
Optionaloptions?: InstructionDataOptionsThe public key of the swig payer.
The ID of the role signing the instruction.
The public key of the swig
Sign Instruction.
AbstractsignCreates a Sign instruction for signing provided instructions with the Swig
The parameters required to create the Swig instruction.
The instructions the Swig is to sign.
Optionaloptions?: InstructionDataOptionsThe ID of the role signing the instruction.
The public key of the swig
Sign Instruction.
AbstractsubAbstractsubAbstractsubAbstractsubAbstractsubAbstracttransfer
Slot when the session expires