Adding custom messages before or after route execution
TheexecuteRoute
method now accepts beforeMsg
and afterMsg
parameter to allow for the execution of custom Cosmos messages before and/or after the route is executed. This is useful for executing custom messages that are not part of the route definition.
Use the Go Fast Transfer system
Theroute
function accepts a goFast
parameter to enable the Go Fast Transfers. Then pass this route to the executeRoute
method to execute.
Add a fee payer in solana transaction
TheexecuteRoute
method accepts a svmFeePayer
parameter to specify a fee payer for Solana transactions. This is useful when you want to have a different account pay the transaction fees.