gill
gill/programs/token/Type aliases

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 ParameterDefault type
TProgram extends stringtypeof TOKEN_2022_PROGRAM_ADDRESS
TAccountMetas extends readonly IAccountMeta[]readonly IAccountMeta[]

Properties

accounts

accounts: {
  owner: TAccountMetas[3];
  payer: TAccountMetas[1];
  systemProgram: TAccountMetas[2];
  token: TAccountMetas[0];
};
NameTypeDescription
ownerTAccountMetas[3]The account's owner or its multisignature account.
payerTAccountMetas[1]The payer account to fund reallocation.
systemProgramTAccountMetas[2]System program for reallocation funding.
tokenTAccountMetas[0]The token account to reallocate.

data

data: ReallocateInstructionData;

programAddress

programAddress: Address<TProgram>;

On this page