Struct ckb_sdk::HttpRpcClient [−][src]
pub struct HttpRpcClient { /* fields omitted */ }
Implementations
pub fn get_live_cell(
&mut self,
out_point: OutPoint,
with_data: bool
) -> Result<CellWithStatus, String>
pub fn get_transaction(
&mut self,
hash: H256
) -> Result<Option<TransactionWithStatus>, String>
pub fn get_transaction_proof(
&mut self,
tx_hashes: Vec<H256>,
block_hash: Option<H256>
) -> Result<TransactionProof, String>
pub fn verify_transaction_proof(
&mut self,
tx_proof: TransactionProof
) -> Result<Vec<H256>, String>
pub fn set_ban(
&mut self,
address: String,
command: String,
ban_time: Option<u64>,
absolute: Option<bool>,
reason: Option<String>
) -> Result<(), String>
pub fn send_transaction(
&mut self,
tx: Transaction,
outputs_validator: Option<OutputsValidator>
) -> Result<H256, String>
pub fn get_block_template(
&mut self,
bytes_limit: Option<u64>,
proposals_limit: Option<u64>,
max_version: Option<u32>
) -> Result<BlockTemplate, String>
pub fn process_block_without_verify(
&mut self,
data: Block,
broadcast: bool
) -> Result<Option<H256>, String>
pub fn generate_block(
&mut self,
block_assembler_script: Option<Script>,
block_assembler_message: Option<JsonBytes>
) -> Result<H256, String>
pub fn set_extra_logger(
&mut self,
name: String,
config_opt: Option<ExtraLoggerConfig>
) -> Result<(), String>
Auto Trait Implementations
impl !RefUnwindSafe for HttpRpcClient
impl Send for HttpRpcClient
impl Sync for HttpRpcClient
impl Unpin for HttpRpcClient
impl !UnwindSafe for HttpRpcClient
Blanket Implementations
Mutably borrows from an owned value. Read more
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more