Skip to content

Commit 5371820

Browse files
eabdelmoneimjoaquim-vergesjnsdlsgraphite-app[bot]
authored
updated description of using session keys with Engine (#6474)
Signed-off-by: Eiman <eabdelmoneim@gmail.com> Signed-off-by: Joaquim Verges <joaquim.verges@gmail.com> Co-authored-by: Joaquim Verges <joaquim.verges@gmail.com> Co-authored-by: Jonas Daniels <jonas.daniels@outlook.com> Co-authored-by: graphite-app[bot] <96075541+graphite-app[bot]@users.noreply.github.com>
1 parent ef2613a commit 5371820

File tree

1 file changed

+3
-3
lines changed
  • apps/portal/src/app/engine/features/account-abstraction

1 file changed

+3
-3
lines changed

apps/portal/src/app/engine/features/account-abstraction/page.mdx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -64,12 +64,12 @@ Grant & revoke admins on an account with the `/contract/<chain>/<account_address
6464

6565
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.
6666

67-
## Transact with an account
67+
## Transact with an account using session keys
6868

6969
Make write calls with a smart account by calling a write endpoint and specify the `x-backend-wallet-address` and `x-account-address` headers.
7070

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).
7272

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.
7474

7575
Write calls made using these headers will initiate a `UserOperation` sent from the specified account.

0 commit comments

Comments
 (0)