Resubmit transaction

Sometimes a transaction fails to execute/propagate. This can be due to several factors, for example, the gas price is too low. Using this endpoint, you are able to resubmit an existing transaction.

Resubmit

POST https://api-wallet.venly.io/api/transactions/resubmit

Safely resubmit a transaction. Executing this will overwrite the existing transaction.

Request Body

NameTypeDescription

secretType

string

MATIC, BSC, ETHEREUM, ...

transactionHash

string

Hash of the transaction to resubmit

pincode

string

PIN associated with the wallet of the transaction

{
    "success": true,
    "result": {
        "transactionHash": "0xebe407f2b9987e1d37c371d395bdb603f5fc6eb43ac58711d77e7ed944b4261a"
    }
}

Example

Request

POST : https://api-wallet.venly.io/api/transactions/resubmit

Request body

{
    "secretType": "ETHEREUM",
    "transactionHash": "0x0e305bdf01149c2e35ea6ffb48ab474d714aa03173b06427c6325f0693c59f92",
    "pincode": "1234"
}

Response

{
    "success": true,
    "result": {
        "transactionHash": "0xebe407f2b9987e1d37c371d395bdb603f5fc6eb43ac58711d77e7ed944b4261a"
    }
}

Last updated