- Preparing search index...
- The search index is not available
Lumos
Methods
fetchHeader
-
Returns Promise<FetchHeaderResult>
fetchTransaction
- fetchTransaction(txHash): Promise<FetchTransactionResult>
-
Returns Promise<FetchTransactionResult>
getCells
- getCells<WithData>(searchKey, order, limit, cursor?): Promise<GetLiveCellsResult<WithData>>
-
Type Parameters
-
WithData extends boolean = true
Parameters
-
searchKey: GetCellsSearchKey<WithData>
-
order: Order
-
limit: string
-
Optional
cursor: string
Returns Promise<GetLiveCellsResult<WithData>>
getCellsCapacity
- getCellsCapacity(searchKey): Promise<CellsCapacity>
-
Returns Promise<CellsCapacity>
getGenesisBlock
- getGenesisBlock(): Promise<Block>
-
Returns Promise<Block>
getScripts
- getScripts(): Promise<LightClientScript[]>
-
Returns Promise<LightClientScript[]>
getTransaction
- getTransaction(txHash): Promise<TransactionWithStatus<Required<Transaction>>>
-
Returns Promise<TransactionWithStatus<Required<Transaction>>>
getTransactions
- getTransactions<Grouped>(searchKey, order, limit, cursor?): Promise<GetTransactionsResult<Grouped>>
-
Type Parameters
-
Grouped extends boolean = false
Parameters
-
searchKey: GetTransactionsSearchKey<Grouped>
-
order: Order
-
limit: string
-
Optional
cursor: string
Returns Promise<GetTransactionsResult<Grouped>>
sendTransaction
- sendTransaction(tx): Promise<string>
-
Returns Promise<string>
setScripts
- setScripts(scripts, command?): Promise<void>
-
Parameters
-
scripts: LightClientScript[]
-
Optional
command: SetScriptCommand
Returns Promise<void>
light client uri