nimiq_rpc/consensus

Values

pub fn get_raw_transaction_info(
  client: process.Subject(@internal Message),
  raw_tx raw_tx: String,
) -> Result(transaction.Transaction, String)

Given a serialized transaction, it will return the corresponding transaction struct.

pub fn is_consensus_established(
  client: process.Subject(@internal Message),
) -> Result(Bool, String)

Returns a boolean specifying if we have established consensus with the network.

pub fn send_raw_transaction(
  client: process.Subject(@internal Message),
  raw_tx raw_tx: String,
) -> Result(String, String)

Given a serialized transaction, it will return the corresponding transaction struct.

Search Document