getTransactionStatus
Fetch transaction status
This function returns the status for a specific transaction.
venlyConnect.api.getTransactionStatus("0xe95cfd4c68e4b43f60adb8a97dc10264ad0046518946a768d980ee454e492645", "ETHEREUM");
🧙 Returns
UNKNOWN
when the specific chain is not supported.venlyConnect.api.getTransactionStatus(transactionHash: string, secretType: SecretType): Promise<TxStatusResult>
Promise<TxStatusResult>
{
status: 'UNKNOWN' | 'PENDING' | 'FAILED' | 'SUCCEEDED'
}
Parameter | Required | Description |
transactionHash | True | Transaction hash |
True | Blockchain related to the transaction hash |
venlyConnect.api.getTransactionStatus("0xe95cfd4c68e4b43f60adb8a97dc10264ad0046518946a768d980ee454e492645", "ETHEREUM");
🧙 Using the
network
parameter, the node to which the transaction is sent can be set manually. It allows you to submit a transaction to any mainnet or testnet node of your choosing, public or private. ( Ethereum only)
Last modified 1yr ago