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
If chainId is provided, the transaction is sent to that network (cross-chain).
98
117
118
+
-`submitTransaction`
119
+
Prepare transaction and emit `txSubmitted` event (to show tx in tx history in UI e.g.).
120
+
To be used after sending transaction through anything else than `broadcastTransaction`.
121
+
Doesn't do anything by itself, just for logging/parsing transactions.
122
+
99
123
-`signContractWrite`
100
124
Get signed tx for making a contract write call.
101
125
102
126
-`contractRead`
103
127
Get result of contract read.
104
128
Utility function, this has nothing to do with Oasis.
105
129
130
+
-`processGaslessMethod`
131
+
Call a contract method with a gasless transaction (app owner pays for the transaction fees instead of user).
132
+
106
133
### mustConfirm
107
134
108
135
This parameter can be used for wallet actions that require user confirmation. If set to `true`, the event `signatureRequest`/`txApprove` will be emitted with `resolve()` method passed in payload. Once resolve is called, the action continues. This can be used to display tx confirmation UI e.g.
0 commit comments