Add message
This commit is contained in:
13
sdk/src/message.rs
Normal file
13
sdk/src/message.rs
Normal file
@@ -0,0 +1,13 @@
|
||||
use crate::hash::Hash;
|
||||
use crate::instruction::CompiledInstruction;
|
||||
use crate::pubkey::Pubkey;
|
||||
|
||||
#[derive(Debug, PartialEq, Eq, Clone)]
|
||||
pub struct Message {
|
||||
pub num_signatures: u8,
|
||||
pub account_keys: Vec<Pubkey>,
|
||||
pub recent_blockhash: Hash,
|
||||
pub fee: u64,
|
||||
pub program_ids: Vec<Pubkey>,
|
||||
pub instructions: Vec<CompiledInstruction>,
|
||||
}
|
Reference in New Issue
Block a user