ckb_serialization library

Classes

Byte1
Byte32
Bytes
Dynamic<T extends Type>
DynType<T>
Empty
Fixed<T extends FixedType>
FixedType<T>
Struct
Table
Type<T>
Uint32
Uint64

Properties

RADIO → BigInt
final
SERIALIZED_TX_OFFSET_BYTE_SIZE → int
final

Functions

calculateSerializedSizeInBlock(Transaction transaction) → int
calculateTransactionFee(BigInt transactionSize BigInt feeRate) → BigInt
parseOutPoint(OutPoint outPoint) OutPoint
parseTransaction(Transaction transaction) Transaction
serializeByte32(List<String> bytes) Fixed<Byte32>
serializeBytes(List<String> bytes) Dynamic<Bytes>
serializeCellDep(CellDep cellDep) Struct
serializeCellDeps(List<CellDep> cellDeps) Fixed<Struct>
serializeCellInput(CellInput cellInput) Struct
serializeCellInputs(List<CellInput> cellInputs) Fixed<Struct>
serializeCellOutput(CellOutput cellOutput) Table
serializeCellOutputs(List<CellOutput> cellOutputs) Dynamic<Table>
serializeOutPoint(OutPoint outPoint) Struct
serializeRawTransaction(Transaction transaction) Table
serializeScript(Script script) Table
serializeTransaction(Transaction transaction) Table