ParsedReallocateInstruction
type ParsedReallocateInstruction<TProgram, TAccountMetas> = {
accounts: {
owner: TAccountMetas[3];
payer: TAccountMetas[1];
systemProgram: TAccountMetas[2];
token: TAccountMetas[0];
};
data: ReallocateInstructionData;
programAddress: Address<TProgram>;
};Type Parameters
| Type Parameter | Default type |
|---|---|
TProgram extends string | typeof TOKEN_2022_PROGRAM_ADDRESS |
TAccountMetas extends readonly AccountMeta[] | readonly AccountMeta[] |
Properties
accounts
accounts: {
owner: TAccountMetas[3];
payer: TAccountMetas[1];
systemProgram: TAccountMetas[2];
token: TAccountMetas[0];
};| Name | Type | Description |
|---|---|---|
owner | TAccountMetas[3] | The account's owner or its multisignature account. |
payer | TAccountMetas[1] | The payer account to fund reallocation. |
systemProgram | TAccountMetas[2] | System program for reallocation funding. |
token | TAccountMetas[0] | The token account to reallocate. |
data
data: ReallocateInstructionData;programAddress
programAddress: Address<TProgram>;