public class TarsTransactionProcessor extends TransactionProcessor
chainId, client, cryptoKeyPair, cryptoSuite, groupId, log, transactionEncoder| 构造器和说明 |
|---|
TarsTransactionProcessor(Client client,
CryptoKeyPair cryptoKeyPair,
java.lang.String groupId,
java.lang.String chainId) |
| 限定符和类型 | 方法和说明 |
|---|---|
java.lang.String |
sendTransactionAsync(java.lang.String to,
byte[] data,
CryptoKeyPair cryptoKeyPair,
int txAttribute,
TransactionCallback callback)
send transaction to fisco bcos node and get transaction receipt asynchronously.
|
asyncExecuteCall, asyncExecuteCall, asyncExecuteCallWithSign, createDeploySignedTransaction, createDeploySignedTransaction, createSignedTransaction, createSignedTransaction, deployAndGetReceipt, deployAndGetReceipt, executeCall, executeCall, executeCallWithSign, executeCallWithSign, getCryptoKeyPair, sendTransactionAndGetReceipt, sendTransactionAndGetReceipt, sendTransactionAsync, setCryptoKeyPairpublic TarsTransactionProcessor(Client client, CryptoKeyPair cryptoKeyPair, java.lang.String groupId, java.lang.String chainId)
public java.lang.String sendTransactionAsync(java.lang.String to,
byte[] data,
CryptoKeyPair cryptoKeyPair,
int txAttribute,
TransactionCallback callback)
TransactionProcessorInterfacesendTransactionAsync 在接口中 TransactionProcessorInterfacesendTransactionAsync 在类中 TransactionProcessorto - target contract addressdata - ABI encoded transaction datacryptoKeyPair - key pairtxAttribute - transaction attribute, see more in TransactionAttributecallback - define hook function