web3.js
web3.js copied to clipboard
Init `web3-eth-transaction-utils`
web3-core
Changed
privateKeyargument forTransactionBuildertype was changed fromHexString | Bufferto{ privateKey: HexString | Buffer; privateKeyToAddress: privateKeyToAddress }(#5458)- Return type for
TransactionBuildertype was changed fromPromise<ReturnType>(withReturnTypebeing a generic) toPromise<Transaction>(Transactionfromweb3-types) (#5458)
web3-eth-personal
Added
web3-eth-transaction-utilsdependency (#5458)
Changed
formatTransactionis now imported fromweb3-eth-transaction-utilinstead ofweb3-eth(#5458)
web3-eth
Added
web3-eth-transaction-utilsdependency (#5458)getAccountsrpc method wrapper (#5458)
Changed
formatTransactionis now imported fromweb3-eth-transaction-utilinstead of local import (#5458)
Removed
utils/format_transaction.tsexports (now exported fromweb3-eth-transaction-utils) (#5458)utils/prepare_transaction_for_signing.tsexports (now exported fromweb3-eth-transaction-utils) (#5458)detectTransactionTypeexport (now exported fromweb3-eth-transaction-utils) (#5458)transactionBuilderexport (now exported fromweb3-eth-transaction-utils) (#5458)
web3-types
Added
privateKeyToAddresstype and export (#5458)- Exported schemas from
web3-eth'sschemas.ts(#5458)
web3
Added
web3-eth-transaction-utilsdependency (#5458)
Changed
prepareTransactionForSigningis now imported fromweb3-eth-transaction-utilsinstead ofweb3-eth(#5458)