aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/types.ts6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/types.ts b/src/types.ts
index d62edd231..eb83d7c2b 100644
--- a/src/types.ts
+++ b/src/types.ts
@@ -421,6 +421,12 @@ export interface Artifact {
}};
}
+/*
+ * defaultBlock: The block up to which to query the blockchain state. Setting this to a historical block number
+ * let's the user query the blockchain's state at an arbitrary point in time. In order for this to work, the
+ * backing Ethereum node must keep the entire historical state of the chain (e.g setting `--pruning=archive`
+ * flag when running Parity).
+ */
export interface MethodOpts {
defaultBlock?: Web3.BlockParam;
}