Module high_level

Source
Available on crate feature ckb-types only.

Structs§

QueryIter
QueryIter

Constants§

BUF_SIZE
Default buffer size, it is used to load data from syscall. The default value is set to 256, which will be enough for most cases:

Functions§

decode_hex
encode_hex
exec_cell
Exec a cell in cell dep.
find_cell_by_data_hash
Find cell by data_hash
inherited_fds
Get inherited file descriptors.
load_cell
Load cell
load_cell_capacity
Load cell capacity
load_cell_data
Load cell data
load_cell_data_hash
Load cell data hash
load_cell_lock
Load cell lock
load_cell_lock_hash
Load cell lock hash
load_cell_occupied_capacity
Load cell occupied capacity
load_cell_type
Load cell type
load_cell_type_hash
Load cell type hash
load_header
Load header
load_header_epoch_length
Load header epoch length
load_header_epoch_number
Arguments
load_header_epoch_start_block_number
Load header epoch start block number
load_input
Load input
load_input_out_point
Load input out point
load_input_since
Load input since
load_script
Load script
load_script_hash
Load script hash
load_transaction
Load transaction
load_tx_hash
Load tx hash
load_witness
Load witness
load_witness_args
Load witness args
look_for_dep_with_data_hash
look_for_dep_with_hash2
Look for a dep cell with specific code hash, code_hash should be a buffer with 32 bytes.
spawn_cell
Spawn a cell in cell dep.