Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions docs/classes/IExecNetworkModule.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ current IExecConfig

### getNetwork

▸ **getNetwork**(): `Promise`<{ `chainId`: `number` ; `isNative`: `boolean` }\>
▸ **getNetwork**(): `Promise`<{ `chainId`: `string` ; `isNative`: `boolean` }\>

get info about the current iExec network

Expand All @@ -78,7 +78,7 @@ console.log(`working on chain ${chainId}, using native token: ${isNative}`);

#### Returns

`Promise`<{ `chainId`: `number` ; `isNative`: `boolean` }\>
`Promise`<{ `chainId`: `string` ; `isNative`: `boolean` }\>

___

Expand Down
2 changes: 1 addition & 1 deletion src/lib/IExecNetworkModule.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ export default class IExecNetworkModule extends IExecModule {
* console.log(`working on chain ${chainId}, using native token: ${isNative}`);
* ```
*/
getNetwork(): Promise<{ chainId: number; isNative: boolean }>;
getNetwork(): Promise<{ chainId: string; isNative: boolean }>;
/**
* Create an IExecNetworkModule instance using an IExecConfig instance
*/
Expand Down
Loading