Snapshot
Snapshot takes a snapshot of the current blockchain state with evm_snapshot
and returns the snapshot id.
Only supported on development chains (hardhat, anvil, ganache, ...).
func Snapshot() (snapshotId *big.Int, err error)
func main() {
...
alchemy := gas.NewAlchemy(setting)
snapshotId, err := alchemy.Debug.Snapshot()
}