@Test public void testCustomOperationTransaction(){ ECKey sourcePrivateKey = new BrainKey(BILTHON_7_BRAIN_KEY, 0).getPrivateKey(); CustomOperation customOperation = new CustomOperation(fee, payer, operationId, requiredAuths, data); ArrayList<BaseOperation> operationList = new ArrayList<>(); operationList.add(customOperation); broadcastTransaction(sourcePrivateKey, operationList, listener, null); }
public ECKey getPrivateKey(){ return this.privateKey; }
Transaction implements ByteSerializable, JsonSerializable { public ECKey getPrivateKey(){ return this.privateKey; } }
Transaction implements ByteSerializable, JsonSerializable { public ECKey getPrivateKey(){ return this.privateKey; } Transaction(byte[] chainId, ECKey privateKey, BlockData blockData, List<BaseOperation> operations);  Transaction(ECKey privateKey, BlockData blockData, List<BaseOperation> operationList);  Transaction(String wif, BlockData block_data, List<BaseOperation> operation_list);  Transaction(BlockData blockData, List<BaseOperation> operationList); }
Transaction implements ByteSerializable, JsonSerializable { public ECKey getPrivateKey(){ return this.privateKey; } Transaction(byte[] chainId, ECKey privateKey, BlockData blockData, List<BaseOperation> operations);  Transaction(ECKey privateKey, BlockData blockData, List<BaseOperation> operationList);  Transaction(String wif, BlockData block_data, List<BaseOperation> operation_list);  Transaction(BlockData blockData, List<BaseOperation> operationList); void setBlockData(BlockData blockData); BlockData getBlockData(); void setFees(List<AssetAmount> fees); ECKey getPrivateKey(); List<BaseOperation> getOperations(); boolean hasPrivateKey(); byte[] getGrapheneSignature(); void setChainId(String chainId); void setChainId(byte[] chainId); byte[] getChainId(); byte[] toBytes(); @Override String toJsonString(); @Override JsonObject toJsonObject(); }
Transaction implements ByteSerializable, JsonSerializable { public ECKey getPrivateKey(){ return this.privateKey; } Transaction(byte[] chainId, ECKey privateKey, BlockData blockData, List<BaseOperation> operations);  Transaction(ECKey privateKey, BlockData blockData, List<BaseOperation> operationList);  Transaction(String wif, BlockData block_data, List<BaseOperation> operation_list);  Transaction(BlockData blockData, List<BaseOperation> operationList); void setBlockData(BlockData blockData); BlockData getBlockData(); void setFees(List<AssetAmount> fees); ECKey getPrivateKey(); List<BaseOperation> getOperations(); boolean hasPrivateKey(); byte[] getGrapheneSignature(); void setChainId(String chainId); void setChainId(byte[] chainId); byte[] getChainId(); byte[] toBytes(); @Override String toJsonString(); @Override JsonObject toJsonObject(); static final int DEFAULT_EXPIRATION_TIME; static final String KEY_EXPIRATION; static final String KEY_SIGNATURES; static final String KEY_OPERATIONS; static final String KEY_EXTENSIONS; static final String KEY_REF_BLOCK_NUM; static final String KEY_REF_BLOCK_PREFIX; }