CKBApiClient class

Constructors

CKBApiClient(String nodeUrl)

Properties

hashCode int
The hash code for this object. [...]
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

computeScriptHash(Script script) Future<String>
computeTransactionHash(Transaction transaction) Future<String>
DeindexLockHash(String lockHash) Future
dryRunTransaction(Transaction transaction) Future<Cycles>
genesisBlock() Future<Block>
genesisBlockHash() Future<String>
getBannedAddress() Future<List<BannedAddress>>
getBlock(String blockHash) Future<Block>
getBlockByBlockNumber(String blockNumber) Future<Block>
getBlockchainInfo() Future<BlockchainInfo>
getBlockHash(String blockNumber) Future<String>
getCellbaseOutputCapacityDetails(String blockHash) Future<CellbaseOutputCapacity>
getCellsByLockHash(String hash, String fromBlockNumber, String toBlockNumber) Future<List<CellWithOutPoint>>
getCurrentEpoch() Future<Epoch>
getEpochByNumber(String epochNumber) Future<Epoch>
getHeader(String blockHash) Future<Header>
getHeaderByNumber(String blockNumber) Future<Header>
getIndexLockHash(String lockHash, String indexFrom) Future<LockHashIndexState>
getLiveCell(OutPoint outPoint, bool withData) Future<CellWithStatus>
getLiveCellsByLockHash(String lockHash, String page, String size) Future<List<LiveCell>>
getLocalNodeInfo() Future<NodeInfo>
getLockHashIndexStates() Future<List<LockHashIndexState>>
getPeers() Future<List<NodeInfo>>
getPeersState() Future<List<PeerState>>
getTipBlockNumber() Future<String>
getTipHeader() Future<Header>
getTransaction(String hash) Future<TransactionWithStatus>
getTransactionByLockHash(String lockHash, String page, String size) Future<List<TransactionByLockHash>>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
sendTransaction(Transaction transaction) Future<String>
setBan(BannedAddress bannedAddress) Future
toString() String
A string representation of this object. [...]
inherited
txPoolInfo() Future<TxPoolInfo>

Operators

operator ==(Object other) bool
The equality operator. [...]
inherited