AltExecCnsContract.prototype.getTransactionReceipt

Retrieve details of a transaction.

Internally calls http GET transactionReceipt on the AltExecCnsAPI.

Parameters

Name Type Description
txHash string Transaction hash of the transaction for which details are desired
callback function callback

Callback

Name Type Description
err error Error
res JSONObject Detail of transaction

Usage

contract.getTransactionReceipt('0x7cd6c730781f99b78d05898c848a3f5cb27b0855a7d1985b0ad1bfcf517be10e', function(err, res) {
  if (err) console.error(err);
  else console.log(res);
}

results matching ""

    No results matching ""