getUpdateDefaultAccountStateInstruction
Type Parameters
| Type Parameter | Default type |
|---|---|
TAccountMint extends string | - |
TAccountFreezeAuthority extends string | - |
TProgramAddress extends Address | Address<"TokenzQdBNbLqP5VEhdkAS6EPFLC1PHnBqCXEpPxuEb"> |
Parameters
| Parameter | Type |
|---|---|
input | UpdateDefaultAccountStateInput<TAccountMint, TAccountFreezeAuthority> |
config? | { programAddress?: TProgramAddress; } |
config.programAddress? | TProgramAddress |
Returns
UpdateDefaultAccountStateInstruction<TProgramAddress, TAccountMint,
| Address<TAccountFreezeAuthority>
| TransactionSigner<TAccountFreezeAuthority> extends TransactionSigner<TAccountFreezeAuthority> ? AccountMeta<TAccountFreezeAuthority> & {
role: READONLY_SIGNER;
} & AccountSignerMeta<TAccountFreezeAuthority, TransactionSigner<TAccountFreezeAuthority>> : TAccountFreezeAuthority>