gill
gill/programs/token/Type aliases

SetAuthorityInput

type SetAuthorityInput<TAccountOwned, TAccountOwner> = {
  authorityType: SetAuthorityInstructionDataArgs["authorityType"];
  multiSigners?: TransactionSigner[];
  newAuthority: SetAuthorityInstructionDataArgs["newAuthority"];
  owned: Address<TAccountOwned>;
  owner: Address<TAccountOwner> | TransactionSigner<TAccountOwner>;
};

Type Parameters

Type ParameterDefault type
TAccountOwned extends stringstring
TAccountOwner extends stringstring

Properties

authorityType

authorityType: SetAuthorityInstructionDataArgs["authorityType"];

multiSigners?

optional multiSigners: TransactionSigner[];

newAuthority

newAuthority: SetAuthorityInstructionDataArgs["newAuthority"];

owned

owned: Address<TAccountOwned>;

The mint or account to change the authority of.


owner

owner: Address<TAccountOwner> | TransactionSigner<TAccountOwner>;

The current authority or the multisignature account of the mint or account to update.

On this page