Crate ckb_types

Source
Expand description

§The Core Types Library

This Library provides the essential types for CKB.

Re-exports§

pub use bytes;
pub use molecule;

Modules§

constants
All Constants.
core
The essential rust types for CKB.
error
global
Global data, initialized in the launch phase.
packed
Various newtypes of bytes::Bytes, and their associated types.
prelude
This module includes several traits.
utilities
Types utilities.

Macros§

h160
A macro used to create a const H160 from a hexadecimal string or a trimmed hexadecimal string.
h256
A macro used to create a const H256 from a hexadecimal string or a trimmed hexadecimal string.
u256

Structs§

BlockNumberAndHash
Block Number And Hash struct
H160
The 20-byte fixed-length binary data.
H256
The 32-byte fixed-length binary data.
U128
Fixed non-negative integer type.
U256
Fixed non-negative integer type.