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
The component provides the `Connect` button with the modal, which will contain another three buttons for four different authentication possibilities (Maiar Mobile App, Maiar Defi Wallet - browser extension, MultiversX Web Wallet). You should be able to use it in any place on the website.
61
+
The component provides the `Connect` button with the modal, which will contain another three buttons for four different authentication possibilities (xPortal Mobile App, MultiversX Defi Wallet - browser extension, MultiversX Web Wallet). You should be able to use it in any place on the website.
args: [], // arguments for the query in hex format, you can use erdjs for that, for example: args: [ new Address('erd1....').hex() ] etc. It will be also simplified in the future.
157
+
args: [], // arguments for the query in hex format, you can use sdk-core for that, for example: args: [ new Address('erd1....').hex() ] etc. It will be also simplified in the future.
158
158
},
159
159
autoInit:false, // you can enable or disable the trigger of the query on the component mount
160
160
abiJSON: yourImportedAbiJSONObject // required for SCQueryType.COMPLEX type
@@ -172,7 +172,7 @@ const { data } = useScQuery<TypedOutcomeBundle>({
172
172
payload: {
173
173
scAddress:'erd1qqq...',
174
174
funcName:'yourScFunction',
175
-
args: [], // args in hex format, use erdjs for conversion, see above
175
+
args: [], // args in hex format, use sdk-core for conversion, see above
You can then process the data. For example `data.firstValue.valueOf()` or `data.firstValue.toString()` if applicable. The returned type can be further processed using erdjs.
196
+
You can then process the data. For example `data.firstValue.valueOf()` or `data.firstValue.toString()` if applicable. The returned type can be further processed using sdk-core.
0 commit comments