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
Copy file name to clipboardExpand all lines: apps/portal/src/app/engine/features/account-abstraction/page.mdx
+3-3Lines changed: 3 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -64,12 +64,12 @@ Grant & revoke admins on an account with the `/contract/<chain>/<account_address
64
64
65
65
Grant & revoke sessions on an account which allow specific wallets to interact with specified contracts for a given period of time with the `/contract/<chain>/<account_address>/account/sessions` endpoints.
66
66
67
-
## Transact with an account
67
+
## Transact with an account using session keys
68
68
69
69
Make write calls with a smart account by calling a write endpoint and specify the `x-backend-wallet-address` and `x-account-address` headers.
70
70
71
-
The `x-backend-wallet-address` should be set to the engine backend wallet that is an admin over the account.
71
+
The `x-backend-wallet-address` should be set to the Engine backend wallet that has been granted signing permission by the smart account's admin through a [session key](https://portal.thirdweb.com/references/typescript/v5/erc4337/addSessionKey).
72
72
73
-
The `x-account-address` should be set to the deployed account address itself.
73
+
The `x-account-address` should be set to the deployed smart account address itself.
74
74
75
75
Write calls made using these headers will initiate a `UserOperation` sent from the specified account.
0 commit comments