File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
wallet/how-to/manage-networks Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -65,7 +65,7 @@ For example:
6565
6666``` javascript
6767extensionPort .postMessage ({
68- type: " caip-x " ,
68+ type: " caip-348 " ,
6969 data: {
7070 jsonrpc: " 2.0" ,
7171 method: " wallet_getSession" ,
@@ -85,7 +85,7 @@ For example:
8585
8686``` javascript
8787extensionPort .postMessage ({
88- type: " caip-x " ,
88+ type: " caip-348 " ,
8989 data: {
9090 jsonrpc: " 2.0" ,
9191 method: " wallet_createSession" ,
@@ -175,7 +175,7 @@ const message = `Sign-in request for ${address} at ${new Date().toLocaleString()
175175
176176// Invoke the personal_sign Wallet API method.
177177const sign = await extensionPort .postMessage ({
178- type: " caip-x " ,
178+ type: " caip-348 " ,
179179 data: {
180180 " jsonrpc" : " 2.0" ,
181181 method: " wallet_invokeMethod" ,
@@ -198,7 +198,7 @@ For example:
198198
199199``` javascript
200200extensionPort .postMessage ({
201- type: " caip-x " ,
201+ type: " caip-348 " ,
202202 data: {
203203 jsonrpc: " 2.0" ,
204204 method: " wallet_invokeMethod" ,
@@ -221,7 +221,7 @@ For example:
221221
222222``` javascript
223223return extensionPort .postMessage ({
224- type: " caip-x " ,
224+ type: " caip-348 " ,
225225 data: {
226226 jsonrpc: " 2.0" ,
227227 method: " wallet_invokeMethod" ,
You can’t perform that action at this time.
0 commit comments