Skip to content
On this page

revert

Revert the state of the blockchain at the current block.

Usage

ts
import { testClient } from '.'
 
await testClient.revert({ 
  id: '0x...'
})

Parameters

id

  • Type: "0x${string}"

The snapshot ID.

ts
await testClient.revert({
  id: '0x...' 
})

Released under the MIT License.