getTransactionStatus()

Gets the status of a transaction from the network.

Parameters

NameTypeRequiredDescription
transactionStringYThe transaction hash being checked

Response

"Pending" | "Complete" | "Failed"

Example Usage

const status = await contract.getTransactionStatus(transaction);

Possible Errors

Errors in the connect() function

Feedback

Something not quite right, unclear or can't find what you are looking for? Please let us know at support.moonpay.com and we will get back to you as soon as we can.