Hierarchy

Constructors

Properties

actions: Action[] = []
delete: boolean = false
receiverId: string
senderId: string

Accessors

Methods

  • Deploy given Wasm file to the account.

    Parameters

    • code: string | Uint8Array | Buffer | URL

      path or data of contract binary. If given an absolute path (such as one created with 'path.join(__dirname, …)') will use it directly. If given a relative path such as res/contract.wasm, will resolve it from the project root (meaning the location of the package.json file).

    Returns Promise<Transaction>

Generated using TypeDoc