{"_id":"eth-provider-types","_rev":"12-a1cfa1b089c1ef7c4d2d4c4fa3d91d88","name":"eth-provider-types","dist-tags":{"latest":"0.2.1","beta":"0.1.0-beta.4","next":"0.2.0-next.2"},"versions":{"0.0.1":{"name":"eth-provider-types","version":"0.0.1","description":"TypeScript types for Ethereum providers, with types for every RPC method","main":"index.js","types":"index.d.ts","author":{"name":"Bitski"},"license":"ISC","gitHead":"1c8a624930ae41d3ead9fc7ec6906c17d1599385","_id":"eth-provider-types@0.0.1","_nodeVersion":"16.18.0","_npmVersion":"8.19.2","dist":{"integrity":"sha512-OOjffDKSEAej/zS0K8KOGEl2S1CFY3zAALitdQyTWoRszat4IPos8+yiu6A2/UAOeIJA6kG9aW5MzluWel5uvA==","shasum":"0c319437ba709d3bb31fdb818f1d8ca2fd6ce314","tarball":"https://registry.npmjs.org/eth-provider-types/-/eth-provider-types-0.0.1.tgz","fileCount":5,"unpackedSize":16721,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCLQ+vYkDyJf6amQvEQspkRn/zKvn3Tq+T+wmFvVrg/wQIhAJvx97bkfbjUrXE6jMyYazz76sHbUgUVrbxLqoiVCsa8"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjctIkACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmoqmw//bh4pYZWPrLn43jlHs2NPCoPLmFkIp10S8J0TWpy1fTUNf3Kl\r\ndjWjQHoRoBoIOfxMTr3n3pJ6FpwnxIUi2q2rT+gm6mTQb4j8QycXoN41yrjL\r\nyF+irw+ouBRKRs5ffZQiqqSliizbOfC48UnUQ47A7Ye4wn+LdKHnK1xlwiGn\r\n9D8s43y/7SfElc8V48bWH3c+KPcuLfo6PORrIvZJ87GeHhMQETZlB21uYQ/O\r\nD6OyzIC5l308mTw1Q5Gq3SmgRuEeoJK4ycj0DjlTQ4YYJjFSE2HtngNBUOhH\r\nUBnywENI9/6uvuSN8Tt3CpDIcOd9k2wTrbKg3rhkb7LpQZ5jByJZoXV/RiAw\r\nagL/8Ojo5KSjl7LnczG8fbd5Azcf9dGp3+qC92ptfE/1SNUp5NYxkOXwCeTL\r\nUKMcENAxRzSs1v7ro7h3RqNFhMkdtpDRFRSpZlyZ2TM9b5RufZdpQnAnCUeG\r\n9wt1vrIEdBin3sxE3xaPrPT60MLhuHKgxG91sE7olnLXEAYzHTMQSM9hYThe\r\nQ7uB6ll0pLl6f77QGiXF53X0LP+2h+5k5/S4tGgdGj3Qs+/QtRM9SxLfPzS0\r\nKNzu+cny3bkXbUDmugRV45lOPFbRS/VpPRdIJW7BNfGDKg++Vw6g/3xQ5kie\r\nYDoQhZ9/kJdzHygxXHx13XB+4lhNCnGAAVA=\r\n=pG+s\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"imthinhvu","email":"thinh.vu@hey.com"},"directories":{},"maintainers":[{"name":"imthinhvu","email":"thinh.vu@hey.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/eth-provider-types_0.0.1_1668469284083_0.4354052360947045"},"_hasShrinkwrap":false},"0.0.2":{"name":"eth-provider-types","version":"0.0.2","description":"TypeScript types for Ethereum providers, with types for every RPC method","main":"index.js","types":"index.d.ts","author":{"name":"Bitski"},"license":"ISC","gitHead":"7440a8f4945854f197ca83fcab04e66a60cc5e6e","_id":"eth-provider-types@0.0.2","_nodeVersion":"16.18.1","_npmVersion":"8.19.2","dist":{"integrity":"sha512-QmUKJqeqejYoMHIEM9elFsSdQlUL16G1tGNapRxsupDR3QQtLmAY/0q/N35ldFjVrwDsge/2o2jwCaKM9KbioA==","shasum":"2955b57e858c6c7a99f2570da1a77a0d16b43435","tarball":"https://registry.npmjs.org/eth-provider-types/-/eth-provider-types-0.0.2.tgz","fileCount":5,"unpackedSize":16998,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIA85Ve9QBmsA0aEIcbehVuK1iPJJfSK9OJPyz43iuGhbAiBjEVggnpikVoOxqxkeEgmNAlxQ5EDcTJSbGGYc3qYi4Q=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjnQ4CACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoBYw//ZrsN2jl5a+dl+7f0GT22MOthCZFrz/piNkCw55sV+FhHC4c6\r\nEQ41v+RmYPYgZ7QBcxzYpOtBWlYM8xcXIup9zsOd1ilCQNO9AjJ+99b30X3p\r\njPAevzNvPQFtJ1zLJYA+stUMJir3SXwFYQyFBeK8vSyG7Okh9wERkDyaglUB\r\niy41kVIFOlRoo+eDMkNDhykmULWTdLtvqPkTX4yeuIbIGC4fBJZ8Pt/Hk+OA\r\npaoyzMtUBvo1BgeA6PpUVt3bjn+03DGkH1KETHASDUnST0rHIHjTg2qW3sTr\r\nAHzmGCqDWhedEw/T1VXUxOvdlxbEQTTqmFkGhpv8pC76hjuuIkQdZfxzL04T\r\nOTXNVMwbwLZFJg9Bj6DU/L+SQIUm+1vaWfqBjB+l9N7F39a+bhq4DI74/z4p\r\na0ZlFR9kmmCKjVJdivPgcr3oyLduNlMi9v73JVGkFClSHeO90buJMYJInwAi\r\nP8ZJFPD7ztCjSm42mje3DAQCdTHISO4yYLwE4wFgNLDYmfV6EyqmC2FZ7mWS\r\npccqxA/BY4EsBV1G5rsWWHzQ/uexG5o41oibee+dPrix5GTiljus+KCtyFVF\r\nvwIHAa6g+4hfsHa3rAb+DCdvW7Imkt4CfJhKgRErfLvvFAMZGNLuJe/d3b/d\r\nX9/gRPBhEEKiblu4QtMbembnAQArJ4F2Mug=\r\n=T50w\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"imthinhvu","email":"thinh.vu@hey.com"},"directories":{},"maintainers":[{"name":"imthinhvu","email":"thinh.vu@hey.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/eth-provider-types_0.0.2_1671237122303_0.875676094893691"},"_hasShrinkwrap":false},"0.1.0-beta.0":{"name":"eth-provider-types","version":"0.1.0-beta.0","description":"TypeScript types for Ethereum providers, with types for every RPC method","main":"index.js","types":"index.d.ts","author":{"name":"Bitski"},"license":"ISC","readme":"# eth-provider-types\n\nThis package provides types for Ethereum JSON RPC APIs. This includes:\n\n```ts\nimport {\n  // The ethereum provider API interface, per EIP-1193 (https://eips.ethereum.org/EIPS/eip-1193#appendix-i-consumer-facing-api-documentation)\n  EthProvider,\n\n  /*** Enums ***/\n  EthMethod, // All ethereum RPC method names\n  EthEvent, // All standard event names emitted by the provider\n  EthProviderMessageType, // All types of messages sent by the `message` event\n  EthProviderRpcErrorCode, // Error codes\n  EthBlockNumberTag, // Block tags e.g. 'latest', 'earliest', 'pending\n\n  /*** Mappings ***/\n  EthMethodParams, // Mapping from EthMethod -> method parameters\n  EthMethodResults, // Mapping from EthMethod -> method results\n  EthEventParams, // Mapping from EthEvent -> Event parameters\n  EthProviderMessageData, // Mapping from EthProviderMessageType -> message data\n\n  /*** Interfaces ***/\n\n  // Ethereum transaction received from RPC (e.g. getTransactionByHash).\n  // This is the union of EthTransactionComplete and EthTransactionPending.\n  EthTransaction,\n  EthTransactionComplete, // Completed transaction (block number, etc, are NOT null)\n  EthTransactionPending, // Pending transaction (block number, etc. ARE null)\n  EthTransactionSend, // Transaction partial passed to eth_sendTransaction, eth_signTransaction\n  EthTransactionCall, // Transaction partial passed to eth_call\n  EthTransactionReceipt,\n\n  // Ethereum block received from RPC (e.g. getBlockByHash).\n  // This is the union of EthBlockComplete and EthBlockPending.\n  EthBlock,\n  EthBlockComplete, // Completed block (block number, etc. are NOT null)\n  EthBlockPending, // Pending block (block number, etc. ARE null)\n\n  // Ethereum log received from RPC (e.g. getLogs)\n  // This is the union of EthLogComplete and EthLogPending.\n  EthLog,\n  EthLogComplete, // Completed log (block number, etc. are NOT null)\n  EthLogPending, // Pending log (block number, etc. ARE null)\n\n  // Other\n  EthProviderMessage,\n  EthProviderRpcError,\n  EthProviderConnectInfo,\n} from 'eth-provider-types';\n```\n\nYou can use these types to create an Ethereum provider that is strongly typed:\n\n```ts\nimport { EthProvider, EthMethod, EthTransactionReceipt } from 'eth-json-rpc-types';\n\nclass MyProvider implements EthProvider {\n  request({ method, params }) {\n    // ...\n  }\n\n  // ...\n}\n\nconst provider = new MyProvider();\n\n// Results and parameters are both typed based on EthMethod passed into `request`\nconst eth_accounts: string[] = provider.request({ method: EthMethod.eth_accounts });\nconst eth_getTransactionReceipt: EthTransactionReceipt = provider.request({\n  method: EthMethod.eth_accounts,\n  params: ['0x0...'],\n});\n\n// This will throw type errors because it has incorrect parameters\nconst eth_getBlockByHash = provider.request({\n  method: EthMethod.eth_getBlockByHash,\n  params: [123],\n});\n```\n","readmeFilename":"README.md","gitHead":"2c08748d4b7745df5940b75e535ad2d9c8c61477","_id":"eth-provider-types@0.1.0-beta.0","_nodeVersion":"18.12.1","_npmVersion":"8.19.2","dist":{"integrity":"sha512-DfydvUb7EGkiFKpxCdYlQQiCIeEVwHaWS97iLy8CqFYz0nBNKEdZhKPTLcYcW62IVlpdPgEzvvnow7b0X2/DAA==","shasum":"bf4473f1a2fbd27417928de3dfc5354d868c222f","tarball":"https://registry.npmjs.org/eth-provider-types/-/eth-provider-types-0.1.0-beta.0.tgz","fileCount":5,"unpackedSize":20856,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBhAU6KyOIaQ0iw/yItALZraFXbq5UaPAkDv9q3v6wxzAiAVFlkWCpZGvrZrnq3s6dpETxjoygbO/+NJTV1or7QJmw=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjnRkhACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoFGA//Q17jiJIfxgX2Kr6AAtdI66cHkPzRdtBiW0dOBjWQK4eDXS1j\r\nw0V6/Xoy5mcxQUH0kqmmLNS3i73kSCcRadVKNzQOyHjplf3m2/tAyVb7eD5f\r\nrXaEXamXYrUn2lmVln4LCWEii3G3tqM0pV8TK6NwczR/Wwaa1AuKbHsshoF9\r\n2ZA/0mo+rAYqtUXDIRa+MyXryA59Ph0BuRSvUCtzFwAIrFpCxZohVneNhvC5\r\n5V2LHY6z6nD7rn8qKcDg7FbMrwSLZUckbVQsR/Vv0fNeXte+eQ+aVpzE9ByM\r\nj1IEIcH5Zc9xPj4whDzvcpdzBLW9OVW7WDFna038Or/++v3SZn52uySmsy8f\r\nDBY2xyfXMREhcEN440C7eof1D6tODOLW8MC+jhDJqQdsC+AUaXn91VJystaX\r\nsGrsvi6tKV5VntOUlAnk2p5nR+T5Bunk8G9pGfepUdtLnnmIBfJ+TWk7+PXf\r\nMm7sfbpJwsvQHVK9qmluwgf0f+m1W8p4NDfSNJnHWqz2ehMHo4YB/KvpwOn6\r\n+F65aZalnqoqJMmf6PGc+LRI7plNQ6lbm0t+Q8AvhgcQ4dos7ahilnxb6FQc\r\n/udveKH3SDFJ3Mr6veDX5JhE80PMBe1YvNYL/emQOMjDfQA6aosfLlrrYziC\r\n1vfo2xnOitTwxpDN4CvFRmCPEvj6hh7u5eE=\r\n=bbSd\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"imthinhvu","email":"thinh.vu@hey.com"},"directories":{},"maintainers":[{"name":"imthinhvu","email":"thinh.vu@hey.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/eth-provider-types_0.1.0-beta.0_1671239968851_0.657621069275524"},"_hasShrinkwrap":false},"0.1.0-beta.1":{"name":"eth-provider-types","version":"0.1.0-beta.1","description":"TypeScript types for Ethereum providers, with types for every RPC method","main":"index.js","types":"index.d.ts","author":{"name":"Bitski"},"license":"ISC","readme":"# eth-provider-types\n\nThis package provides types for Ethereum JSON RPC APIs. This includes:\n\n```ts\nimport {\n  // The ethereum provider API interface, per EIP-1193 (https://eips.ethereum.org/EIPS/eip-1193#appendix-i-consumer-facing-api-documentation)\n  EthProvider,\n\n  /*** Enums ***/\n  EthMethod, // All ethereum RPC method names\n  EthEvent, // All standard event names emitted by the provider\n  EthProviderMessageType, // All types of messages sent by the `message` event\n  EthProviderRpcErrorCode, // Error codes\n  EthBlockNumberTag, // Block tags e.g. 'latest', 'earliest', 'pending\n\n  /*** Mappings ***/\n  EthMethodParams, // Mapping from EthMethod -> method parameters\n  EthMethodResults, // Mapping from EthMethod -> method results\n  EthEventParams, // Mapping from EthEvent -> Event parameters\n  EthProviderMessageData, // Mapping from EthProviderMessageType -> message data\n\n  /*** Interfaces ***/\n\n  // Ethereum transaction received from RPC (e.g. getTransactionByHash).\n  // This is the union of EthTransactionComplete and EthTransactionPending.\n  EthTransaction,\n  EthTransactionComplete, // Completed transaction (block number, etc, are NOT null)\n  EthTransactionPending, // Pending transaction (block number, etc. ARE null)\n  EthTransactionSend, // Transaction partial passed to eth_sendTransaction, eth_signTransaction\n  EthTransactionCall, // Transaction partial passed to eth_call\n  EthTransactionReceipt,\n\n  // Ethereum block received from RPC (e.g. getBlockByHash).\n  // This is the union of EthBlockComplete and EthBlockPending.\n  EthBlock,\n  EthBlockComplete, // Completed block (block number, etc. are NOT null)\n  EthBlockPending, // Pending block (block number, etc. ARE null)\n\n  // Ethereum log received from RPC (e.g. getLogs)\n  // This is the union of EthLogComplete and EthLogPending.\n  EthLog,\n  EthLogComplete, // Completed log (block number, etc. are NOT null)\n  EthLogPending, // Pending log (block number, etc. ARE null)\n\n  // Other\n  EthProviderMessage,\n  EthProviderRpcError,\n  EthProviderConnectInfo,\n} from 'eth-provider-types';\n```\n\nYou can use these types to create an Ethereum provider that is strongly typed:\n\n```ts\nimport { EthProvider, EthMethod, EthTransactionReceipt } from 'eth-json-rpc-types';\n\nclass MyProvider implements EthProvider {\n  request({ method, params }) {\n    // ...\n  }\n\n  // ...\n}\n\nconst provider = new MyProvider();\n\n// Results and parameters are both typed based on EthMethod passed into `request`\nconst eth_accounts: string[] = provider.request({ method: EthMethod.eth_accounts });\nconst eth_getTransactionReceipt: EthTransactionReceipt = provider.request({\n  method: EthMethod.eth_accounts,\n  params: ['0x0...'],\n});\n\n// This will throw type errors because it has incorrect parameters\nconst eth_getBlockByHash = provider.request({\n  method: EthMethod.eth_getBlockByHash,\n  params: [123],\n});\n```\n","readmeFilename":"README.md","gitHead":"03fee10ed546af70a2a94a94d5bdec5b4faba63b","_id":"eth-provider-types@0.1.0-beta.1","_nodeVersion":"18.12.1","_npmVersion":"8.19.2","dist":{"integrity":"sha512-RqWucWHLBM7l2bjub+pwbJQitxEfOOfMuEu1ZSFi7DY9swUeS00Vva9EeK+WcFVAydF71xA1VaXvhSk0DFGbJg==","shasum":"519cbb6435e43b574dc10bb24ce50fe888ad5728","tarball":"https://registry.npmjs.org/eth-provider-types/-/eth-provider-types-0.1.0-beta.1.tgz","fileCount":5,"unpackedSize":22092,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDTcte9gHTiUIA0TL2Jo4TVNHCOhQlyUC+1Qkf+hcceJwIgE2PK8GWY07or4UtwqK0gbe8orveHVAHc7okgpJ2SF6o="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjoeRtACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmqudg//cGwIhIwd1OaPrQ30QP9cRGP4rSfTbJf/6lsL5DAhZEAlPA/R\r\n3SlYRKEThLPfwSY8kx/NPq/zKRdPtNONz0rRooKES3+KT2BA/xtXPaKv4tRH\r\nvTKePziDY06r3ierSxPfrHq10JRRvkqRqW1o4pRSRpxERA4UzpNfzg9gc7r3\r\nXMNZMY0xXKYlbnlbY7K8+pNnkEg533aYlCvZC9ChFXXw9nCPf/yBo2wwSMnA\r\n5eHFlZOS2qec8jiFYvHSxAGNqNTALVg1dZJ4HG8oXspGvLTs4U+pRGt9jh2n\r\nFoZaNVYZMeXAtUSnN0DP7OxA7ALCAWpixqsbLaw+VGnfrUPCBnXAknHY3R+Y\r\ntxrIxU/xA75gMWK64pmLEGcs7A6n4DX6uVz8IsKArf6jOyeTAylXNU2MZkvc\r\nVyGCYTf9Pj1/2yfJRCGmGPxSVRQ6esGeO0BAxLJsn8i4pS50wIhRUYIledd0\r\nPFMhPKReIc29rcIeyYVOoN7MVS9UrjuWvqQe6Fp8xy2cy7ZyImzSIbzu5WEq\r\n92IxUWSsBV7gWoT/FmWkbcYC+lp0f1JfDpMwjS0b53P2mFCArXDp3RBhwwVE\r\nhzC+TYI0u6s0CML55EZ2RxQcecfz2cnygf2nNBNM7vUJMOLdwuzAXOUF8ScE\r\nPzoP2c8MXaccBCk1dLiBzcR1HEybGMaBRvY=\r\n=BfIz\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"imthinhvu","email":"thinh.vu@hey.com"},"directories":{},"maintainers":[{"name":"imthinhvu","email":"thinh.vu@hey.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/eth-provider-types_0.1.0-beta.1_1671554157352_0.15655087744537854"},"_hasShrinkwrap":false},"0.1.0-beta.2":{"name":"eth-provider-types","version":"0.1.0-beta.2","description":"TypeScript types for Ethereum providers, with types for every RPC method","type":"module","exports":"./index.js","types":"index.d.ts","author":{"name":"Bitski"},"license":"ISC","scripts":{"build":"tsc"},"readme":"# eth-provider-types\n\nThis package provides types for Ethereum JSON RPC APIs. This includes:\n\n```ts\nimport {\n  // The ethereum provider API interface, per EIP-1193 (https://eips.ethereum.org/EIPS/eip-1193#appendix-i-consumer-facing-api-documentation)\n  EthProvider,\n\n  /*** Enums ***/\n  EthMethod, // All ethereum RPC method names\n  EthEvent, // All standard event names emitted by the provider\n  EthProviderMessageType, // All types of messages sent by the `message` event\n  EthProviderRpcErrorCode, // Error codes\n  EthBlockNumberTag, // Block tags e.g. 'latest', 'earliest', 'pending\n\n  /*** Mappings ***/\n  EthMethodParams, // Mapping from EthMethod -> method parameters\n  EthMethodResults, // Mapping from EthMethod -> method results\n  EthEventParams, // Mapping from EthEvent -> Event parameters\n  EthProviderMessageData, // Mapping from EthProviderMessageType -> message data\n\n  /*** Interfaces ***/\n\n  // Ethereum transaction received from RPC (e.g. getTransactionByHash).\n  // This is the union of EthTransactionComplete and EthTransactionPending.\n  EthTransaction,\n  EthTransactionComplete, // Completed transaction (block number, etc, are NOT null)\n  EthTransactionPending, // Pending transaction (block number, etc. ARE null)\n  EthTransactionSend, // Transaction partial passed to eth_sendTransaction, eth_signTransaction\n  EthTransactionCall, // Transaction partial passed to eth_call\n  EthTransactionReceipt,\n\n  // Ethereum block received from RPC (e.g. getBlockByHash).\n  // This is the union of EthBlockComplete and EthBlockPending.\n  EthBlock,\n  EthBlockComplete, // Completed block (block number, etc. are NOT null)\n  EthBlockPending, // Pending block (block number, etc. ARE null)\n\n  // Ethereum log received from RPC (e.g. getLogs)\n  // This is the union of EthLogComplete and EthLogPending.\n  EthLog,\n  EthLogComplete, // Completed log (block number, etc. are NOT null)\n  EthLogPending, // Pending log (block number, etc. ARE null)\n\n  // Other\n  EthProviderMessage,\n  EthProviderRpcError,\n  EthProviderConnectInfo,\n} from 'eth-provider-types';\n```\n\nYou can use these types to create an Ethereum provider that is strongly typed:\n\n```ts\nimport { EthProvider, EthMethod, EthTransactionReceipt } from 'eth-json-rpc-types';\n\nclass MyProvider implements EthProvider {\n  request({ method, params }) {\n    // ...\n  }\n\n  // ...\n}\n\nconst provider = new MyProvider();\n\n// Results and parameters are both typed based on EthMethod passed into `request`\nconst eth_accounts: string[] = provider.request({ method: EthMethod.eth_accounts });\nconst eth_getTransactionReceipt: EthTransactionReceipt = provider.request({\n  method: EthMethod.eth_accounts,\n  params: ['0x0...'],\n});\n\n// This will throw type errors because it has incorrect parameters\nconst eth_getBlockByHash = provider.request({\n  method: EthMethod.eth_getBlockByHash,\n  params: [123],\n});\n```\n","readmeFilename":"README.md","gitHead":"5b862564db596b0857519918daabfcddaad5e073","_id":"eth-provider-types@0.1.0-beta.2","_nodeVersion":"18.12.1","_npmVersion":"8.19.2","dist":{"integrity":"sha512-G0kSi0/t48i6p9usm10+5c7dbCiofw2XROlFhtW64oMLwovvg8eK20gfRcxQae+1gTNNBYi8RbiHM2vLoHOpVQ==","shasum":"679d0130be9d8a74b81713d16cfc4229e8700710","tarball":"https://registry.npmjs.org/eth-provider-types/-/eth-provider-types-0.1.0-beta.2.tgz","fileCount":6,"unpackedSize":29851,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGKjRGDyYyM/I4WPbx1lOnufLHhSlDkcqtqi50VrX+A3AiAtGfWAnS4m6kC5H6mtaZF0B1nldde5Ei0KrlDZ8GJ9Sg=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjofkRACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmr01RAAnutWJ9B7YLI8n69zf349l7d0aksHgocGpq+SV4d9QSvvJ0uo\r\nXUvX4t6ZutugIvCamS7oy7ie/lTE8lGFSHGhpA7igngI3TxmU+sDDd/r/Yol\r\nnuU0N8zJfWuIrBkwNqKWK08/UNVWBsygfMVtu6camRWpQw6KcucJer+lvIuS\r\nyqp28DAkOTtXJDQOn/d3TajxA/lmdLuPHqDow09XbCQ3eUc6A1kOrd5/jVQs\r\npQHYZBxwpaUeRpPIpJYPmKuHnhlMtfDs1xyS6Yc/Os4b/Ny5gJ4zl8CPCRST\r\nrKuY4AVGD72MZYsbhlqwlhCNDGmPhZShh//+Hxc97DzlRMhsqa219m1bvogQ\r\ncI5CQyHXaHQFzfZpVX4yAtXldlSv6agqe/EoAY9CBMChDvIMY+HMTcR2cjJt\r\n2UMhxOMZA41jNi/1//MYtSKPkjQ8nBvWkRhuLLo5IdXrfHsEdopY7NirB0vH\r\nM1yzuFYg9FhzGpm813/yVoEKpmtljWyUJfeH0vwTOAK0o6piAj7kz4LpvIZd\r\nbbybJOqHhsPozGWDe8ek+GXkeeGTB79qmLCyCjDFVEdUR7LFaPGadQdaJqAV\r\nF1KBxN43UeNFCob8L+mVBXko+8nCfT2yUUQP8x39fGsBKUYlV9Ym/CHQunux\r\n/U7TcJY4BjJ4ttH69VbCGFojr8VLaqI4pz8=\r\n=FI1c\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"imthinhvu","email":"thinh.vu@hey.com"},"directories":{},"maintainers":[{"name":"imthinhvu","email":"thinh.vu@hey.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/eth-provider-types_0.1.0-beta.2_1671559441222_0.8524643414913691"},"_hasShrinkwrap":false},"0.1.0-beta.3":{"name":"eth-provider-types","version":"0.1.0-beta.3","description":"TypeScript types for Ethereum providers, with types for every RPC method","main":"./index.js","types":"index.d.ts","author":{"name":"Bitski"},"license":"ISC","scripts":{"build":"tsc"},"readme":"# eth-provider-types\n\nThis package provides types for Ethereum JSON RPC APIs. This includes:\n\n```ts\nimport {\n  // The ethereum provider API interface, per EIP-1193 (https://eips.ethereum.org/EIPS/eip-1193#appendix-i-consumer-facing-api-documentation)\n  EthProvider,\n\n  /*** Enums ***/\n  EthMethod, // All ethereum RPC method names\n  EthEvent, // All standard event names emitted by the provider\n  EthProviderMessageType, // All types of messages sent by the `message` event\n  EthProviderRpcErrorCode, // Error codes\n  EthBlockNumberTag, // Block tags e.g. 'latest', 'earliest', 'pending\n\n  /*** Mappings ***/\n  EthMethodParams, // Mapping from EthMethod -> method parameters\n  EthMethodResults, // Mapping from EthMethod -> method results\n  EthEventParams, // Mapping from EthEvent -> Event parameters\n  EthProviderMessageData, // Mapping from EthProviderMessageType -> message data\n\n  /*** Interfaces ***/\n\n  // Ethereum transaction received from RPC (e.g. getTransactionByHash).\n  // This is the union of EthTransactionComplete and EthTransactionPending.\n  EthTransaction,\n  EthTransactionComplete, // Completed transaction (block number, etc, are NOT null)\n  EthTransactionPending, // Pending transaction (block number, etc. ARE null)\n  EthTransactionSend, // Transaction partial passed to eth_sendTransaction, eth_signTransaction\n  EthTransactionCall, // Transaction partial passed to eth_call\n  EthTransactionReceipt,\n\n  // Ethereum block received from RPC (e.g. getBlockByHash).\n  // This is the union of EthBlockComplete and EthBlockPending.\n  EthBlock,\n  EthBlockComplete, // Completed block (block number, etc. are NOT null)\n  EthBlockPending, // Pending block (block number, etc. ARE null)\n\n  // Ethereum log received from RPC (e.g. getLogs)\n  // This is the union of EthLogComplete and EthLogPending.\n  EthLog,\n  EthLogComplete, // Completed log (block number, etc. are NOT null)\n  EthLogPending, // Pending log (block number, etc. ARE null)\n\n  // Other\n  EthProviderMessage,\n  EthProviderRpcError,\n  EthProviderConnectInfo,\n} from 'eth-provider-types';\n```\n\nYou can use these types to create an Ethereum provider that is strongly typed:\n\n```ts\nimport { EthProvider, EthMethod, EthTransactionReceipt } from 'eth-json-rpc-types';\n\nclass MyProvider implements EthProvider {\n  request({ method, params }) {\n    // ...\n  }\n\n  // ...\n}\n\nconst provider = new MyProvider();\n\n// Results and parameters are both typed based on EthMethod passed into `request`\nconst eth_accounts: string[] = provider.request({ method: EthMethod.eth_accounts });\nconst eth_getTransactionReceipt: EthTransactionReceipt = provider.request({\n  method: EthMethod.eth_accounts,\n  params: ['0x0...'],\n});\n\n// This will throw type errors because it has incorrect parameters\nconst eth_getBlockByHash = provider.request({\n  method: EthMethod.eth_getBlockByHash,\n  params: [123],\n});\n```\n","readmeFilename":"README.md","gitHead":"29d8c7a4c5a50023dff267fa4fe0e1c17efd76d8","_id":"eth-provider-types@0.1.0-beta.3","_nodeVersion":"18.12.1","_npmVersion":"8.19.2","dist":{"integrity":"sha512-6EBytyvNolA+UetylsxPXEVkC7Pgq6ZwXz27vdUvbtOQnmrjvyg02xFbD0xsseEfbDhlrvrThsty81Ndco+PyA==","shasum":"a2e742e6b940e439c0e8b852882bab584b48a95d","tarball":"https://registry.npmjs.org/eth-provider-types/-/eth-provider-types-0.1.0-beta.3.tgz","fileCount":6,"unpackedSize":30495,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIE8koKqmVkNHcycJI1MTtHQa5iH6eXQz+6Rg7uy9bL27AiBDDjAeGmKdWU6cItsct03ar49pQgf1j6JgcV+s1c5QVg=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjof18ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmojNA/6AiIG/6lfaubirfWU+r6z5fT064dk+EmadcB8pNM8XlrJU0BJ\r\n542nlDndCQdUGY03lL0v+xgZwpKNsIL93DMv4mPaptmmY9f5iX5ZAtdOQueq\r\nyPZLCaS83R2il+B2aLf9/kNuKpm0DlGo6LmTstAbmcDJj0C0ssA1Zh+n31Wk\r\nnkYFVutqdroxKrfrUZIsW2Dhc0Mxoa1hx7xlTu/wQVIto0NEOW6ikwjFQ9AT\r\nKEZEO78zGi9g4BZBtYb1QWHurgE+mwkFb678qnjGDDnBQk22MDpsB6pFE9y8\r\njoz+JfUNXZtsMKDfq7SNAwTpLeq8iJZnOGOYKZI93NCqWzQpSXroTgVehsvV\r\nvX/11tTlJT7KHZvyfeWwKS+SjkC7TTM6VYbTlO7E9meJaHACmeXkB5IppfwL\r\nI+2Q4+HbLmGK/RsIR6E4jp85Sh8sh/EJFP7ieL0naEG0IfIG9+SRTv6Z488t\r\nCuAThG5+pvfSOixVbdNLvfb9nnxk1ExhErRGX2XN0u2PtjIVPm3zDDyI4Jjw\r\nYCdQDWiNUqYDsgW2C8a+4SoFUowy0lMwR6fevZFoMdhaWRcUK3z+0wjLvsuM\r\nwnrwEDD4q80kNkJfR4pSY61gISYDZhtfSB+QV2Ukuu+9Um55ZZVNVUx2M34d\r\nva82dT1spKOr/huybP87zzLNfE8ZuGE34bw=\r\n=zYLW\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"imthinhvu","email":"thinh.vu@hey.com"},"directories":{},"maintainers":[{"name":"imthinhvu","email":"thinh.vu@hey.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/eth-provider-types_0.1.0-beta.3_1671560572495_0.9063416324349296"},"_hasShrinkwrap":false},"0.1.0-beta.4":{"name":"eth-provider-types","version":"0.1.0-beta.4","description":"TypeScript types for Ethereum providers, with types for every RPC method","main":"./index.js","types":"index.d.ts","author":{"name":"Bitski"},"license":"ISC","scripts":{"build":"tsc"},"readme":"# eth-provider-types\n\nThis package provides types for Ethereum JSON RPC APIs. This includes:\n\n```ts\nimport {\n  // The ethereum provider API interface, per EIP-1193 (https://eips.ethereum.org/EIPS/eip-1193#appendix-i-consumer-facing-api-documentation)\n  EthProvider,\n\n  /*** Enums ***/\n  EthMethod, // All ethereum RPC method names\n  EthEvent, // All standard event names emitted by the provider\n  EthProviderMessageType, // All types of messages sent by the `message` event\n  EthProviderRpcErrorCode, // Error codes\n  EthBlockNumberTag, // Block tags e.g. 'latest', 'earliest', 'pending\n\n  /*** Mappings ***/\n  EthMethodParams, // Mapping from EthMethod -> method parameters\n  EthMethodResults, // Mapping from EthMethod -> method results\n  EthEventParams, // Mapping from EthEvent -> Event parameters\n  EthProviderMessageData, // Mapping from EthProviderMessageType -> message data\n\n  /*** Interfaces ***/\n\n  // Ethereum transaction received from RPC (e.g. getTransactionByHash).\n  // This is the union of EthTransactionComplete and EthTransactionPending.\n  EthTransaction,\n  EthTransactionComplete, // Completed transaction (block number, etc, are NOT null)\n  EthTransactionPending, // Pending transaction (block number, etc. ARE null)\n  EthTransactionSend, // Transaction partial passed to eth_sendTransaction, eth_signTransaction\n  EthTransactionCall, // Transaction partial passed to eth_call\n  EthTransactionReceipt,\n\n  // Ethereum block received from RPC (e.g. getBlockByHash).\n  // This is the union of EthBlockComplete and EthBlockPending.\n  EthBlock,\n  EthBlockComplete, // Completed block (block number, etc. are NOT null)\n  EthBlockPending, // Pending block (block number, etc. ARE null)\n\n  // Ethereum log received from RPC (e.g. getLogs)\n  // This is the union of EthLogComplete and EthLogPending.\n  EthLog,\n  EthLogComplete, // Completed log (block number, etc. are NOT null)\n  EthLogPending, // Pending log (block number, etc. ARE null)\n\n  // Other\n  EthProviderMessage,\n  EthProviderRpcError,\n  EthProviderConnectInfo,\n} from 'eth-provider-types';\n```\n\nYou can use these types to create an Ethereum provider that is strongly typed:\n\n```ts\nimport { EthProvider, EthMethod, EthTransactionReceipt } from 'eth-json-rpc-types';\n\nclass MyProvider implements EthProvider {\n  request({ method, params }) {\n    // ...\n  }\n\n  // ...\n}\n\nconst provider = new MyProvider();\n\n// Results and parameters are both typed based on EthMethod passed into `request`\nconst eth_accounts: string[] = provider.request({ method: EthMethod.eth_accounts });\nconst eth_getTransactionReceipt: EthTransactionReceipt = provider.request({\n  method: EthMethod.eth_accounts,\n  params: ['0x0...'],\n});\n\n// This will throw type errors because it has incorrect parameters\nconst eth_getBlockByHash = provider.request({\n  method: EthMethod.eth_getBlockByHash,\n  params: [123],\n});\n```\n","readmeFilename":"README.md","gitHead":"74b8f823a6a85da11c1f1bfba4880aebf661d609","_id":"eth-provider-types@0.1.0-beta.4","_nodeVersion":"18.15.0","_npmVersion":"9.5.0","dist":{"integrity":"sha512-Z1nqTF3Cwclz3ZPRrpGaFwiuK8pYbhCt9BD7Ncp22HdUPtJhpMX7GflTTXb4Ju1FKhRlUTqUaFnqDMHTyMpALw==","shasum":"7bc70fe62c05a72edf8392912741450bdda1f375","tarball":"https://registry.npmjs.org/eth-provider-types/-/eth-provider-types-0.1.0-beta.4.tgz","fileCount":6,"unpackedSize":32500,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDQKFZE4YBKcEglGzrdnkL/F9LLfQIIpOMg9Bkip0+cGwIgMKp+MeNDTnNv6kxx6gRzaItBny0HNZtzfBinbvzGM24="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkMEBNACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmouBQ/+JimO15QfEd6vY8Zu4Uvx/QpsEipCFMJx2IbtaulurVdEhtBG\r\ntaGecwCjBsZ5RMvHNHv2ykkEKTLOmn9FpIWiWTwkEdA9Oee+uSyffRDv3Rxh\r\n5eGxtXr2hGEf+G+psBVlBQnpVwiyN91CRbmwDx/hVGg9FV4qoyeQhuR5B3+b\r\nypYZ9qNjtE3qK/r0nnqKb96na8VXiqzXrAMCe96d8pIvD7AQSrDoaLsu1IuF\r\nNH/O3MjMCgzYusLjxNWEibz0OuUqIUPIpe5qx896vRWp0udj7vgIz56DE/pM\r\n14VHDYSQMOBIj2gwaF9iIRtcGs8f4cijbDIFepYzlzJzW2+lABSratASAoTP\r\nFqAbUJVipgxS7OFr4xagJNQcxJ/DOstLXjLhxStzBcp7aA3sO8OUifl3qkpQ\r\n15R81yC44em6qAlv5j3eHfseSfsfzRQcjCwxlk/LqIAjXlokraTOdlzhjEn3\r\n6iqBJ3pQBEk9Z9o73jns+rYVT133eST5ar25xYhVu8iPwX+fAv5U8h2RDuI8\r\nw4a72K6m1vxOFdx2mjCw6CUpFsd0aQvWC5K1vFPZeAnzt4g7bSQxEpKGsGiu\r\nLd63xC+CL6exlQR9O9EHukXaTsHV5eB/Wx0lMnqoe3WQ4J4AXfL2BamL158t\r\nnrQRt+3Y4pmVuImBYoXhY6CJAbnikv8pv0c=\r\n=J4d+\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"imthinhvu","email":"thinh.vu@hey.com"},"directories":{},"maintainers":[{"name":"imthinhvu","email":"thinh.vu@hey.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/eth-provider-types_0.1.0-beta.4_1680883789226_0.0891313748318423"},"_hasShrinkwrap":false},"0.1.0":{"name":"eth-provider-types","version":"0.1.0","description":"TypeScript types for Ethereum providers, with types for every RPC method","main":"./index.js","types":"index.d.ts","author":{"name":"Bitski"},"license":"ISC","scripts":{"build":"tsc"},"gitHead":"f67b4a75dc5edd4645d4ff98c0fb5f395f7adfce","_id":"eth-provider-types@0.1.0","_nodeVersion":"18.16.0","_npmVersion":"9.5.1","dist":{"integrity":"sha512-8WxAuCqUO4kMmHSX9sezvWvU7zHUARDPGf5Qxx1y4KULcRMUH96ThK2f3KRhscF5Bm9l8umHaQdl5EL3atuHPg==","shasum":"fa63b1b52e08707ffdd64d5bfdd1d6abd212ba2b","tarball":"https://registry.npmjs.org/eth-provider-types/-/eth-provider-types-0.1.0.tgz","fileCount":6,"unpackedSize":34862,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIC/6G4/ja9NOUCfgFJG7yuaSEf/LKP3fWTOIlu2uT6kUAiBzAAf84v0KGCYZDA9TFoA94NxG56G+P3hTcYkIrFyD8Q=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkSV5SACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoW7hAAmowNoGdk7SWzEaXdwVOgE2uoNrwoOQJRuCFdiTX8gD+qfnBh\r\nqs1tMp2DzdtSbhsmiRdTRU3tuMGsiNlhTxVwZKobp6YKRgQe8qY3VJAtUgr3\r\n7Yf3ysbw0VuoKBuuJNe6y+ae/KqUQ3YkwOiluIQYcTWamWF5juwLWcFmZoyI\r\nGUNJEQZXmF4FY1eiHz5zqeFLouW3nljJKG563sfkG68sWHGRygdpF5ud8U7a\r\nt19l3FFiqXjrk/rbV0MGx/DckEiuiB5A4emf7YvWOtrH40aHJc92L8EB8I0d\r\notfxGePZXcCwYUcAqMOSRCSn92O9J7nLlcJe79whEhZ3bbKsnZ7MoVIsxnrJ\r\n5jUOBw2A1oUStf3k8sI/vdNJoH8zFJNLgCQIXk9ohXuTX7rXsTdyfKe2+xY4\r\n3girDOQyfPMlYcr9qT4FokWq+ekMHwUS9YfMUFMTQG66yng7IbwXAkmX3WwH\r\nwkyKXA59YAoCtHLoeTxfzP5rafIZrExj1M6PNsbplFwa+mW+76awjDJjRAuL\r\nJYf9QzzqmRBN+ta/UF4oaX0GXK9d6zHgoASnMcHWv27EeqSI4hSAzLZRje8H\r\nBGLkYuMdFH+hLivoCSYzUwhT58uvlTiJ+sIX+1F7balS0cFnToDrl57Gl0+P\r\nHp+CdYh65U9JROigBhw514wa01PcIFZZJ8w=\r\n=QXJ0\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"imthinhvu","email":"thinh.vu@hey.com"},"directories":{},"maintainers":[{"name":"imthinhvu","email":"thinh.vu@hey.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/eth-provider-types_0.1.0_1682529874491_0.7723884641432637"},"_hasShrinkwrap":false},"0.2.0-next.0":{"name":"eth-provider-types","version":"0.2.0-next.0","description":"TypeScript types for Ethereum providers, with types for every RPC method","main":"./index.js","types":"index.d.ts","author":{"name":"Bitski"},"license":"ISC","scripts":{"build":"tsc"},"readme":"# eth-provider-types\n\nThis package provides types for Ethereum JSON RPC APIs. This includes:\n\n```ts\nimport {\n  // The ethereum provider API interface, per EIP-1193 (https://eips.ethereum.org/EIPS/eip-1193#appendix-i-consumer-facing-api-documentation)\n  EthProvider,\n\n  /*** Enums ***/\n  EthMethod, // All ethereum RPC method names\n  EthEvent, // All standard event names emitted by the provider\n  EthProviderMessageType, // All types of messages sent by the `message` event\n  EthProviderRpcErrorCode, // Error codes\n  EthBlockNumberTag, // Block tags e.g. 'latest', 'earliest', 'pending\n\n  /*** Mappings ***/\n  EthMethodParams, // Mapping from EthMethod -> method parameters\n  EthMethodResults, // Mapping from EthMethod -> method results\n  EthEventParams, // Mapping from EthEvent -> Event parameters\n  EthProviderMessageData, // Mapping from EthProviderMessageType -> message data\n\n  /*** Interfaces ***/\n\n  // Ethereum transaction received from RPC (e.g. getTransactionByHash).\n  // This is the union of EthTransactionComplete and EthTransactionPending.\n  EthTransaction,\n  EthTransactionComplete, // Completed transaction (block number, etc, are NOT null)\n  EthTransactionPending, // Pending transaction (block number, etc. ARE null)\n  EthTransactionSend, // Transaction partial passed to eth_sendTransaction, eth_signTransaction\n  EthTransactionCall, // Transaction partial passed to eth_call\n  EthTransactionReceipt,\n\n  // Ethereum block received from RPC (e.g. getBlockByHash).\n  // This is the union of EthBlockComplete and EthBlockPending.\n  EthBlock,\n  EthBlockComplete, // Completed block (block number, etc. are NOT null)\n  EthBlockPending, // Pending block (block number, etc. ARE null)\n\n  // Ethereum log received from RPC (e.g. getLogs)\n  // This is the union of EthLogComplete and EthLogPending.\n  EthLog,\n  EthLogComplete, // Completed log (block number, etc. are NOT null)\n  EthLogPending, // Pending log (block number, etc. ARE null)\n\n  // Other\n  EthProviderMessage,\n  EthProviderRpcError,\n  EthProviderConnectInfo,\n} from 'eth-provider-types';\n```\n\nYou can use these types to create an Ethereum provider that is strongly typed:\n\n```ts\nimport { EthProvider, EthMethod, EthTransactionReceipt } from 'eth-json-rpc-types';\n\nclass MyProvider implements EthProvider {\n  request({ method, params }) {\n    // ...\n  }\n\n  // ...\n}\n\nconst provider = new MyProvider();\n\n// Results and parameters are both typed based on EthMethod passed into `request`\nconst eth_accounts: string[] = provider.request({ method: EthMethod.eth_accounts });\nconst eth_getTransactionReceipt: EthTransactionReceipt = provider.request({\n  method: EthMethod.eth_accounts,\n  params: ['0x0...'],\n});\n\n// This will throw type errors because it has incorrect parameters\nconst eth_getBlockByHash = provider.request({\n  method: EthMethod.eth_getBlockByHash,\n  params: [123],\n});\n```\n","readmeFilename":"README.md","gitHead":"9bd8daf3d802afef0fa12b9aba05557b2ea7ef6f","_id":"eth-provider-types@0.2.0-next.0","_nodeVersion":"18.16.0","_npmVersion":"9.5.1","dist":{"integrity":"sha512-+22wGmFo00DL4PsDP3kP8tyvex7+b1wD4zOwOkZeniELgwAtqYLON/xdxOZqdHMpJYuiRSn7h98F2obFlEwdbg==","shasum":"56616f9785fb6646cabc97a5bafe91d8308fd7ab","tarball":"https://registry.npmjs.org/eth-provider-types/-/eth-provider-types-0.2.0-next.0.tgz","fileCount":6,"unpackedSize":37895,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCJzUAk+FuuabRglRhdQj0/URMeXLfRJT/JU6yMaKTO/wIhAJK8OtLm3ogyBTs5U5kOv7jQkipSyp+E5XN/W1uVNXxU"}]},"_npmUser":{"name":"imthinhvu","email":"thinh.vu@hey.com"},"directories":{},"maintainers":[{"name":"imthinhvu","email":"thinh.vu@hey.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/eth-provider-types_0.2.0-next.0_1684268063483_0.23130369215491386"},"_hasShrinkwrap":false},"0.2.0-next.1":{"name":"eth-provider-types","version":"0.2.0-next.1","description":"TypeScript types for Ethereum providers, with types for every RPC method","main":"./index.js","types":"index.d.ts","author":{"name":"Bitski"},"license":"ISC","scripts":{"build":"tsc"},"readme":"# eth-provider-types\n\nThis package provides types for Ethereum JSON RPC APIs. This includes:\n\n```ts\nimport {\n  // The ethereum provider API interface, per EIP-1193 (https://eips.ethereum.org/EIPS/eip-1193#appendix-i-consumer-facing-api-documentation)\n  EthProvider,\n\n  /*** Enums ***/\n  EthMethod, // All ethereum RPC method names\n  EthEvent, // All standard event names emitted by the provider\n  EthProviderMessageType, // All types of messages sent by the `message` event\n  EthProviderRpcErrorCode, // Error codes\n  EthBlockNumberTag, // Block tags e.g. 'latest', 'earliest', 'pending\n\n  /*** Mappings ***/\n  EthMethodParams, // Mapping from EthMethod -> method parameters\n  EthMethodResults, // Mapping from EthMethod -> method results\n  EthEventParams, // Mapping from EthEvent -> Event parameters\n  EthProviderMessageData, // Mapping from EthProviderMessageType -> message data\n\n  /*** Interfaces ***/\n\n  // Ethereum transaction received from RPC (e.g. getTransactionByHash).\n  // This is the union of EthTransactionComplete and EthTransactionPending.\n  EthTransaction,\n  EthTransactionComplete, // Completed transaction (block number, etc, are NOT null)\n  EthTransactionPending, // Pending transaction (block number, etc. ARE null)\n  EthTransactionSend, // Transaction partial passed to eth_sendTransaction, eth_signTransaction\n  EthTransactionCall, // Transaction partial passed to eth_call\n  EthTransactionReceipt,\n\n  // Ethereum block received from RPC (e.g. getBlockByHash).\n  // This is the union of EthBlockComplete and EthBlockPending.\n  EthBlock,\n  EthBlockComplete, // Completed block (block number, etc. are NOT null)\n  EthBlockPending, // Pending block (block number, etc. ARE null)\n\n  // Ethereum log received from RPC (e.g. getLogs)\n  // This is the union of EthLogComplete and EthLogPending.\n  EthLog,\n  EthLogComplete, // Completed log (block number, etc. are NOT null)\n  EthLogPending, // Pending log (block number, etc. ARE null)\n\n  // Other\n  EthProviderMessage,\n  EthProviderRpcError,\n  EthProviderConnectInfo,\n} from 'eth-provider-types';\n```\n\nYou can use these types to create an Ethereum provider that is strongly typed:\n\n```ts\nimport { EthProvider, EthMethod, EthTransactionReceipt } from 'eth-json-rpc-types';\n\nclass MyProvider implements EthProvider {\n  request({ method, params }) {\n    // ...\n  }\n\n  // ...\n}\n\nconst provider = new MyProvider();\n\n// Results and parameters are both typed based on EthMethod passed into `request`\nconst eth_accounts: string[] = provider.request({ method: EthMethod.eth_accounts });\nconst eth_getTransactionReceipt: EthTransactionReceipt = provider.request({\n  method: EthMethod.eth_accounts,\n  params: ['0x0...'],\n});\n\n// This will throw type errors because it has incorrect parameters\nconst eth_getBlockByHash = provider.request({\n  method: EthMethod.eth_getBlockByHash,\n  params: [123],\n});\n```\n","readmeFilename":"README.md","gitHead":"c917ac83e861561e046ed355a36560edb6741802","_id":"eth-provider-types@0.2.0-next.1","_nodeVersion":"18.16.0","_npmVersion":"9.5.1","dist":{"integrity":"sha512-7vH0qemip8/Xtz1BKb/bRYoKa7YYL72SbjEzvOjgOSsoYFwUaeSFmV/wvkD4fnhFnZXhIxUhxHWq5mxqBCKq3A==","shasum":"1c314aa5f45ce86de80b4ceab164599ab3fd761b","tarball":"https://registry.npmjs.org/eth-provider-types/-/eth-provider-types-0.2.0-next.1.tgz","fileCount":6,"unpackedSize":38234,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCclJWIDnRpROfeVGl5Ws/6kmUiM3uRRjFbOgC1XhNDiwIgSE0J81GgRl94BS7h3rfl2yKmIN0fFXdDHxBEEYG1lsY="}]},"_npmUser":{"name":"imthinhvu","email":"thinh.vu@hey.com"},"directories":{},"maintainers":[{"name":"imthinhvu","email":"thinh.vu@hey.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/eth-provider-types_0.2.0-next.1_1684510981394_0.05259370289345844"},"_hasShrinkwrap":false},"0.2.0-next.2":{"name":"eth-provider-types","version":"0.2.0-next.2","description":"TypeScript types for Ethereum providers, with types for every RPC method","main":"./index.js","types":"index.d.ts","author":{"name":"Bitski"},"license":"ISC","scripts":{"build":"tsc"},"readme":"# eth-provider-types\n\nThis package provides types for Ethereum JSON RPC APIs. This includes:\n\n```ts\nimport {\n  // The ethereum provider API interface, per EIP-1193 (https://eips.ethereum.org/EIPS/eip-1193#appendix-i-consumer-facing-api-documentation)\n  EthProvider,\n\n  /*** Enums ***/\n  EthMethod, // All ethereum RPC method names\n  EthEvent, // All standard event names emitted by the provider\n  EthProviderMessageType, // All types of messages sent by the `message` event\n  EthProviderRpcErrorCode, // Error codes\n  EthBlockNumberTag, // Block tags e.g. 'latest', 'earliest', 'pending\n\n  /*** Mappings ***/\n  EthMethodParams, // Mapping from EthMethod -> method parameters\n  EthMethodResults, // Mapping from EthMethod -> method results\n  EthEventParams, // Mapping from EthEvent -> Event parameters\n  EthProviderMessageData, // Mapping from EthProviderMessageType -> message data\n\n  /*** Interfaces ***/\n\n  // Ethereum transaction received from RPC (e.g. getTransactionByHash).\n  // This is the union of EthTransactionComplete and EthTransactionPending.\n  EthTransaction,\n  EthTransactionComplete, // Completed transaction (block number, etc, are NOT null)\n  EthTransactionPending, // Pending transaction (block number, etc. ARE null)\n  EthTransactionSend, // Transaction partial passed to eth_sendTransaction, eth_signTransaction\n  EthTransactionCall, // Transaction partial passed to eth_call\n  EthTransactionReceipt,\n\n  // Ethereum block received from RPC (e.g. getBlockByHash).\n  // This is the union of EthBlockComplete and EthBlockPending.\n  EthBlock,\n  EthBlockComplete, // Completed block (block number, etc. are NOT null)\n  EthBlockPending, // Pending block (block number, etc. ARE null)\n\n  // Ethereum log received from RPC (e.g. getLogs)\n  // This is the union of EthLogComplete and EthLogPending.\n  EthLog,\n  EthLogComplete, // Completed log (block number, etc. are NOT null)\n  EthLogPending, // Pending log (block number, etc. ARE null)\n\n  // Other\n  EthProviderMessage,\n  EthProviderRpcError,\n  EthProviderConnectInfo,\n} from 'eth-provider-types';\n```\n\nYou can use these types to create an Ethereum provider that is strongly typed:\n\n```ts\nimport { EthProvider, EthMethod, EthTransactionReceipt } from 'eth-json-rpc-types';\n\nclass MyProvider implements EthProvider {\n  request({ method, params }) {\n    // ...\n  }\n\n  // ...\n}\n\nconst provider = new MyProvider();\n\n// Results and parameters are both typed based on EthMethod passed into `request`\nconst eth_accounts: string[] = provider.request({ method: EthMethod.eth_accounts });\nconst eth_getTransactionReceipt: EthTransactionReceipt = provider.request({\n  method: EthMethod.eth_accounts,\n  params: ['0x0...'],\n});\n\n// This will throw type errors because it has incorrect parameters\nconst eth_getBlockByHash = provider.request({\n  method: EthMethod.eth_getBlockByHash,\n  params: [123],\n});\n```\n","readmeFilename":"README.md","gitHead":"9412a0362f478c59bf0c80adb399a3a06475f5e6","_id":"eth-provider-types@0.2.0-next.2","_nodeVersion":"18.16.0","_npmVersion":"9.5.1","dist":{"integrity":"sha512-OD4ms/yU91J5bZu3Kt6iLGEc8ebdnTFqoYthdz8ZQvHh9002dx4tenCQFnZe+kM3nk8UY7KL828c+OyDak/h4A==","shasum":"ebe1667c7ff458b170f16614d77b1927ac05b23f","tarball":"https://registry.npmjs.org/eth-provider-types/-/eth-provider-types-0.2.0-next.2.tgz","fileCount":6,"unpackedSize":38529,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAYKVGsWkcFjzg/oi5+ZJnrOzwjv4yj9YyUr/NIRSYnNAiEA8i9+5fUX3TCL2HxZjwjy6J7H8rODFIflWje3kd1KLVY="}]},"_npmUser":{"name":"imthinhvu","email":"thinh.vu@hey.com"},"directories":{},"maintainers":[{"name":"imthinhvu","email":"thinh.vu@hey.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/eth-provider-types_0.2.0-next.2_1686433925997_0.0006850013971084756"},"_hasShrinkwrap":false},"0.2.0":{"name":"eth-provider-types","version":"0.2.0","description":"TypeScript types for Ethereum providers, with types for every RPC method","main":"./index.js","types":"index.d.ts","author":{"name":"Bitski"},"license":"ISC","scripts":{"build":"tsc"},"gitHead":"c54a8e0f02cf6df5fb57336d3cb11abfa8209bf1","_id":"eth-provider-types@0.2.0","_nodeVersion":"18.16.1","_npmVersion":"9.5.1","dist":{"integrity":"sha512-S1YEDM+ocrS6G8n8Cpe4+8y5aW/sY4toSAtnM89nNZsT+icIXxZHdnRzqSfrupF7X3MjuGVFF6LwMM42GafTiQ==","shasum":"176282788520d356de4c1cbb70a1ab471b654943","tarball":"https://registry.npmjs.org/eth-provider-types/-/eth-provider-types-0.2.0.tgz","fileCount":6,"unpackedSize":39409,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDOxjaTpUof5dThAc/2G/LRVqje7BQ72ebvmH1ntbTqAgIhAJ3Uec9zdGWBASjP9cfGvdIGaQTcEJ2bVNRYwULqsyW4"}]},"_npmUser":{"name":"imthinhvu","email":"thinh.vu@hey.com"},"directories":{},"maintainers":[{"name":"imthinhvu","email":"thinh.vu@hey.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/eth-provider-types_0.2.0_1688158699301_0.10552106094738645"},"_hasShrinkwrap":false},"0.2.1":{"name":"eth-provider-types","version":"0.2.1","description":"TypeScript types for Ethereum providers, with types for every RPC method","main":"./index.js","types":"index.d.ts","author":{"name":"Bitski"},"license":"ISC","scripts":{"build":"tsc"},"gitHead":"541774d7ad338d9e5391b84c6100c861837f089d","_id":"eth-provider-types@0.2.1","_nodeVersion":"18.16.1","_npmVersion":"9.5.1","dist":{"integrity":"sha512-q5dCz5C0kyuvDCKB/MLmSftHwhlEUD/kTiYQsBItEszsUJ/sjVk5yM4rr5GJn2BJgPzEPIDaQokKpqkukDXXQw==","shasum":"4b48a82b040ce44131ae705449b961f45931b975","tarball":"https://registry.npmjs.org/eth-provider-types/-/eth-provider-types-0.2.1.tgz","fileCount":6,"unpackedSize":39739,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAuqFPEz97gsubZIT3IScJdRaKX2SCqZT58b86uKFYLnAiEAn56KhwwPtxM5/ICIX90QxIB+dy2mwp3kFu4/sY6iZXg="}]},"_npmUser":{"name":"imthinhvu","email":"thinh.vu@hey.com"},"directories":{},"maintainers":[{"name":"imthinhvu","email":"thinh.vu@hey.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/eth-provider-types_0.2.1_1689269728213_0.4631005810646729"},"_hasShrinkwrap":false}},"time":{"created":"2022-11-14T23:41:23.906Z","0.0.1":"2022-11-14T23:41:24.313Z","modified":"2023-07-13T17:35:28.629Z","0.0.2":"2022-12-17T00:32:02.545Z","0.1.0-beta.0":"2022-12-17T01:19:29.001Z","0.1.0-beta.1":"2022-12-20T16:35:57.500Z","0.1.0-beta.2":"2022-12-20T18:04:01.460Z","0.1.0-beta.3":"2022-12-20T18:22:52.718Z","0.1.0-beta.4":"2023-04-07T16:09:49.406Z","0.1.0":"2023-04-26T17:24:34.695Z","0.2.0-next.0":"2023-05-16T20:14:23.745Z","0.2.0-next.1":"2023-05-19T15:43:01.570Z","0.2.0-next.2":"2023-06-10T21:52:06.236Z","0.2.0":"2023-06-30T20:58:19.548Z","0.2.1":"2023-07-13T17:35:28.449Z"},"maintainers":[{"name":"imthinhvu","email":"thinh.vu@hey.com"}],"description":"TypeScript types for Ethereum providers, with types for every RPC method","author":{"name":"Bitski"},"license":"ISC","readme":"# eth-provider-types\n\nThis package provides types for Ethereum JSON RPC APIs. This includes:\n\n```ts\nimport {\n  // The ethereum provider API interface, per EIP-1193 (https://eips.ethereum.org/EIPS/eip-1193#appendix-i-consumer-facing-api-documentation)\n  EthProvider,\n\n  /*** Enums ***/\n  EthMethod, // All ethereum RPC method names\n  EthEvent, // All standard event names emitted by the provider\n  EthProviderMessageType, // All types of messages sent by the `message` event\n  EthProviderRpcErrorCode, // Error codes\n  EthBlockNumberTag, // Block tags e.g. 'latest', 'earliest', 'pending\n\n  /*** Mappings ***/\n  EthMethodParams, // Mapping from EthMethod -> method parameters\n  EthMethodResults, // Mapping from EthMethod -> method results\n  EthEventParams, // Mapping from EthEvent -> Event parameters\n  EthProviderMessageData, // Mapping from EthProviderMessageType -> message data\n\n  /*** Interfaces ***/\n\n  // Ethereum transaction received from RPC (e.g. getTransactionByHash).\n  // This is the union of EthTransactionComplete and EthTransactionPending.\n  EthTransaction,\n  EthTransactionComplete, // Completed transaction (block number, etc, are NOT null)\n  EthTransactionPending, // Pending transaction (block number, etc. ARE null)\n  EthTransactionSend, // Transaction partial passed to eth_sendTransaction, eth_signTransaction\n  EthTransactionCall, // Transaction partial passed to eth_call\n  EthTransactionReceipt,\n\n  // Ethereum block received from RPC (e.g. getBlockByHash).\n  // This is the union of EthBlockComplete and EthBlockPending.\n  EthBlock,\n  EthBlockComplete, // Completed block (block number, etc. are NOT null)\n  EthBlockPending, // Pending block (block number, etc. ARE null)\n\n  // Ethereum log received from RPC (e.g. getLogs)\n  // This is the union of EthLogComplete and EthLogPending.\n  EthLog,\n  EthLogComplete, // Completed log (block number, etc. are NOT null)\n  EthLogPending, // Pending log (block number, etc. ARE null)\n\n  // Other\n  EthProviderMessage,\n  EthProviderRpcError,\n  EthProviderConnectInfo,\n} from 'eth-provider-types';\n```\n\nYou can use these types to create an Ethereum provider that is strongly typed:\n\n```ts\nimport { EthProvider, EthMethod, EthTransactionReceipt } from 'eth-json-rpc-types';\n\nclass MyProvider implements EthProvider {\n  request({ method, params }) {\n    // ...\n  }\n\n  // ...\n}\n\nconst provider = new MyProvider();\n\n// Results and parameters are both typed based on EthMethod passed into `request`\nconst eth_accounts: string[] = provider.request({ method: EthMethod.eth_accounts });\nconst eth_getTransactionReceipt: EthTransactionReceipt = provider.request({\n  method: EthMethod.eth_accounts,\n  params: ['0x0...'],\n});\n\n// This will throw type errors because it has incorrect parameters\nconst eth_getBlockByHash = provider.request({\n  method: EthMethod.eth_getBlockByHash,\n  params: [123],\n});\n```\n","readmeFilename":"README.md"}