Returns all the data within the formed transaction hash
This function needs the person to gather some data from the smart contract to pass to it.
getvaultinfo.md
import { parseTransaction, getVaults } from "@intuweb3/web";
let myVaults = getVaults("0x12345", signer);
let transaction = myVaults[i].txData[txId].originaltransaction;
await parseTransaction(transaction);
Input | Type of Input | Description |
txData | String | the original, unsigned transaction |
Output | Type of Output | Description |
chainId | string | chainId of transaction |
nonce | string | nonce of transaction |
gasTipCap | string | gasTipCap of transaction |
gasFeeCap | string | gasFeeCap of transaction |
gas | string | gas for transaction |
to | string | address to send to |
value | string | amount of value to send |
data | string | Additional data associated with the tx |