Interface: TxQueryExtensionMethods
@shareledgerjs/client.tx.TxQueryExtensionMethods
Methods
getTx
▸ getTx(hash
): Promise
<GetTxResponse
>
Parameters
Name | Type |
---|---|
hash | string |
Returns
Promise
<GetTxResponse
>
getTxs
▸ getTxs(events
, orderBy?
, paginationKey?
): Promise
<GetTxsEventResponse
>
Parameters
Name | Type |
---|---|
events | string [] |
orderBy? | OrderBy |
paginationKey? | Uint8Array |
Returns
Promise
<GetTxsEventResponse
>
simulate
▸ simulate(signer
, sequence
, messages
, memo?
, fee?
): Promise
<SimulateResponse
>
Parameters
Name | Type |
---|---|
signer | Pubkey |
sequence | number |
messages | readonly Any [] |
memo? | string |
fee? | StdFee |
Returns
Promise
<SimulateResponse
>