Index

Interfaces

Functions


Functions

<Const> makeContract

makeContract(address: Address, abiJson: any[], options?: object): MakeContract

Defined in rpc/other/makeContract.ts:124

Create a contract.

Parameters:

address: Address

The contract address.

abiJson: any[]

The contract abi.

Default value options: object

The options to pass in when creating the contract.

Name Type
Optional provider any

Returns: MakeContract

  • An object whose keys are all the functions of the contract, and each function return an Observable which will fire when the function resolves.

results matching ""

    No results matching ""