[−][src]Struct solana_sdk::system_transaction::SystemTransaction
Methods
impl SystemTransaction
[src]
pub fn new_program_account(
from_keypair: &Keypair,
to: &Pubkey,
recent_blockhash: Hash,
lamports: u64,
space: u64,
program_id: &Pubkey,
fee: u64
) -> Transaction
[src]
from_keypair: &Keypair,
to: &Pubkey,
recent_blockhash: Hash,
lamports: u64,
space: u64,
program_id: &Pubkey,
fee: u64
) -> Transaction
Create and sign new SystemInstruction::CreateAccount transaction
pub fn new_account(
from_keypair: &Keypair,
to: &Pubkey,
lamports: u64,
recent_blockhash: Hash,
fee: u64
) -> Transaction
[src]
from_keypair: &Keypair,
to: &Pubkey,
lamports: u64,
recent_blockhash: Hash,
fee: u64
) -> Transaction
Create and sign a transaction to create a system account
pub fn new_assign(
from_keypair: &Keypair,
recent_blockhash: Hash,
program_id: &Pubkey,
fee: u64
) -> Transaction
[src]
from_keypair: &Keypair,
recent_blockhash: Hash,
program_id: &Pubkey,
fee: u64
) -> Transaction
Create and sign new SystemInstruction::Assign transaction
pub fn new_move(
from_keypair: &Keypair,
to: &Pubkey,
lamports: u64,
recent_blockhash: Hash,
fee: u64
) -> Transaction
[src]
from_keypair: &Keypair,
to: &Pubkey,
lamports: u64,
recent_blockhash: Hash,
fee: u64
) -> Transaction
Create and sign new SystemInstruction::Move transaction
pub fn new_move_many(
from: &Keypair,
moves: &[(Pubkey, u64)],
recent_blockhash: Hash,
fee: u64
) -> Transaction
[src]
from: &Keypair,
moves: &[(Pubkey, u64)],
recent_blockhash: Hash,
fee: u64
) -> Transaction
Create and sign new SystemInstruction::Move transaction to many destinations
Auto Trait Implementations
impl Send for SystemTransaction
impl Sync for SystemTransaction
Blanket Implementations
impl<T, U> Into for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From for T
[src]
impl<T, U> TryFrom for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T> Borrow for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> BorrowMut for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Same for T
type Output = T
Should always be Self