Get Transaction
Once an application is connected to Martian wallet via connect method, an app can fetch a transaction details using window.martian.getTransaction()
and it will return a Promise that resolves when the request is successful and reject (throw when awaited) when the request is not valid/fails. It takes one parameter listed below
Transaction hash
Below is an example code describing the way to fetch a transaction.
Last updated