[][src]Trait solana_sdk::nonce_keyed_account::NonceKeyedAccount

pub trait NonceKeyedAccount {
    pub fn advance_nonce_account(
        &self,
        recent_blockhashes: &RecentBlockhashes,
        signers: &HashSet<Pubkey>
    ) -> Result<(), InstructionError>;
pub fn withdraw_nonce_account(
        &self,
        lamports: u64,
        to: &KeyedAccount<'_>,
        recent_blockhashes: &RecentBlockhashes,
        rent: &Rent,
        signers: &HashSet<Pubkey>
    ) -> Result<(), InstructionError>;
pub fn initialize_nonce_account(
        &self,
        nonce_authority: &Pubkey,
        recent_blockhashes: &RecentBlockhashes,
        rent: &Rent
    ) -> Result<(), InstructionError>;
pub fn authorize_nonce_account(
        &self,
        nonce_authority: &Pubkey,
        signers: &HashSet<Pubkey>
    ) -> Result<(), InstructionError>; }

Required methods

pub fn advance_nonce_account(
    &self,
    recent_blockhashes: &RecentBlockhashes,
    signers: &HashSet<Pubkey>
) -> Result<(), InstructionError>
[src]

pub fn withdraw_nonce_account(
    &self,
    lamports: u64,
    to: &KeyedAccount<'_>,
    recent_blockhashes: &RecentBlockhashes,
    rent: &Rent,
    signers: &HashSet<Pubkey>
) -> Result<(), InstructionError>
[src]

pub fn initialize_nonce_account(
    &self,
    nonce_authority: &Pubkey,
    recent_blockhashes: &RecentBlockhashes,
    rent: &Rent
) -> Result<(), InstructionError>
[src]

pub fn authorize_nonce_account(
    &self,
    nonce_authority: &Pubkey,
    signers: &HashSet<Pubkey>
) -> Result<(), InstructionError>
[src]

Loading content...

Implementors

impl<'a> NonceKeyedAccount for KeyedAccount<'a>[src]

Loading content...