- Preparing search index...
- The search index is not available
@t3rn/sdk
Constructors
constructor
- new Circuit(api: ApiPromise, signer: any, exportMode: boolean): Circuit
-
Parameters
-
-
signer: any
-
exportMode: boolean
Methods
floatToBn
- floatToBn(value: number): BN
-
Returns BN
toFloat
- toFloat(value: number | BN): number
-
Returns number
The circuit class holds the signer object, exposes amount conversion and exposes the Tx class, which can then be used to submit.