@skip-go/client 0.16.29 → 0.16.31

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.ts CHANGED
@@ -1937,6 +1937,14 @@ type ExecuteRouteOptions = SignerGetters & GasOptions & TransactionCallbacks & P
1937
1937
  * Addresses should be in the same order with the `chainIDs` in the `route`
1938
1938
  */
1939
1939
  userAddresses: UserAddress[];
1940
+ /**
1941
+ * defaults to true
1942
+ * if `simulate` is set to `true`, it will simulate the transaction before sending it.
1943
+ * This is useful for checking if the transaction will succeed or not and get a proper gas amount.
1944
+ *
1945
+ * If `simulate` is set to `false`, it will not simulate the transaction and send it directly.
1946
+ * We suggest if you set it to `false` you should set `getFallbackGasAmount` for chainID that you are going to have.
1947
+ */
1940
1948
  simulate?: boolean;
1941
1949
  slippageTolerancePercent?: string;
1942
1950
  /**
@@ -1955,6 +1963,12 @@ type ExecuteRouteOptions = SignerGetters & GasOptions & TransactionCallbacks & P
1955
1963
  * This can be useful if approval has already been handled externally or there are race conditions.
1956
1964
  */
1957
1965
  bypassApprovalCheck?: boolean;
1966
+ /**
1967
+ * defaults to true
1968
+ * If `batchSimulate` is set to `true`, it will simulate all messages in a batch before the first tx run.
1969
+ * If `batchSimulate` is set to `false`, it will simulate each message one by one.
1970
+ */
1971
+ batchSimulate?: boolean;
1958
1972
  };
1959
1973
  type ExecuteCosmosMessageOptions = {
1960
1974
  signerAddress: string;