ParsedSyncNativeInstruction
type ParsedSyncNativeInstruction<TProgram, TAccountMetas> = {
accounts: {
account: TAccountMetas[0];
};
data: SyncNativeInstructionData;
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: {
account: TAccountMetas[0];
};| Name | Type | Description |
|---|---|---|
account | TAccountMetas[0] | The native token account to sync with its underlying lamports. |
data
data: SyncNativeInstructionData;programAddress
programAddress: Address<TProgram>;