solana_config_program::date_instruction

Function create_account

Source
pub fn create_account(
    payer_pubkey: &Pubkey,
    date_pubkey: &Pubkey,
    lamports: u64,
) -> Vec<Instruction>
👎Deprecated since 2.0.0: The config program API no longer supports date instructions.
Expand description

Create a date account. The date is set to the Unix epoch.