nimiq_rpc/consensus
Functions
pub fn get_raw_transaction_info(
client: Subject(Message),
raw_tx raw_tx: String,
) -> Result(Transaction, String)
Given a serialized transaction, it will return the corresponding transaction struct.
pub fn is_consensus_established(
client: Subject(Message),
) -> Result(Bool, String)
Returns a boolean specifying if we have established consensus with the network.
pub fn send_raw_transaction(
client: Subject(Message),
raw_tx raw_tx: String,
) -> Result(String, String)
Given a serialized transaction, it will return the corresponding transaction struct.