Skip to content
Alchemy Logo

UpgradeAccountParams | @aa-sdk/core

type UpgradeAccountParams<TAccount, TContext, TEntryPointVersion> = object &
  GetAccountParameter<TAccount> &
  GetContextParameter<TContext> &
  UserOperationOverridesParameter<TEntryPointVersion>;

Defined in: aa-sdk/core/src/actions/smartAccount/types.ts:18

NameType

upgradeTo

UpgradeToData

waitForTx?

boolean

Type ParameterDefault type

TAccount extends SmartContractAccount | undefined

TContext extends UserOperationContext | undefined

UserOperationContext | undefined

TEntryPointVersion extends GetEntryPointFromAccount<TAccount>

GetEntryPointFromAccount<TAccount>

Was this page helpful?