diff options
author | Leonid Logvinov <logvinov.leon@gmail.com> | 2017-09-08 20:02:03 +0800 |
---|---|---|
committer | Leonid Logvinov <logvinov.leon@gmail.com> | 2017-09-08 20:02:03 +0800 |
commit | be0b9a1d7c9428fc35b3fdf3cd2a730e9bd5a606 (patch) | |
tree | cfa0a0deba09e4d89d171ed91b609c2bfde5221a | |
parent | fdf54668aeaa1c66e2e00c116516158ac15d334e (diff) | |
download | dexon-0x-contracts-be0b9a1d7c9428fc35b3fdf3cd2a730e9bd5a606.tar.gz dexon-0x-contracts-be0b9a1d7c9428fc35b3fdf3cd2a730e9bd5a606.tar.zst dexon-0x-contracts-be0b9a1d7c9428fc35b3fdf3cd2a730e9bd5a606.zip |
Add a comment for MethodOpts
-rw-r--r-- | src/types.ts | 6 |
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; } |