EthersV5 <> Peanut Transaction Types
interface IPeanutUnsignedTransaction {
from?: string
to?: string
data?: string
value?: BigInt
}const peanutTransaction // get this from any prepare function
const convertedTransaction = peanutToEthersV5(peanutTransaction)const ethersV5transaction
const convertedTransaction = ethersV5ToPeanutTx(ethersV5transaction)Last updated