ConfirmTransaction
Description
Confirms a saved transaction request and prepares it for execution by updating its status from SAVED to READY.
Process flow:
Validates the saved transaction request parameters
Calculates and populates gas fees, nonce, and other blockchain-specific fields
Updates status to READY, making it available for execution
Sets expiration time for the confirmed transaction
When to use:
After creating a transaction request with
status:\ "SAVED"
Before calling the execute endpoint to complete the transaction
When you're ready to finalize gas calculations and network parameters
Important notes:
Only works with transaction requests in SAVED status
Gas fields will be auto-populated based on current network conditions
The confirmed transaction will have an expiration time after which it cannot be executed
void ConfirmTransaction(const FString& id, const FVyConfirmTransactionRequest& reqParams, const FVyUserAuth& signingMethod) const
Parameters
id
FString
UUID of the transaction request to confirm
signingMethod
FVyUserAuth
This operation requires a valid Signing-Method from the corresponding user
Returns
void Transaction confirmed successfully and ready for execution.
Last updated