Skip to content

stopImpersonatingAccount

Stop impersonating an account after having previously used impersonateAccount.

Usage

example.ts
import { testClient } from './client'
 
await testClient.stopImpersonatingAccount({ 
  address: '0xa5cc3c03994DB5b0d9A5eEdD10CabaB0813678AC'
})

Parameters

address

The address of the target account.

await testClient.stopImpersonatingAccount({
  address: '0xa5cc3c03994DB5b0d9A5eEdD10CabaB0813678AC', 
})