setNextBlockTimestamp
Sets the next block's timestamp.
Import
ts
import { setNextBlockTimestamp } from 'viem'
Usage
ts
import { setNextBlockTimestamp } from 'viem'
import { testClient } from '.'
 
await setNextBlockTimestamp(testClient, { 
  timestamp: 1671744314
})
Parameters
timestamp
- Type: 
number 
ts
await setNextBlockTimestamp(testClient, {
  timestamp: 1671744314 
})
Notes
- The next Block 
timestampcannot be lesser than the current Blocktimestamp.