SingleMsgTx<T>: {
    simulate(params, txOptions?) => Promise<SimulateResponse>;
    (params, txOptions?): Promise<TxResponse>;
}

Type Parameters

  • T

Type declaration

    • (params, txOptions?): Promise<TxResponse>
    • SingleMsgTx is a function that broadcasts a single message transaction. It also has a simulate() method to execute the transaction without committing it on-chain. This is helpful for gas estimation.

      WARNING: tx.compute.instantiateContract() & tx.compute.executeContract() simulation is not supported for security reasons!

      Parameters

      Returns Promise<TxResponse>

  • simulate:function
    • Parameters

      Returns Promise<SimulateResponse>

Generated using TypeDoc