toString method

String toString ()

Returns a string representation of this object.

Implementation

String toString() {
  final String ret = "Moac Transaction Receipt:" +
      "\n" +
      "  Transaction Hash : $transactionHash" +
      "\n" +
      "  Block Number: $blockNumber" +
      "\n" +
      "  Block Hash : $blockHash" +
      "\n" +
      "  Transaction Index : $transactionIndex" +
      "\n" +
      "  Contract Address : $contractAddress" +
      "\n" +
      "  Gas used : $gasUsed" +
      "\n";

  return ret;
}