getTransaction
Information for a transaction that was proposed to an INTU vault
import { getTransaction} from "@intuweb3/web";
getTransaction(vaultAddress, txId, provider)
Parameters:[]
| Input | Type | Description |
|---|---|---|
| vaultAddress | string | address of the vault |
| transactionId | number | Id of transaction (retrieved from transaction array in getVaults) |
| provider | object | Provider object acquired from ethers or equivalent |
Returns:
An array of results, each containing an INTU smart contract's information for a particular account.
| Name | Type | Description |
|---|---|---|
| transactions | Transaction[] | |