Skip to content

Commit 80635b4

Browse files
authored
[BA-2209] Update wallet_addSubAccount params: rename keys.key to keys.publicKey (#55)
1 parent fc36b9e commit 80635b4

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

docs/smart-wallet/llms.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2358,7 +2358,7 @@ type AccountCreate = {
23582358
type: 'create';
23592359
keys: {
23602360
type: 'address' | 'p256' | 'webcrypto-p256' | 'webauthn-p256';
2361-
key: `0x${string}`;
2361+
publicKey: `0x${string}`;
23622362
}[];
23632363
};
23642364

docs/smart-wallet/technical-reference/sdk/CoinbaseWalletProvider/wallet_addSubAccount.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ Array of key objects for the sub account (required for "create" type).
2727
Type of key: "address", "p256", "webcrypto-p256", or "webauthn-p256".
2828
</ParamField>
2929

30-
<ParamField body="key" type="string" required>
30+
<ParamField body="publicKey" type="string" required>
3131
Hex string of the public key.
3232
</ParamField>
3333
</Expandable>
@@ -70,7 +70,7 @@ Factory deployment data (optional).
7070
"type": "create",
7171
"keys": [{
7272
"type": "p256",
73-
"key": "0x0123456789abcdef..."
73+
"publicKey": "0x0123456789abcdef..."
7474
}]
7575
}
7676
}]

0 commit comments

Comments
 (0)