Skip to content

Commit a6e5b3f

Browse files
authored
chore: update wallet server api docs (#2137)
1 parent 779a681 commit a6e5b3f

1 file changed

Lines changed: 7 additions & 7 deletions

File tree

docs/specs/openrpc/wallet-api/wallet-api.yaml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ methods:
1212
- name: wallet_requestAccount
1313
description: This method is used to get the smart account address and relevant info for a given signer. If an account does not already exist for a given signer, this method will create one before returning the counterfactual address.
1414
params:
15-
- name: requestAccountRequest
15+
- name: params[0]
1616
required: true
1717
schema:
1818
anyOf:
@@ -204,7 +204,7 @@ methods:
204204
- name: wallet_prepareCalls
205205
description: This method is used to prepare a user operation for submission. It will return a built user operation and a signature request which needs to be signed by the user before submitting to wallet_sendPreparedCalls
206206
params:
207-
- name: prepareCallsRequest
207+
- name: params[0]
208208
required: true
209209
schema:
210210
type: "object"
@@ -1907,7 +1907,7 @@ methods:
19071907
- name: wallet_sendPreparedCalls
19081908
description: This method is used after signing the signatureRequest returned from prepareCalls to submit a user operation
19091909
params:
1910-
- name: sendPreparedCallsRequest
1910+
- name: params[0]
19111911
required: true
19121912
schema:
19131913
allOf:
@@ -2825,7 +2825,7 @@ methods:
28252825
- name: wallet_createSession
28262826
description: This method is used to create a session for a given address with specified permissions.
28272827
params:
2828-
- name: createSessionRequest
2828+
- name: params[0]
28292829
required: true
28302830
schema:
28312831
type: "object"
@@ -3157,7 +3157,7 @@ methods:
31573157
- name: wallet_formatSign
31583158
description: This method is used to format ECDSA signatures
31593159
params:
3160-
- name: formatSignRequest
3160+
- name: params[0]
31613161
required: true
31623162
schema:
31633163
type: "object"
@@ -3537,7 +3537,7 @@ methods:
35373537
- name: wallet_listAccounts
35383538
description: This method is used to list all smart accounts for a given signer.
35393539
params:
3540-
- name: listAccountsRequest
3540+
- name: params[0]
35413541
required: true
35423542
schema:
35433543
type: "object"
@@ -3611,7 +3611,7 @@ methods:
36113611
- name: wallet_prepareSign
36123612
description: This method is used to translate raw data into a signature request
36133613
params:
3614-
- name: prepareSignRequest
3614+
- name: params[0]
36153615
required: true
36163616
schema:
36173617
type: "object"

0 commit comments

Comments
 (0)