Interface: GentlemintQueryExtensionMethods
@shareledgerjs/client.gentlemint.GentlemintQueryExtensionMethods
Methods
balances
▸ balances(address, height?): Promise<DecCoin[]>
Parameters
| Name | Type |
|---|---|
address | string |
height? | number |
Returns
Promise<DecCoin[]>
estimateFee
▸ estimateFee(address, actions, height?): Promise<FeeEstimation>
Parameters
| Name | Type |
|---|---|
address | string |
actions | string | string[] |
height? | number |
Returns
Promise<FeeEstimation>
exchangeRate
▸ exchangeRate(height?): Promise<Decimal>
Parameters
| Name | Type |
|---|---|
height? | number |
Returns
Promise<Decimal>
feeByAction
▸ feeByAction(action, height?): Promise<Coin>
Parameters
| Name | Type |
|---|---|
action | string |
height? | number |
Returns
Promise<Coin>
feeByLevel
▸ feeByLevel(level, height?): Promise<Coin>
Parameters
| Name | Type |
|---|---|
level | string |
height? | number |
Returns
Promise<Coin>
feeLevels
▸ feeLevels(height?): Promise<Record<string, Coin>>
Parameters
| Name | Type |
|---|---|
height? | number |
Returns
Promise<Record<string, Coin>>