Wallet Controller
All chain interaction functions which are vault dependent
Functions
Types
⛽️ Lit Infra Gas abstraction updates on same chain - @tria-sdk/web@6.5.0
If using the interaction functions directly it will batch both txns (main+gas/fee cut txn) in the same userOp and broadcast
If we are using broadcastTxn for the userOp received by FeeController - this userOp only includes the main user txn - on the basis of gas estimated for this txn - we get the gas token amount to cut for the gas cut txn details - we now have to estimate again after the gas token is selected - batch it with the main user txn and get the new userOp (with gas cut txn too) to broadcast.
or, use the main txn interaction functions (send, sendNft, ..) directly to with the gas amount
Ideal case, we preselect a gas token to cut, but we don't know the amount yet unless the first txn fee is estimated, so we have to create the new userOp in the 2nd time only anyways
⛽️ Solana Old Infra gas abstraction updates - @tria-sdk/web@4.2.27
only in, send
sendNft
rest is in SolanaWallet controller for signAndSendTransaction for any kind of transaction
Last updated