Selected updates and improvements to the @skip-go/client
npm package.
executeMultipleRoutes
function that enables simultaneous execution of multiple routes. This powers the gas on receive feature, allowing users to automatically receive native gas tokens on destination chains during cross-chain swaps. The function accepts multiple routes (e.g., main swap + gas fee route) and executes them in a shared transaction for Cosmos chains. Learn more about Gas on Receive.batchSignTxs
parameter to executeRoute
. When enabled (default: true), all transactions in a multi-transaction route are signed upfront before broadcasting, reducing the number of user prompts and improving the overall user experience.ChainTransaction
type now includes an on_chain_ts
field, providing a timestamp for when the transaction was confirmed on-chain. This can be useful for tracking and display purposes.@skip-go/client
library, focusing on bundle size, developer experience, and performance. If you are upgrading from a version prior to v1.0.0, please see the Migration Guide for detailed instructions. For the best experience, including all subsequent enhancements and patches since the initial v1.0.0 release, we recommend upgrading directly to v1.1.0 or the latest available stable version.
executeRoute
method now accepts beforeMsg
and afterMsg
parameter to allow for the execution of custom Cosmos messages before/after the route is executed. This is useful for executing custom messages that are not part of the route definition./balance
methods query API endpoint. See the documentation and the API reference for more details.