-
Notifications
You must be signed in to change notification settings - Fork 70
@liquality.types.ChainProvider
Krasimir Raykov edited this page Mar 30, 2022
·
3 revisions
@liquality/types.ChainProvider
▸ getBalance(addresses, assets): Promise<BigNumber[]>
| Name | Type |
|---|---|
addresses |
AddressType[] |
assets |
Asset[] |
Promise<BigNumber[]>
▸ getBlockByHash(blockHash, includeTx?): Promise<Block<any, any>>
| Name | Type |
|---|---|
blockHash |
string |
includeTx? |
boolean |
Promise<Block<any, any>>
▸ getBlockByNumber(blockNumber, includeTx?): Promise<Block<any, any>>
| Name | Type |
|---|---|
blockNumber |
number |
includeTx? |
boolean |
Promise<Block<any, any>>
▸ getBlockHeight(): Promise<number>
Promise<number>
▸ getTransactionByHash(txHash): Promise<Transaction<any>>
| Name | Type |
|---|---|
txHash |
string |
Promise<Transaction<any>>