Get Retried Hashes

This endpoint gives you new hash (in case of resubmission) for an old hash (which you received from initial request by us) with retry count and latest status of new hash.

This api can be called after certain recommended duration (retryDuration) which you get as extra field in initial response.

Get Final Hash

GET https://api.biconomy.io/api/v1/meta-tx/resubmitted

Get the new hash by passing an old hash initially given to you by Biconomy native meta tx API. If transaction is not resubmitted new hash and old hash would be the same

Query Parameters

NameTypeDescription

networkId*

number

Dapp network Id

transactionHash*

string

old transaction hash

{
    "code": 200,
    "message": "Use this new hash to serve to your users",
    "data" : {
    "oldHash": "0x62d79ca0fadb69694c34ff486bb8114431489d444f13d1e131302990869873c4",
    "newHash": "0x62d79ca0fadb69694c34ff486bb8114431489d444f13d1e131302990869873c4",
    "oldGasPrice": "100000000000",
    "newGasPrice": 100000000000,
    "timestamp": 1628876034979,
    "retryCount": 0,
    "relayerAddress": "0xa2fbe95f1049404a71ae60d719597e596eb07c23",
    "newStatus": "CONFIRMED"
    }

Example Curl Request

curl --request GET 'https://api.biconomy.io/api/v1/meta-tx/resubmitted?transactionHash=0x4209bbeac966c6d28d57987f17c82b7b42d2faf3a38c2f328f50fc59653a6b63&networkId=137' --header 'Content-Type: application/json'

Last updated