Skip to main content

sdk.reward._constructor_

Home > @openformat/sdk > Reward > (constructor)

Reward.(constructor)

Create a new instance of the App class.

Signature:

constructor(provider: providers.Provider, appId: string, signer?: Signer);

Parameters

ParameterTypeDescription
providerproviders.ProviderThe provider used to communicate with the blockchain.
appIdstringThe address of the App contract.
signerSigner(Optional) The signer used to sign transactions.