Web3Service

Methods for Plasma Contract interaction

  • Prepares transaction that writes to some method of Plasma Contract in Ethereum Blockchain. It is broadcasted to the network, processed by miners, and if valid, is published on the blockchain, consuming Ether.

    Throws

    Web3Error.transactionSerializationError if there is some errors in serialization
  • Prepares transaction that calls to some method of Plasma Contract in Ethereum Blockchain. A call is a local invocation of a contract method that does not broadcast or publish anything on the blockchain and it will not consume any Ether.

    Throws

    Web3Error.transactionSerializationError if there is some errors in serialization
  • Sends transaction in Ethereum blockchain to Plasma Contract. It is broadcasted to the network, processed by miners, and if valid, is published on the blockchain, consuming Ether.

    Throws

    Web3Error.processingError if there is some errors in sending transaction
  • Calls some method of Plasma Contract. A call is a local invocation of a contract method that does not broadcast or publish anything on the blockchain and it will not consume any Ether.

    Throws

    Web3Error.processingError if there is some errors in sending transaction