{"_id":"@binance-chain/web3-core-method","_rev":"1-e4d1beb53535bf789c03e9c5c55bb79a","name":"@binance-chain/web3-core-method","dist-tags":{"latest":"1.6.1"},"versions":{"1.6.1":{"name":"@binance-chain/web3-core-method","version":"1.6.1","description":"Creates the methods on the web3 modules. This is an internal package.","repository":{"type":"git","url":"https://github.com/ethereum/web3.js/tree/1.x/packages/web3-core-method"},"license":"LGPL-3.0","engines":{"node":">=8.0.0"},"types":"types/index.d.ts","scripts":{"compile":"tsc -b tsconfig.json","dtslint":"dtslint --localTs ../../node_modules/typescript/lib types"},"main":"lib/index.js","dependencies":{"@ethereumjs/common":"^2.4.0","@ethersproject/transactions":"^5.0.0-beta.135","web3-core-helpers":"1.5.2","web3-core-promievent":"1.5.2","web3-core-subscriptions":"1.5.2","web3-utils":"1.5.2"},"devDependencies":{"dtslint":"^3.4.1","typescript":"^3.9.5"},"publishConfig":{"access":"public"},"gitHead":"3c49beac02dd35e175f8b30e4764c57a81a873dc","_id":"@binance-chain/web3-core-method@1.6.1","_nodeVersion":"16.6.1","_npmVersion":"lerna/3.22.1/node@v16.6.1+x64 (darwin)","dist":{"integrity":"sha512-e/EiiqTbCLmUvdfJWk1so5pL1s1ofYdO/6WJ4pbl4hU9S911vWfMzQEIJ/Lrku9qOu7kT7qW0gZdYmg4fjzDBw==","shasum":"11355908b80530428a273b0adb31d3cd7719ac1d","tarball":"https://registry.npmjs.org/@binance-chain/web3-core-method/-/web3-core-method-1.6.1.tgz","fileCount":9,"unpackedSize":75691,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhI6hfCRA9TVsSAnZWagAAaRYQAIf+xi9kbjB4STwPSYlO\nCtB4V9U5z/WD2rZW3Is1hY20eb55U+sN2NeGz8xTfRETRI0zEAFCnHA2m/ds\nabHgUpW1jW4EGUuDAWIVv9QT7Dg/HZUx7zRAl5K++oH2xPsUzpZZce4kzOoZ\na3hDx3Rg5QVvWux0yt8ouCbEmNp4fS4G+dN7dOElZjn1Ozoh8yhcwIo6qHki\nDXwZSO2sJxQIzBOIfUmI14GxUB/8QVYs93FLcwgqfTqcZjw9MH0aUFpkA8jN\nW7mrx+fB7ghbRTav2aFgsE69LzMEps2G5bn2Csfz8nS4sVlEc5oPUXai5BCR\nHvWmPXQiJNKIkBBbK/h/SE6FaO/VjJ0xv5jYMvHq0CDdkUnK1nwg3WOrHhBx\nReUnLt5+MIywnGTp+JjsmvmzI9+rPp5xTxmHWKFCOmx1ZdjHbuKiPSR8ZGBn\n2WuIIJl7WjYBcoHcXYoUcDeSGPblfs5OHznJsMcr53PZQbwYNtg3R2CRVrC6\n2ZQR60hZ9NksPzb8TaYaKo9uy8M4KyI9QZMLYmn5OrTmNW/odnq2vpmO4A7A\n7BjJK5rg1yjwTfzTl/HVQxNyma3ggTh9EMWU10sexyJCMu0va1OV5lUACB2b\nlJcxywixFzltKA6Q8yck8yK247iwHYgpcbhk017h6WahyIj2yHlkSvXzeJEE\nD2Gj\r\n=KucP\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAtEDq0N3gG8mRjWb+ZChAL3e+tc7rsm74d5Sq9ANnxTAiB/kWi7LRrZY6cVTfGREqfdSGo7vCpyLwtRwdhmzO+sRg=="}]},"_npmUser":{"name":"binance-chain-npm","email":"bit-fe-ci@binance.com"},"directories":{},"maintainers":[{"name":"binance-chain-npm","email":"bit-fe-ci@binance.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/web3-core-method_1.6.1_1629726815298_0.06669707263310642"},"_hasShrinkwrap":false}},"time":{"created":"2021-08-23T13:53:35.212Z","1.6.1":"2021-08-23T13:53:35.437Z","modified":"2022-04-04T18:52:22.525Z"},"maintainers":[{"name":"binance-chain-npm","email":"bit-fe-ci@binance.com"}],"description":"Creates the methods on the web3 modules. This is an internal package.","repository":{"type":"git","url":"https://github.com/ethereum/web3.js/tree/1.x/packages/web3-core-method"},"license":"LGPL-3.0","readme":"# web3-core-method\n\n[![NPM Package][npm-image]][npm-url] [![Dependency Status][deps-image]][deps-url] [![Dev Dependency Status][deps-dev-image]][deps-dev-url]\n\nThis is a sub-package of [web3.js][repo].\n\nThis method package is used within most [web3.js][repo] packages.\n\nPlease read the [documentation][docs] for more.\n\n## Installation\n\n### Node.js\n\n```bash\nnpm install web3-core-method\n```\n\n## Usage\n\n```js\nconst Web3Method = require('web3-core-method');\n\nconst method = new Web3Method({\n    name: 'sendTransaction',\n    call: 'eth_sendTransaction',\n    params: 1,\n    inputFormatter: [inputTransactionFormatter]\n});\nmethod.attachToObject(myCoolLib);\n\nmyCoolLib.sendTransaction({...}, function(){ ... });\n```\n\n## Types\n\nAll the TypeScript typings are placed in the `types` folder.\n\n[docs]: http://web3js.readthedocs.io/en/1.0/\n[repo]: https://github.com/ethereum/web3.js\n[npm-image]: https://img.shields.io/npm/v/web3-core-method.svg\n[npm-url]: https://npmjs.org/package/web3-core-method\n[deps-image]: https://david-dm.org/ethereum/web3.js/1.x/status.svg?path=packages/web3-core-method\n[deps-url]: https://david-dm.org/ethereum/web3.js/1.x?path=packages/web3-core-method\n[deps-dev-image]: https://david-dm.org/ethereum/web3.js/1.x/dev-status.svg?path=packages/web3-core-method\n[deps-dev-url]: https://david-dm.org/ethereum/web3.js/1.x?type=dev&path=packages/web3-core-method\n","readmeFilename":"README.md"}