Skip to content

Commit 8d57125

Browse files
authored
add more context on wallet_getKeys.md
1 parent eff34dc commit 8d57125

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

apps/docs/pages/relay/wallet_getKeys.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22

33
Get all keys for an account.
44

5+
When [`wallet_prepareUpgradeAccount`](/relay/wallet_prepareUpgradeAccount) & [`wallet_upgradeAccount`](/relay/wallet_upgradeAccount) are called with a key, it gets stored by the Relay. This allows `wallet_getKeys` to return keys for chains where the account has not yet been deployed. For example, if an account is prepared with an admin key but only deployed on Chain A, calling `wallet_getKeys` for Chain B (where the account is not deployed) will still return the admin key that was authorized during account preparation.
6+
57
## Request
68

79
```ts twoslash

0 commit comments

Comments
 (0)