Skip to main content

Interface: GentlemintTxExtensionMethods

@shareledgerjs/client.gentlemint.GentlemintTxExtensionMethods

Methods

burn

burn(fromAddress, coins): MsgBurnEncodeObject

Parameters

NameType
fromAddressstring
coinsDecCoin[]

Returns

MsgBurnEncodeObject


buyShr

buyShr(toAddress, amount): MsgBuyShrEncodeObject

Parameters

NameType
toAddressstring
amountLong

Returns

MsgBuyShrEncodeObject


load

load(fromAddress, toAddress, coins): MsgLoadEncodeObject

Parameters

NameType
fromAddressstring
toAddressstring
coinsDecCoin[]

Returns

MsgLoadEncodeObject


loadFee

loadFee(address, fee): MsgLoadFeeEncodeObject

Parameters

NameType
addressstring
feeDecCoin

Returns

MsgLoadFeeEncodeObject


send

send(fromAddress, toAddress, coins): MsgSendEncodeObject

Parameters

NameType
fromAddressstring
toAddressstring
coinsDecCoin[]

Returns

MsgSendEncodeObject


setExchangeRate

setExchangeRate(rate, creator): MsgSetExchangeEncodeObject

Parameters

NameType
ratestring
creatorstring

Returns

MsgSetExchangeEncodeObject