TxClient..::..Simulate Method
Overload List
Name | Description | |
---|---|---|
![]() |
Simulate(MsgBase, TxOptions) |
Simulates the specified Tx / message.
|
![]() |
Simulate(IMessage, TxOptions) |
Simulates the specified message.
|
![]() |
Simulate(array<IMessage>[]()[][], TxOptions) |
Used to simulate a complex transactions, which contains a list of messages, without broadcasting it to the chain. Can be used to get a gas estimation or to see the output without actually committing a transaction on-chain.
The input should be exactly how you'd use it in Tx.Broadcast(), except that you don't have to pass in gasLimit, gasPriceInFeeDenom and feeDenom.
|
![]() |
Simulate(array<MsgBase>[]()[][], TxOptions) |
Used to simulate a complex transactions, which contains a list of messages, without broadcasting it to the chain. Can be used to get a gas estimation or to see the output without actually committing a transaction on-chain.
The input should be exactly how you'd use it in Tx.Broadcast(), except that you don't have to pass in gasLimit, gasPriceInFeeDenom and feeDenom.
|