pub struct TransactionBuilder { /* private fields */ }Implementations§
Source§impl TransactionBuilder
impl TransactionBuilder
pub fn new(icon_service: &IconService) -> Self
pub fn method(self, method: &str) -> Self
pub fn set_params(self, params: &Map<String, Value>) -> Self
pub fn block_height(self, block_height: &str) -> Self
pub fn block_hash(self, block_hash: &str) -> Self
pub fn address(self, address: &str) -> Self
pub fn tx_hash(self, tx_hash: &str) -> Self
pub fn from(self, from: &str) -> Self
pub fn to(self, to: &str) -> Self
pub fn value(self, value: &str) -> Self
pub fn version(self, version: &str) -> Self
pub fn nid(self, nid: &str) -> Self
pub fn nonce(self, nonce: &str) -> Self
pub fn step_limit(self, step_limit: &str) -> Self
pub fn timestamp(self) -> Self
pub fn message(self, message: &str) -> Self
pub fn call(self, call_params: Value) -> Self
pub fn sign(self, private_key: &str) -> Self
pub fn build(self) -> Transaction
Trait Implementations§
Source§impl Default for TransactionBuilder
impl Default for TransactionBuilder
Source§fn default() -> TransactionBuilder
fn default() -> TransactionBuilder
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for TransactionBuilder
impl<'de> Deserialize<'de> for TransactionBuilder
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for TransactionBuilder
impl RefUnwindSafe for TransactionBuilder
impl Send for TransactionBuilder
impl Sync for TransactionBuilder
impl Unpin for TransactionBuilder
impl UnwindSafe for TransactionBuilder
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more