gill

getUpdateDefaultAccountStateInstruction

function getUpdateDefaultAccountStateInstruction<TAccountMint, TAccountFreezeAuthority, TProgramAddress>(input, config?): UpdateDefaultAccountStateInstruction<TProgramAddress, TAccountMint, 
  | Address<TAccountFreezeAuthority>
  | TransactionSigner<TAccountFreezeAuthority> extends TransactionSigner<TAccountFreezeAuthority> ? IAccountMeta<TAccountFreezeAuthority> & {
  role: READONLY_SIGNER;
} & IAccountSignerMeta<TAccountFreezeAuthority, TransactionSigner<TAccountFreezeAuthority>> : TAccountFreezeAuthority>;

Type Parameters

Type ParameterDefault type
TAccountMint extends string-
TAccountFreezeAuthority extends string-
TProgramAddress extends AddressAddress<"TokenzQdBNbLqP5VEhdkAS6EPFLC1PHnBqCXEpPxuEb">

Parameters

ParameterType
inputUpdateDefaultAccountStateInput<TAccountMint, TAccountFreezeAuthority>
config?{ programAddress?: TProgramAddress; }
config.programAddress?TProgramAddress

Returns

UpdateDefaultAccountStateInstruction<TProgramAddress, TAccountMint, | Address<TAccountFreezeAuthority> | TransactionSigner<TAccountFreezeAuthority> extends TransactionSigner<TAccountFreezeAuthority> ? IAccountMeta<TAccountFreezeAuthority> & { role: READONLY_SIGNER; } & IAccountSignerMeta<TAccountFreezeAuthority, TransactionSigner<TAccountFreezeAuthority>> : TAccountFreezeAuthority>

On this page