Alchemy Logo

SmartContractAccount

type SmartContractAccount<Name, TEntryPointVersion> = LocalAccount<Name> &
  object &
  SigningMethods;

Defined in: aa-sdk/core/src/account/smartContractAccount.ts:119

NameType

encodeBatchExecute()

(txs) => Promise<Hex>

encodeExecute()

(tx) => Promise<Hex>

encodeUpgradeToAndCall()

(params) => Promise<Hex>

getDummySignature()

() => Hex | Promise<Hex>

getEntryPoint()

() => EntryPointDef<TEntryPointVersion>

getFactoryAddress()

() => Promise<Address>

getFactoryData()

() => Promise<Hex>

getImplementationAddress()

() => Promise<NullAddress | Address>

getInitCode()

() => Promise<Hex>

isAccountDeployed()

() => Promise<boolean>

signMessageWith6492()

(params) => Promise<Hex>

signTypedDataWith6492()

<typedData, primaryType>(typedDataDefinition) => Promise<Hex>

signUserOperationHash()

(uoHash) => Promise<Hex>

source

Name

getAccountNonce()

(nonceKey?) => Promise<bigint>

Type ParameterDefault type

Name extends string

string

TEntryPointVersion extends EntryPointVersion

EntryPointVersion

Was this page helpful?