fortress-js
Version:
A JavaScript SDK for Binance Smart Chain and the Fortress Protocol.
15 lines (14 loc) • 553 B
TypeScript
import { CompoundInstance } from './types';
/**
* This function acts like a decorator for all methods that interact with the
* blockchain. In order to use the correct Fortress Protocol addresses, the
* Fortress.js SDK must know which network its provider points to. This
* function holds up a transaction until the main constructor has determined
* the network ID.
*
* @hidden
*
* @param {Fortress} _compound The instance of the Fortress.js SDK.
*
*/
export declare function netId(_compound: CompoundInstance): Promise<void>;