Skip to content
Merged
Show file tree
Hide file tree
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
5 changes: 5 additions & 0 deletions .changeset/large-hornets-scream.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@thirdweb-dev/engine": patch
---

Update to latest API
5 changes: 5 additions & 0 deletions .changeset/whole-ducks-cheat.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"thirdweb": patch
---

Update server wallet config types for 7702 and EOA execution
12 changes: 9 additions & 3 deletions packages/engine/src/client/sdk.gen.ts
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,13 @@ export const signTypedData = <ThrowOnError extends boolean = false>(

/**
* Read Contract
* Read from multiple smart contracts using multicall
* Read from smart contracts with intelligent execution strategy:
* - Single calls: Always executed directly for efficiency
* - Multiple calls: Uses multicall by default, or direct calls if disabled
* - Failed preparations: Returns preparation errors directly
*
* If multicall is not specified, it will be used by default. In case of multicall related errors, engine will fallback to direct calls.
* Only in the case where multicall is explicitly enabled, engine will not fallback to direct calls.
*/
export const readContract = <ThrowOnError extends boolean = false>(
options: Options<ReadContractData, ThrowOnError>,
Expand Down Expand Up @@ -268,8 +274,8 @@ export const listAccounts = <ThrowOnError extends boolean = false>(
};

/**
* Create Server Wallet
* Create a new engine server wallet. This is a helper route for creating a new EOA with your KMS provider, provided as a convenient alternative to creating an EOA directly with your KMS provider. Your KMS credentials are not stored, and usage of created accounts require your KMS credentials to be sent with requests.
* Get or Create Server Wallet
* Create a new engine server wallet or retrieve an existing one. If the EOA already exists for the given label, it will be returned without creating a new one.
*/
export const createAccount = <ThrowOnError extends boolean = false>(
options?: Options<CreateAccountData, ThrowOnError>,
Expand Down
Loading
Loading