revert
Revert the state of the blockchain at the current block.
Usage
example.ts
import { testClient } from './client'
await testClient.revert({
id: '0x...'
})
Parameters
id
- Type:
"0x${string}"
The snapshot ID.
await testClient.revert({
id: '0x...'
})