Wrappers for JSON serialization.
An alert is a message about critical problems to be broadcast to all nodes via the p2p network.
An alert sent by RPC
A banned P2P address.
The JSON view of a Block used as a parameter in the RPC.
Block Economic State.
Block base rewards.
A block template for miners.
The JSON view of a Block including header and body.
Fixed-length 32 bytes binary encoded as a 0x-prefixed hex string in JSON.
The cell data content and hash.
The cell dependency of a transaction.
The JSON view of a cell combining the fields in cell output and cell data.
The input cell of a transaction.
The fields of an output cell except the cell data.
The JSON view of a cell with its status information.
The cellbase transaction template of the new block for miners.
Consensus defines various parameters that influence chain consensus
Response result of the RPC method
JSON view of an epoch.
Runtime logger config for extra loggers.
Serialize and Deserialize implementations for FeeRate
The block header.
The JSON view of a Header.
Variable-length binary encoded as a 0x-prefixed hex string in JSON.
The information of the node itself.
The information of a P2P protocol that is supported by the local node.
Runtime logger config.
Proof of CKB Merkle Tree.
Block rewards for miners.
Node P2P address and score.
Reference to a cell via transaction hash and output index.
The chain synchronization state between the local node and a remote node.
The transaction entry in the pool.
The 10-byte fixed-length binary encoded as a 0x-prefixed hex string in JSON.
Two protocol parameters
farthest define the closest
and farthest on-chain distance between a transaction’s proposal
Information of a remote node.
The information about an active running protocol.
Describes the lock script and type script for a cell.
The overall chain synchronization state of this local node.
Merkle proof for transactions in a block.
Transaction template which is ready to be committed in the new block.
The JSON view of a Transaction.
The JSON view of a transaction as well as its status.
Array of transaction ids
Transaction pool information.
Tx-pool verbose object
Transaction status and the block hash if it is committed.
Transaction verbose info
The uncle block used as a parameter in the RPC.
The uncle block.
The uncle block template of the new block for miners.
The dep cell type. Allowed values: “code” and “dep_group”.
Transaction output validators that prevent common mistakes.
TX reject message
All transactions in tx-pool.
This is a wrapper for JSON serialization to select the format between Json and Hex.
Specifies how the script
code_hash is used to match the script code and how to run the code.
Status for transaction
Specifies the topic which to be added as active subscription.
This trait is a restriction for type
Uint64, so we can only get epoch_number, epoch_index
and epoch_length from the type
EpochNumberWithFraction instead of all
A data structure that can be deserialized from any data format supported by Serde.
A data structure that can be serialized into any data format supported by Serde.
The alert identifier that is used to filter duplicated alerts.
Alerts are sorted by priority. Greater integers mean higher priorities.
Consecutive block number starting from 0.
The capacity of a cell is the value of the cell in Shannons. It is also the upper limit of the cell occupied storage size where every 100,000,000 Shannons give 1-byte storage.
Count of cycles consumed by CKB VM to run scripts.
Consecutive epoch number starting from 0.
The epoch indicator of a block. It shows which epoch the block is in, and the elapsed epoch fraction after adding this block.
The Unix timestamp in milliseconds (1 second is 1000 milliseconds).
The 32-bit unsigned integer type encoded as the 0x-prefixed hex string in JSON.
The 64-bit unsigned integer type encoded as the 0x-prefixed hex string in JSON.
The 128-bit unsigned integer type encoded as the 0x-prefixed hex string in JSON.
The simple increasing integer version.