You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Context: I was fixing the max button issue from the stake-tokens example (to get the actual max amount which is the available balance minus the gas fee), and I noticed that Keplr uses this request /cosmos/tx/v1beta1/simulate to estimate the gas probably, but an uint8array type of data needs to be passed into the txBytes property
Question: how can I turn the transaction message (or any other data needed) into the uint8array data?
The text was updated successfully, but these errors were encountered:
Context: I was fixing the max button issue from the stake-tokens example (to get the actual max amount which is the available balance minus the gas fee), and I noticed that Keplr uses this request
/cosmos/tx/v1beta1/simulate
to estimate the gas probably, but an uint8array type of data needs to be passed into thetxBytes
propertyQuestion: how can I turn the transaction message (or any other data needed) into the uint8array data?
The text was updated successfully, but these errors were encountered: