public interface TransactionProcessorInterface
| 限定符和类型 | 方法和说明 |
|---|---|
java.lang.String |
createSignedTransaction(java.lang.String to,
byte[] data,
CryptoKeyPair cryptoKeyPair,
int txAttribute)
create signed transaction
|
Call |
executeCall(CallRequest callRequest)
send call to fisco bcos node and receive call response.
|
Call |
executeCall(java.lang.String from,
java.lang.String to,
byte[] encodedFunction)
send encoded function call to fisco bcos node and receive call response.
|
TransactionReceipt |
sendTransactionAndGetReceipt(java.lang.String to,
byte[] data,
CryptoKeyPair cryptoKeyPair,
int txAttribute)
send transaction to fisco bcos node and get transaction receipt.
|
void |
sendTransactionAsync(java.lang.String to,
byte[] data,
CryptoKeyPair cryptoKeyPair,
int txAttribute,
TransactionCallback callback)
send transaction to fisco bcos node and get transaction receipt asynchronously.
|
TransactionReceipt sendTransactionAndGetReceipt(java.lang.String to, byte[] data, CryptoKeyPair cryptoKeyPair, int txAttribute)
to - target contract addressdata - ABI encoded transaction datacryptoKeyPair - key pairvoid sendTransactionAsync(java.lang.String to,
byte[] data,
CryptoKeyPair cryptoKeyPair,
int txAttribute,
TransactionCallback callback)
to - target contract addressdata - ABI encoded transaction datacryptoKeyPair - key paircallback - define hook functionCall executeCall(CallRequest callRequest)
callRequest - signed transaction stringCall executeCall(java.lang.String from, java.lang.String to, byte[] encodedFunction)
from - outer account address of senderto - target contract addressencodedFunction - signed transaction stringjava.lang.String createSignedTransaction(java.lang.String to,
byte[] data,
CryptoKeyPair cryptoKeyPair,
int txAttribute)
to - target contract addressdata - ABI encoded transaction datacryptoKeyPair - key pair