gill
gill/programs/token/Type aliases

ParsedSyncNativeInstruction

type ParsedSyncNativeInstruction<TProgram, TAccountMetas> = {
  accounts: {
     account: TAccountMetas[0];
  };
  data: SyncNativeInstructionData;
  programAddress: Address<TProgram>;
};

Type Parameters

Type ParameterDefault type
TProgram extends stringtypeof TOKEN_2022_PROGRAM_ADDRESS
TAccountMetas extends readonly IAccountMeta[]readonly IAccountMeta[]

Properties

accounts

accounts: {
  account: TAccountMetas[0];
};
NameTypeDescription
accountTAccountMetas[0]The native token account to sync with its underlying lamports.

data

data: SyncNativeInstructionData;

programAddress

programAddress: Address<TProgram>;

On this page