/fees.all. Underpaying or Overpaying a fee in a transaction will result in a returned error.
/transaction.createAPI endpoint by specifying fee tokens. Alternatively, a client can build the transaction with a valid fee from scratch via a call to fees.all before the transaction build process.
/fees.allthat lists all supported fee tokens and their rates. Available only on the ChildChain and WatcherInfo.
/stats.getendpoints for informational purposes. Available only on the WatcherInfo.
/transaction.allto return each transaction output’s creating_txhash and spending_txhash. Available only on the WatcherInfo.
/transaction.getto return transaction type (txtype) and transaction output type (otype). The currently possible types are Payment V1 and Fee Token Claim.
/transaction.submit_typed, so it is unlikely to affect integrators.
getFees- new function to retrieve supported fee tokens and amounts to make transactions.
createTransaction- arguments are retrieved as an object for better readability. Metadata can also be passed as a simple string instead of being encoded beforehand.
sendTransaction- arguments are retrieved as an object for better readability. It also accepts payments and fee object to provide consistency with other function calls in the library.
inFlightExitGetInputChallengeData- new function that gets the data to challenge an invalid input piggybacked on an in-flight exit.
inFlightExitGetOutputChallengeData- new function that gets the data to challenge an invalid output piggybacked on an in-flight exit.
Constructor- arguments are retrieved as an object and passing the abi is no longer necessary.
getExitTime- new function that will calculate the exit schedule required before an exit can be processed and released.
getExitQueue- new function that will retrieve the exit queue for a particular token.
getDepositExitData- new function that allows you to get the exit data for a deposit without using the Watcher.
deposit- simplified the API so users can call one function to deposit both ETH and ERC20.
getStandardExitId- new function that gets a standard exit id to use for processing standard exits.
getInFlightExitId- new function that gets the inflight exit id to use when processing an inflight exit.
getInFlightExitData- new function that retrieves in-flight exit data from an array of exit ids.
deleteNonPiggybackedInFlightExit- new function that deletes an in-flight exit if the first phase has passed and nobody has piggybacked the exit.
createTransactionBodyhas been improved and made smarter to help users form transaction bodies more easily.