ClientPublicMainnet
@ckb-ccc/core • Docs
@ckb-ccc/core / ccc / ClientPublicMainnet
Class: ClientPublicMainnet
An abstract class implementing JSON-RPC client functionality for a specific URL and timeout. Provides methods for sending transactions and building JSON-RPC payloads.
Extends
ClientJsonRpc
Constructors
new ClientPublicMainnet()
new ClientPublicMainnet(
url
,timeout
?):ClientPublicMainnet
Parameters
• url: string
= "https://mainnet.ckbapp.dev/"
• timeout?: number
Returns
ClientPublicMainnet
Overrides
ClientJsonRpc
.constructor
Source
client/clientPublicMainnet.ts:7
Properties
findCellsPaged()
findCellsPaged: (
key
,order
?,limit
?,after
?) =>Promise
<ClientFindCellsResponse
>
find cells from node.
Parameters
• key: ClientIndexerSearchKeyLike
The search key of cells.
• order?: "asc"
| "desc"
The order of cells.