Stores transactions alongside their periodically updated statuses and manages interactions such as approval and cancellation.
yarn add @metamask/transaction-controller
or
npm install @metamask/transaction-controller
This package relies implicitly upon the EventEmitter
module. This module is available natively in Node.js, but when using this package for the browser, make sure to use a polyfill such as events
.
This package is part of a monorepo. Instructions for contributing can be found in the monorepo README.