Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -64,12 +64,12 @@ Grant & revoke admins on an account with the `/contract/<chain>/<account_address

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.

## Transact with an account
## Transact with an account using session keys

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

The `x-backend-wallet-address` should be set to the engine backend wallet that is an admin over the account.
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).

The `x-account-address` should be set to the deployed account address itself.
The `x-account-address` should be set to the deployed smart account address itself.

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