getReallocateInstruction
Type Parameters
| Type Parameter | Default type |
|---|---|
TAccountToken extends string | - |
TAccountPayer extends string | - |
TAccountSystemProgram extends string | - |
TAccountOwner extends string | - |
TProgramAddress extends Address | Address<"TokenzQdBNbLqP5VEhdkAS6EPFLC1PHnBqCXEpPxuEb"> |
Parameters
| Parameter | Type |
|---|---|
input | ReallocateInput<TAccountToken, TAccountPayer, TAccountSystemProgram, TAccountOwner> |
config? | { programAddress?: TProgramAddress; } |
config.programAddress? | TProgramAddress |
Returns
ReallocateInstruction<TProgramAddress, TAccountToken, TAccountPayer, TAccountSystemProgram, Address<TAccountOwner> | TransactionSigner<TAccountOwner> extends TransactionSigner<TAccountOwner> ? AccountMeta<TAccountOwner> & {
role: READONLY_SIGNER;
} & IAccountSignerMeta<TAccountOwner> : TAccountOwner>