Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
public static defaultSubmitSignedTransactionResponse(): SubmitSignedTransactionResponse {
const submitSignedTransactionResponse = new SubmitSignedTransactionResponse();
submitSignedTransactionResponse.setEngineResult("tesSUCCESS");
submitSignedTransactionResponse.setEngineResultCode(0);
submitSignedTransactionResponse.setEngineResultMessage(
"The transaction was applied. Only final in a validated ledger."
);
submitSignedTransactionResponse.setTransactionBlob("DEADBEEF");
return submitSignedTransactionResponse;
}