Skip to main content

getTransaction


Get information regarding a transaction proposed to an INTU vault

import { getTransaction} from "@intuweb3/web-exp";
getTransaction(vaultAddress, txId, signer)

Arguments:

InputTypeDescription
vaultAddressstringaddress of the vault
transactionIdnumberId of transaction (retrieved from transaction array in getVaults)
signerobjectSigner object acquired from ethers or equivalent

Returns:

An array of results, each containing an INTU smart contract's information for a particular account.

NameTypeDescription
transactionsTransaction[]
chainId: string;
data: string;
gas: string;
gasPrice: string;
id: number
nonce: string;
signedTransactionsNeeded: number;
to: string;
transactionData: string;
userSignedTransactions: UserTransaction[];
value: string;