All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.jd.blockchain.ledger.LedgerTransaction Maven / Gradle / Ivy

There is a newer version: 1.6.5.RELEASE
Show newest version
package com.jd.blockchain.ledger;

import com.jd.binaryproto.DataContract;
import com.jd.binaryproto.DataField;
import com.jd.blockchain.consts.DataCodes;

/**
 * 交易记录;
 * 
 * @author huanghaiquan
 *
 */
@DataContract(code = DataCodes.TX_RECORD)
public interface LedgerTransaction {

	/**
	 * 交易请求;
	 * 
	 * @return
	 */
	@DataField(order = 1, refContract = true)
	TransactionRequest getRequest();

	/**
	 * 交易结果;
	 * 
	 * @return
	 */
	@DataField(order = 2, refContract = true)
	TransactionResult getResult();

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy