|
12 | 12 | <dd></dd> |
13 | 13 | <dt><a href="#getCodeResult">getCodeResult</a> : <code>object</code></dt> |
14 | 14 | <dd></dd> |
| 15 | +<dt><a href="#getCodeHashResult">getCodeHashResult</a> : <code>object</code></dt> |
| 16 | +<dd></dd> |
15 | 17 | <dt><a href="#getAbiResult">getAbiResult</a> : <code>object</code></dt> |
16 | 18 | <dd></dd> |
17 | 19 | <dt><a href="#getRawCodeAndAbiResult">getRawCodeAndAbiResult</a> : <code>object</code></dt> |
|
53 | 55 | * [.getInfo()](#eos.getInfo) ⇒ <code>string</code> |
54 | 56 | * [.getAccount(account_name)](#eos.getAccount) ⇒ <code>string</code> |
55 | 57 | * [.getCode(account_name, [code_as_wasm])](#eos.getCode) ⇒ [<code>getCodeResult</code>](#getCodeResult) |
| 58 | + * [.getCodeHash(account_name)](#eos.getCodeHash) ⇒ [<code>getCodeHashResult</code>](#getCodeHashResult) |
56 | 59 | * [.getAbi(account_name)](#eos.getAbi) ⇒ [<code>getAbiResult</code>](#getAbiResult) |
57 | 60 | * [.getRawCodeAndAbi(account_name)](#eos.getRawCodeAndAbi) ⇒ [<code>getRawCodeAndAbiResult</code>](#getRawCodeAndAbiResult) |
58 | 61 | * [.abiJsonToBin(code, action, args)](#eos.abiJsonToBin) ⇒ [<code>abiJsonToBinResult</code>](#abiJsonToBinResult) |
@@ -127,6 +130,23 @@ url_path: `/v1/chain/get_code` |
127 | 130 | ```js |
128 | 131 | eos.getCode(account_name, code_as_wasm) |
129 | 132 | ``` |
| 133 | +<a name="eos.getCodeHash"></a> |
| 134 | + |
| 135 | +### eos.getCodeHash(account_name) ⇒ [<code>getCodeHashResult</code>](#getCodeHashResult) |
| 136 | +**Kind**: static method of [<code>eos</code>](#eos) |
| 137 | + |
| 138 | +| Param | Type | |
| 139 | +| --- | --- | |
| 140 | +| account_name | <code>name</code> | |
| 141 | + |
| 142 | +**Example** |
| 143 | +```js |
| 144 | +url_path: `/v1/chain/get_code_hash` |
| 145 | +``` |
| 146 | +**Example** |
| 147 | +```js |
| 148 | +eos.getCodeHash(account_name) |
| 149 | +``` |
130 | 150 | <a name="eos.getAbi"></a> |
131 | 151 |
|
132 | 152 | ### eos.getAbi(account_name) ⇒ [<code>getAbiResult</code>](#getAbiResult) |
@@ -524,6 +544,17 @@ eos.getControlledAccounts(controlling_account) |
524 | 544 | | code_hash | <code>sha256</code> | |
525 | 545 | | abi | <code>optional.<abi_def></code> | |
526 | 546 |
|
| 547 | +<a name="getCodeHashResult"></a> |
| 548 | + |
| 549 | +## getCodeHashResult : <code>object</code> |
| 550 | +**Kind**: global typedef |
| 551 | +**Properties** |
| 552 | + |
| 553 | +| Name | Type | |
| 554 | +| --- | --- | |
| 555 | +| account_name | <code>name</code> | |
| 556 | +| code_hash | <code>sha256</code> | |
| 557 | + |
527 | 558 | <a name="getAbiResult"></a> |
528 | 559 |
|
529 | 560 | ## getAbiResult : <code>object</code> |
|
0 commit comments