Skip to main content

Interface: GentlemintQueryExtensionMethods

@shareledgerjs/client.gentlemint.GentlemintQueryExtensionMethods

Methods

balances

balances(address, height?): Promise<DecCoin[]>

Parameters

NameType
addressstring
height?number

Returns

Promise<DecCoin[]>


estimateFee

estimateFee(address, actions, height?): Promise<FeeEstimation>

Parameters

NameType
addressstring
actionsstring | string[]
height?number

Returns

Promise<FeeEstimation>


exchangeRate

exchangeRate(height?): Promise<Decimal>

Parameters

NameType
height?number

Returns

Promise<Decimal>


feeByAction

feeByAction(action, height?): Promise<Coin>

Parameters

NameType
actionstring
height?number

Returns

Promise<Coin>


feeByLevel

feeByLevel(level, height?): Promise<Coin>

Parameters

NameType
levelstring
height?number

Returns

Promise<Coin>


feeLevels

feeLevels(height?): Promise<Record<string, Coin>>

Parameters

NameType
height?number

Returns

Promise<Record<string, Coin>>