aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorLeonid Logvinov <logvinov.leon@gmail.com>2017-09-08 20:02:03 +0800
committerLeonid Logvinov <logvinov.leon@gmail.com>2017-09-08 20:02:03 +0800
commitbe0b9a1d7c9428fc35b3fdf3cd2a730e9bd5a606 (patch)
treecfa0a0deba09e4d89d171ed91b609c2bfde5221a /src
parentfdf54668aeaa1c66e2e00c116516158ac15d334e (diff)
downloaddexon-sol-tools-be0b9a1d7c9428fc35b3fdf3cd2a730e9bd5a606.tar
dexon-sol-tools-be0b9a1d7c9428fc35b3fdf3cd2a730e9bd5a606.tar.gz
dexon-sol-tools-be0b9a1d7c9428fc35b3fdf3cd2a730e9bd5a606.tar.bz2
dexon-sol-tools-be0b9a1d7c9428fc35b3fdf3cd2a730e9bd5a606.tar.lz
dexon-sol-tools-be0b9a1d7c9428fc35b3fdf3cd2a730e9bd5a606.tar.xz
dexon-sol-tools-be0b9a1d7c9428fc35b3fdf3cd2a730e9bd5a606.tar.zst
dexon-sol-tools-be0b9a1d7c9428fc35b3fdf3cd2a730e9bd5a606.zip
Add a comment for MethodOpts
Diffstat (limited to 'src')
-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;
}