SetAuthorityInput
type SetAuthorityInput<TAccountOwned, TAccountOwner> = {
authorityType: SetAuthorityInstructionDataArgs["authorityType"];
multiSigners?: TransactionSigner[];
newAuthority: SetAuthorityInstructionDataArgs["newAuthority"];
owned: Address<TAccountOwned>;
owner: Address<TAccountOwner> | TransactionSigner<TAccountOwner>;
};Type Parameters
| Type Parameter | Default type |
|---|---|
TAccountOwned extends string | string |
TAccountOwner extends string | string |
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.