ckb_sdk library

Classes

Address
AlertMessage
ApiRequest
BannedAddress
Blake2b
Block
BlockchainInfo
CellbaseOutputCapacity
CellDep
CellInput
CellOutput
CellWithOutPoint
CellWithStatus
CKBAddress
CKBApiClient
CommonException
Cycles
Epoch
LiveCell
LockHashIndexState
MsgSignature
NodeInfo
OutPoint
PeerState
RPCError
Script
ServiceUrl
SystemContract
Transaction
TransactionByLockHash
TransactionPoint
TransactionWithStatus
TxPoolInfo
TxStatus
UncleBlock

Constants

CKB_HASH_PERSONALIZATION → const String
"ckb-default-hash"
CODE_HASH_IDX → const String
"00"
MainNetPrefix → const String
"ckb"
P2PHBinIdx → const String
"P2PH"
TestNetPrefix → const String
"ckt"
TYPE1 → const String
"01"

Properties

params ECDomainParameters
final
sha3digest SHA3Digest
final

Functions

arrayCopy(dynamic bytes dynamic srcOffset dynamic result dynamic destOffset dynamic bytesLength) → List<int>
blake2b(Uint8List input) → Uint8List
blake2bHexString(String hexInput) → String
blake2bUtf8String(String utf8Input) → String
blake160(String value) → String
bytesToHex(List<int> bytes, { bool pad: false, bool include0x: false, int forcePadLen }) → String
bytesToInt(List<int> bytes) → BigInt
digitHex(String hex) → int
getSystemContract(CKBApiClient _ckbApiClient) → Future<SystemContract>
hexAdd0x(String hex) → String
hexStringToByteArray(String input) → Uint8List
intToBytes(BigInt number) → List<int>
keccak256(Uint8List input) → Uint8List
keccakAscii(String input) → Uint8List
keccakUtf8(String input) → Uint8List
littleEndian(int number) → String
numberToBytes(dynamic number) → List<int>
numberToHex(dynamic number, { bool pad: false, bool include0x: false, int forcePadLen }) → String
publicKeyFromPrivate(Uint8List privateKey, { bool compress: true }) → Uint8List
publicKeyFromPrivateSign(Uint8List privateKey) → Uint8List
remove0x(String hex) → String
sign(Uint8List messageHash Uint8List privateKey) MsgSignature
toBytesPadded(BigInt value, int length) → List<int>
toHex(String input) → String
uint8ListFromList(List<int> data) → Uint8List

Enums

CKBNetwork

Exceptions / Errors

EmptyResponseException
InvalidHashTypeException
InvalidNumberOfWitnessesException
NoSystemContactException
NullResultException
RPCBaseException
RPCErrorException
RPCRequestException
RPCTimeOutException