{"_id":"100x-client","_rev":"9-075fa10dbacce16082eff5297bf2e711","name":"100x-client","dist-tags":{"latest":"1.2.0"},"versions":{"1.0.0":{"name":"100x-client","version":"1.0.0","keywords":["100x","api","crypto","cryptocurrency","dex","exchange","EVM","orderbook","perps","rest","trading"],"author":{"url":"https://100x.finance/","name":"Tim Dunphy","email":"tim@rysk.finance"},"license":"MIT","_id":"100x-client@1.0.0","maintainers":[{"name":"meanboycousin","email":"timothy.dunphy@gmail.com"}],"contributors":[{"name":"Tim Dunphy","email":"tim@rysk.finance"}],"homepage":"https://100x.finance/","bugs":{"url":"https://github.com/MeanBoyCousin/100xClient/issues"},"dist":{"shasum":"65228c5d15ff043e68a2705c048cf14142b6f106","tarball":"https://registry.npmjs.org/100x-client/-/100x-client-1.0.0.tgz","fileCount":10,"integrity":"sha512-FPqpYJPCFC7flVjarRyg1bzZvP7uWxfgjofBG/HPLmCNO0lrtV65nbDgmQGFKhmPkJuDrvZWFdMXgL3pjeP04Q==","signatures":[{"sig":"MEQCIGQTUOdwTrnYG4EReYKIBItiUpStRYEfzO/M7NhqfGI5AiBNVu6j+MtK4JiFRvcm9UMuDjl4sCaXg9K78P2Yqw7cuw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":72975},"type":"module","types":"./lib/index.d.ts","engines":{"node":">=16.0.0"},"exports":{".":{"types":"./lib/index.d.ts","import":"./lib/index.js"},"./enums":{"types":"./lib/enums.d.ts","import":"./lib/enums.js"},"./package.json":"./package.json"},"scripts":{"dev":"tsup --watch --no-dts","lint":"eslint","test":"vitest -c vitest/vitest.config","build":"tsup --dts","sandbox":"tsx src/sandbox.ts","upgrade":"yarn upgrade-interactive --latest","test:cov":"yarn test --coverage --silent","postinstall":"echo removed in build","test:mutations":"stryker run"},"_npmUser":{"name":"meanboycousin","email":"timothy.dunphy@gmail.com"},"deprecated":"This version is deprecated due to old contract addresses. Pleae upgrade to @latest.","repository":{"url":"https://github.com/MeanBoyCousin/100xClient.git","type":"git"},"description":"A TypesScript SDK for the 100x exchange API.","directories":{},"licenseText":"MIT License\n\nCopyright (c) 2024 Tim Dunphy\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","dependencies":{"pino":"^8.19.0","viem":"^2.9.9","pino-pretty":"^11.0.0"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.0.2","husky":"^9.0.11","eslint":"^8.57.0","vitest":"^1.4.0","ts-node":"^10.9.2","prettier":"^3.2.5","typescript":"^5.4.3","@types/node":"^18.19.29","lint-staged":"^15.2.2","markdownlint-cli":"^0.39.0","typescript-eslint":"^7.5.0","vitest-fetch-mock":"^0.2.2","@vitest/coverage-v8":"^1.4.0","eslint-plugin-jsdoc":"^48.2.3","@stryker-mutator/api":"^8.2.6","eslint-plugin-import":"^2.29.1","@stryker-mutator/core":"^8.2.6","eslint-config-prettier":"^9.1.0","@typescript-eslint/parser":"^7.5.0","eslint-plugin-unused-imports":"^3.1.0","@stryker-mutator/vitest-runner":"^8.2.6","@typescript-eslint/eslint-plugin":"^7.5.0","eslint-import-resolver-typescript":"^3.6.1","@stryker-mutator/typescript-checker":"^8.2.6"},"_npmOperationalInternal":{"tmp":"tmp/100x-client_1.0.0_1713546118557_0.5536974098329546","host":"s3://npm-registry-packages"}},"1.0.1":{"name":"100x-client","version":"1.0.1","keywords":["100x","api","crypto","cryptocurrency","dex","exchange","EVM","orderbook","perps","rest","trading"],"author":{"url":"https://100x.finance/","name":"Tim Dunphy","email":"tim@rysk.finance"},"license":"MIT","_id":"100x-client@1.0.1","maintainers":[{"name":"meanboycousin","email":"timothy.dunphy@gmail.com"}],"contributors":[{"name":"Tim Dunphy","email":"tim@rysk.finance"}],"homepage":"https://100x.finance/","bugs":{"url":"https://github.com/MeanBoyCousin/100xClient/issues"},"dist":{"shasum":"c83b50b877c0377a2d2744fa61f949f41439cd94","tarball":"https://registry.npmjs.org/100x-client/-/100x-client-1.0.1.tgz","fileCount":10,"integrity":"sha512-fN3VusV6bxtybnOla9KuyFC3e1CQZgeU4yqnRLpdncZ3Fgq42GsVqtJxMKJ/I9yX7Xs6QyUR2juw0exa2N5SzA==","signatures":[{"sig":"MEYCIQDLeetivHAHVWWh2YUyaBvXV9KV6VEVGxeXDvaGmUwXdAIhAMguCgguGOJiqEINFZzCSMous/XlQL+Z97L1IVnsAPn9","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":73408},"type":"module","types":"./lib/index.d.ts","engines":{"node":">=16.0.0"},"exports":{".":{"types":"./lib/index.d.ts","import":"./lib/index.js"},"./enums":{"types":"./lib/enums.d.ts","import":"./lib/enums.js"},"./package.json":"./package.json"},"scripts":{"dev":"tsup --watch --no-dts","lint":"eslint","test":"vitest -c vitest/vitest.config","build":"tsup --dts","sandbox":"tsx src/sandbox.ts","upgrade":"yarn upgrade-interactive --latest","test:cov":"yarn test --coverage --silent","postinstall":"echo removed in build","test:mutations":"stryker run"},"_npmUser":{"name":"meanboycousin","email":"timothy.dunphy@gmail.com"},"deprecated":"This version is deprecated due to old contract addresses. Pleae upgrade to @latest.","repository":{"url":"https://github.com/MeanBoyCousin/100xClient.git","type":"git"},"description":"A TypesScript SDK for the 100x exchange API.","directories":{},"licenseText":"MIT License\n\nCopyright (c) 2024 Tim Dunphy\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","dependencies":{"pino":"^8.19.0","viem":"^2.9.9","pino-pretty":"^11.0.0"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.0.2","husky":"^9.0.11","eslint":"^8.57.0","vitest":"^1.4.0","ts-node":"^10.9.2","prettier":"^3.2.5","typescript":"^5.4.3","@types/node":"^18.19.29","lint-staged":"^15.2.2","markdownlint-cli":"^0.39.0","typescript-eslint":"^7.5.0","vitest-fetch-mock":"^0.2.2","@vitest/coverage-v8":"^1.4.0","eslint-plugin-jsdoc":"^48.2.3","@stryker-mutator/api":"^8.2.6","eslint-plugin-import":"^2.29.1","@stryker-mutator/core":"^8.2.6","eslint-config-prettier":"^9.1.0","@typescript-eslint/parser":"^7.5.0","eslint-plugin-unused-imports":"^3.1.0","@stryker-mutator/vitest-runner":"^8.2.6","@typescript-eslint/eslint-plugin":"^7.5.0","eslint-import-resolver-typescript":"^3.6.1","@stryker-mutator/typescript-checker":"^8.2.6"},"_npmOperationalInternal":{"tmp":"tmp/100x-client_1.0.1_1713547020072_0.42690193484314265","host":"s3://npm-registry-packages"}},"1.0.2":{"name":"100x-client","version":"1.0.2","keywords":["100x","api","crypto","cryptocurrency","dex","exchange","EVM","orderbook","perps","rest","trading"],"author":{"url":"https://100x.finance/","name":"Tim Dunphy","email":"tim@rysk.finance"},"license":"MIT","_id":"100x-client@1.0.2","maintainers":[{"name":"meanboycousin","email":"timothy.dunphy@gmail.com"}],"contributors":[{"name":"Tim Dunphy","email":"tim@rysk.finance"}],"homepage":"https://100x.finance/","bugs":{"url":"https://github.com/MeanBoyCousin/100xClient/issues"},"dist":{"shasum":"888f2e0098a88ef701494c41f980f06b80897d11","tarball":"https://registry.npmjs.org/100x-client/-/100x-client-1.0.2.tgz","fileCount":10,"integrity":"sha512-jXbkHH2+BNMYNfspSpMKyXCKuTJsOJIrBYc4lXM5bRs6qz1EDeCEAPmm8DsSrTQA3eJsPLbNO7+F53dPhlsE7Q==","signatures":[{"sig":"MEUCIEQnqKjGGQvAjwkDKYsaaaVA5B94siWLw6x2qS0zNyXUAiEAhMnlkYyYDFAWSEW6hj4VsokB3DPYweKv0jejZPDWqbo=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":75230},"main":"./lib/index.js","type":"module","types":"./lib/index.d.ts","module":"./lib/index.js","engines":{"node":">=16.0.0"},"exports":{".":{"types":"./lib/index.d.ts","import":"./lib/index.js"},"./enums":{"types":"./lib/enums.d.ts","import":"./lib/enums.js"},"./package.json":"./package.json"},"scripts":{"dev":"tsup --watch --no-dts","lint":"eslint","test":"vitest -c vitest/vitest.config","build":"tsup --dts","sandbox":"tsx src/sandbox.ts","upgrade":"yarn upgrade-interactive --latest","test:cov":"yarn test --coverage --silent","postinstall":"echo removed in build","test:mutations":"stryker run"},"_npmUser":{"name":"meanboycousin","email":"timothy.dunphy@gmail.com"},"deprecated":"This version is deprecated due to old contract addresses. Pleae upgrade to @latest.","repository":{"url":"https://github.com/MeanBoyCousin/100xClient.git","type":"git"},"description":"A TypesScript SDK for the 100x exchange API.","directories":{},"licenseText":"MIT License\n\nCopyright (c) 2024 Tim Dunphy\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","dependencies":{"pino":"^8.19.0","viem":"^2.9.9","pino-pretty":"^11.0.0"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.0.2","husky":"^9.0.11","eslint":"^8.57.0","vitest":"^1.4.0","ts-node":"^10.9.2","prettier":"^3.2.5","typescript":"^5.4.3","@types/node":"^18.19.29","lint-staged":"^15.2.2","markdownlint-cli":"^0.39.0","typescript-eslint":"^7.5.0","vitest-fetch-mock":"^0.2.2","@vitest/coverage-v8":"^1.4.0","eslint-plugin-jsdoc":"^48.2.3","@stryker-mutator/api":"^8.2.6","eslint-plugin-import":"^2.29.1","@stryker-mutator/core":"^8.2.6","eslint-config-prettier":"^9.1.0","@typescript-eslint/parser":"^7.5.0","eslint-plugin-unused-imports":"^3.1.0","@stryker-mutator/vitest-runner":"^8.2.6","@typescript-eslint/eslint-plugin":"^7.5.0","eslint-import-resolver-typescript":"^3.6.1","@stryker-mutator/typescript-checker":"^8.2.6"},"_npmOperationalInternal":{"tmp":"tmp/100x-client_1.0.2_1713787857041_0.14495111818530404","host":"s3://npm-registry-packages"}},"1.0.3":{"name":"100x-client","version":"1.0.3","keywords":["100x","api","crypto","cryptocurrency","dex","exchange","EVM","orderbook","perps","rest","trading"],"author":{"url":"https://100x.finance/","name":"Tim Dunphy","email":"tim@rysk.finance"},"license":"MIT","_id":"100x-client@1.0.3","maintainers":[{"name":"meanboycousin","email":"timothy.dunphy@gmail.com"}],"contributors":[{"name":"Tim Dunphy","email":"tim@rysk.finance"}],"homepage":"https://100x.finance/","bugs":{"url":"https://github.com/MeanBoyCousin/100xClient/issues"},"dist":{"shasum":"6436439c68841fe69b887aa278db03c4f3f3e3bf","tarball":"https://registry.npmjs.org/100x-client/-/100x-client-1.0.3.tgz","fileCount":10,"integrity":"sha512-PQhTsh6LnQxmm4KgVto/OkOEYl670vmzPXmsxKDpGMkG3ymArRHp8sYmatIfFLHCzSAyYzAsOGXuDqoB7hWCSQ==","signatures":[{"sig":"MEYCIQCa5M+M6i5R3Czr3cY+V850hPFe59fKmpbhiBmy0vQXOwIhAMmdxj25T8/T2q4/RtkhV3m3iUu9LNg94QUco+e4FpM+","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":75767},"main":"./lib/index.js","type":"module","types":"./lib/index.d.ts","module":"./lib/index.js","engines":{"node":">=16.0.0"},"exports":{".":{"types":"./lib/index.d.ts","import":"./lib/index.js"},"./enums":{"types":"./lib/enums.d.ts","import":"./lib/enums.js"},"./package.json":"./package.json"},"scripts":{"dev":"tsup --watch --no-dts","lint":"eslint","test":"vitest -c vitest/vitest.config","build":"tsup --dts","sandbox":"tsx src/sandbox.ts","upgrade":"yarn upgrade-interactive --latest","test:cov":"yarn test --coverage --silent","postinstall":"echo removed in build","test:mutations":"stryker run"},"_npmUser":{"name":"meanboycousin","email":"timothy.dunphy@gmail.com"},"deprecated":"This version is deprecated due to old contract addresses. Pleae upgrade to @latest.","repository":{"url":"https://github.com/MeanBoyCousin/100xClient.git","type":"git"},"description":"A TypesScript SDK for the 100x exchange API.","directories":{},"licenseText":"MIT License\n\nCopyright (c) 2024 Tim Dunphy\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","dependencies":{"pino":"^8.19.0","viem":"^2.9.9","pino-pretty":"^11.0.0"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.7.2","tsup":"^8.0.2","husky":"^9.0.11","eslint":"^8.57.0","vitest":"^1.4.0","ts-node":"^10.9.2","prettier":"^3.2.5","typescript":"^5.4.3","@types/node":"^18.19.29","lint-staged":"^15.2.2","markdownlint-cli":"^0.39.0","typescript-eslint":"^7.5.0","vitest-fetch-mock":"^0.2.2","@vitest/coverage-v8":"^1.4.0","eslint-plugin-jsdoc":"^48.2.3","@stryker-mutator/api":"^8.2.6","eslint-plugin-import":"^2.29.1","@stryker-mutator/core":"^8.2.6","eslint-config-prettier":"^9.1.0","@typescript-eslint/parser":"^7.5.0","eslint-plugin-unused-imports":"^3.1.0","@stryker-mutator/vitest-runner":"^8.2.6","@typescript-eslint/eslint-plugin":"^7.5.0","eslint-import-resolver-typescript":"^3.6.1","@stryker-mutator/typescript-checker":"^8.2.6"},"_npmOperationalInternal":{"tmp":"tmp/100x-client_1.0.3_1713970032862_0.18487978892257173","host":"s3://npm-registry-packages"}},"1.1.0":{"name":"100x-client","version":"1.1.0","keywords":["100x","api","crypto","cryptocurrency","dex","exchange","EVM","orderbook","perps","rest","trading"],"author":{"url":"https://100x.finance/","name":"Tim Dunphy","email":"tim@rysk.finance"},"license":"MIT","_id":"100x-client@1.1.0","maintainers":[{"name":"meanboycousin","email":"timothy.dunphy@gmail.com"}],"contributors":[{"name":"Tim Dunphy","email":"tim@rysk.finance"}],"homepage":"https://100x.finance/","bugs":{"url":"https://github.com/MeanBoyCousin/100xClient/issues"},"dist":{"shasum":"3f6eb7c1438b230e88dd194c2959d5b485cd822a","tarball":"https://registry.npmjs.org/100x-client/-/100x-client-1.1.0.tgz","fileCount":10,"integrity":"sha512-EGpGkRGNI71KaJZj7FACZs/k6v52XO3D79jNb1ZjdA5Fw0zc/To2Oq3pEMZKZHD8vZBu2G93LvYwAVVXtf7J3Q==","signatures":[{"sig":"MEUCIDmJSalONauFexWG5xLIZrizLpQh04RXf94HgLVlYYOoAiEA+6mf4ms1JTp12pRRVNVUPFw+hbYBX5H9ncBueQntXes=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":74927},"main":"./lib/index.js","type":"module","types":"./lib/index.d.ts","module":"./lib/index.js","engines":{"node":">=16.0.0"},"exports":{".":{"types":"./lib/index.d.ts","import":"./lib/index.js"},"./enums":{"types":"./lib/enums.d.ts","import":"./lib/enums.js"},"./package.json":"./package.json"},"_npmUser":{"name":"meanboycousin","email":"timothy.dunphy@gmail.com"},"repository":{"url":"https://github.com/MeanBoyCousin/100xClient.git","type":"git"},"description":"A TypesScript SDK for the 100x exchange API.","directories":{},"licenseText":"MIT License\n\nCopyright (c) 2024 Tim Dunphy\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","dependencies":{"pino":"^8.19.0","viem":"^2.9.9","pino-pretty":"^11.0.0"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/100x-client_1.1.0_1716908488370_0.6644934528627926","host":"s3://npm-registry-packages"},"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."},"1.1.1":{"name":"100x-client","version":"1.1.1","keywords":["100x","api","crypto","cryptocurrency","dex","exchange","EVM","orderbook","perps","rest","trading"],"author":{"url":"https://100x.finance/","name":"Tim Dunphy","email":"tim@rysk.finance"},"license":"MIT","_id":"100x-client@1.1.1","maintainers":[{"name":"meanboycousin","email":"timothy.dunphy@gmail.com"}],"contributors":[{"name":"Tim Dunphy","email":"tim@rysk.finance"}],"homepage":"https://100x.finance/","bugs":{"url":"https://github.com/MeanBoyCousin/100xClient/issues"},"dist":{"shasum":"2edae120bacc01f972a6a153aa53e699669d2845","tarball":"https://registry.npmjs.org/100x-client/-/100x-client-1.1.1.tgz","fileCount":10,"integrity":"sha512-m7p+twrfQdvOPxeI9+48ejnhDQwDeveSzxQtQ01vlcdv9ZEqIwgynBIqsRMtplYzt5aU+REL42AdKDJgyncMzw==","signatures":[{"sig":"MEUCIQC1JPUEaBXJ5v4SNL1yUWR1DmACKlIixWSU68MU3rZsuQIgexvEWyw5Qp4RS5JOTCBWdMpgyyESEzKZ1v5tciO7djc=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":76131},"main":"./lib/index.js","type":"module","types":"./lib/index.d.ts","module":"./lib/index.js","engines":{"node":">=16.0.0"},"exports":{".":{"types":"./lib/index.d.ts","import":"./lib/index.js"},"./enums":{"types":"./lib/enums.d.ts","import":"./lib/enums.js"},"./package.json":"./package.json"},"_npmUser":{"name":"meanboycousin","email":"timothy.dunphy@gmail.com"},"repository":{"url":"https://github.com/MeanBoyCousin/100xClient.git","type":"git"},"description":"A TypesScript SDK for the 100x exchange API.","directories":{},"licenseText":"MIT License\n\nCopyright (c) 2024 Tim Dunphy\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","dependencies":{"pino":"^8.19.0","viem":"^2.9.9","pino-pretty":"^11.0.0"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/100x-client_1.1.1_1718110980472_0.906976781893394","host":"s3://npm-registry-packages"},"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."},"1.2.0":{"name":"100x-client","version":"1.2.0","keywords":["100x","api","crypto","cryptocurrency","dex","exchange","EVM","orderbook","perps","rest","trading"],"author":{"url":"https://100x.finance/","name":"Tim Dunphy","email":"tim@rysk.finance"},"license":"MIT","_id":"100x-client@1.2.0","contributors":[{"name":"Tim Dunphy","email":"tim@rysk.finance"}],"homepage":"https://100x.finance/","bugs":{"url":"https://github.com/MeanBoyCousin/100xClient/issues"},"dist":{"shasum":"56bac4ea4734f8a13f80184278b1be48b6f66533","tarball":"https://registry.npmjs.org/100x-client/-/100x-client-1.2.0.tgz","fileCount":10,"integrity":"sha512-+cWSx7okSMoSJXRPMuw4qJnuXDymtjhQjiVjJITz4u4Geq2sPXUmjn/DJgmiYm8alUmeJSpGhUvZAIHsWEq1Sg==","signatures":[{"sig":"MEUCIBA4gs5mSLZry4DFbeDdlm7771Snk6MfqbhVNj9A6Vu+AiEA3l0xcLjr39w1oGqCOL4TtdRkyGFfMD+j1fhq2BzWmjU=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":77804},"main":"./lib/index.js","type":"module","types":"./lib/index.d.ts","module":"./lib/index.js","engines":{"node":">=16.0.0"},"exports":{".":{"types":"./lib/index.d.ts","import":"./lib/index.js"},"./enums":{"types":"./lib/enums.d.ts","import":"./lib/enums.js"},"./package.json":"./package.json"},"_npmUser":{"name":"meanboycousin","email":"timothy.dunphy@gmail.com"},"repository":{"url":"https://github.com/MeanBoyCousin/100xClient.git","type":"git"},"description":"A TypesScript SDK for the 100x exchange API.","directories":{},"licenseText":"MIT License\n\nCopyright (c) 2024 Tim Dunphy\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","dependencies":{"pino":"^8.19.0","viem":"^2.9.9","pino-pretty":"^11.0.0"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/100x-client_1.2.0_1719398275593_0.26499473599308043","host":"s3://npm-registry-packages"},"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."}},"time":{"created":"2024-04-19T17:01:58.555Z","modified":"2024-11-14T12:33:27.154Z","1.0.0":"2024-04-19T17:01:58.745Z","1.0.1":"2024-04-19T17:17:00.281Z","1.0.2":"2024-04-22T12:10:57.202Z","1.0.3":"2024-04-24T14:47:13.046Z","1.1.0":"2024-05-28T15:01:28.503Z","1.1.1":"2024-06-11T13:03:00.681Z","1.2.0":"2024-06-26T10:37:55.733Z"},"bugs":{"url":"https://github.com/MeanBoyCousin/100xClient/issues"},"author":{"url":"https://100x.finance/","name":"Tim Dunphy","email":"tim@rysk.finance"},"license":"MIT","homepage":"https://100x.finance/","keywords":["100x","api","crypto","cryptocurrency","dex","exchange","EVM","orderbook","perps","rest","trading"],"repository":{"url":"https://github.com/MeanBoyCousin/100xClient.git","type":"git"},"description":"A TypesScript SDK for the 100x exchange API.","contributors":[{"name":"Tim Dunphy","email":"tim@rysk.finance"}],"maintainers":[{"name":"meanboycousin","email":"timothy.dunphy@gmail.com"}],"readme":"<p align=\"center\">\n  <img alt=\"100x Logo\" src=\"https://app.100x.finance/brand/100x-trade-perps.webp\" />\n</p>\n\n![Build](https://img.shields.io/github/actions/workflow/status/MeanBoyCousin/100xClient/release.yml?style=flat-square&label=Build&color=%234177f6&link=https://github.com/MeanBoyCousin/100xClient/actions/workflows/release.yml)\n![NPM Version](https://img.shields.io/npm/v/100x-client?style=flat-square&label=NPM&color=%234177f6&link=https://www.npmjs.com/package/100x-client)\n![Discord](https://img.shields.io/discord/1203621012659249192?style=flat-square&logo=discord&logoColor=%23fff&label=Discord&color=%234177f6&link=https://discord.gg/100xdex)\n\nInteract with the [100x decentralized exchange](https://100x.finance/) and trade pre-launch tokens, BTC, ETH, SOL, BLUR and other cryptocurrency perp futures with leverage. Live on [Blast](https://blast.io/en).\n\n```bash\nnpm install 100x-client\n# or\nyarn add 100x-client\n# or\npnpm add 100x-client\n# or\nbun install 100x-client\n```\n\n## Usage\n\nGetting started is a simple case of importing the Client and instantiating an instance.\n\n```ts\nimport HundredXClient from '100x-client'\n\nconst MY_PRIVATE_KEY = '0x...'\n\nconst Client = new HundredXClient(MY_PRIVATE_KEY)\n```\n\nThe client can also accept a configuration object as the second parameter.\n\n| Key          | Type                     | Default                        | Description                                                               |\n|--------------|--------------------------|--------------------------------|---------------------------------------------------------------------------|\n| debug        | `boolean`                | `false`                          | Used to enable debug mode when running the client for additional logging. |\n| environment  | `'testnet' \\| 'mainnet'` | `'testnet'`                      | Specify the environment you wish to trade in.                             |\n| rpc          | `string`                 | `Blast RPC based on environment` | Specify a custom RPC url to used.                                         |\n| subAccountId | `number`                 | `1`                              | Specify a sub-account ID to use. This can be from 1-255.                  |\n\n```ts\nimport HundredXClient from '100x-client'\n\nconst CONFIG = {\n  debug: false,\n  environment: 'testnet',\n  rpc: 'https://sepolia.blast.io',\n  subAccountId: 1,\n}\nconst MY_PRIVATE_KEY = '0x...'\n\nconst Client = new HundredXClient(MY_PRIVATE_KEY)\n```\n\n## Getting started\n\nTo get started, you will need to deposit funds and make a trade. Let's look at how we can do that now. If you're in need of testnet funds, please head over to the [100x Discord server](https://discord.gg/100xdex) where we will be happy to help.\n\n```ts\nimport HundredXClient from '100x-client'\nimport { OrderType, TimeInForce } from '100x-client/enums'\n\nconst MY_PRIVATE_KEY = '0x...'\n\nconst Client = new HundredXClient(MY_PRIVATE_KEY)\n\n// Let's deposit 1000 USDB to get started. By default deposits are in USDB.\nconst { error, success, transactionHash } = await Client.deposit(1000)\n\n// Now we can make an order. Let's go long on some ETH!\nif (success) {\n  const { error, order } = await Client.placeOrder({\n    isBuy: true,\n    orderType: OrderType.LIMIT,\n    price: 2990,\n    productId: 1002,\n    quantity: 1,\n    timeInForce: TimeInForce.GTC,\n  })\n\n  // Finally let's log out our order to check the details.\n  console.log(order)\n}\n```\n\n### Handy enums\n\nA series of useful enums can be imported from `100x-client/enums` and used to help match against responses or compose payloads.\n\n| Name         | Values                                                                                   | Description                                          |\n|--------------|------------------------------------------------------------------------------------------|------------------------------------------------------|\n| Environment  | `MAINNET \\| TESTNET`                                                                     | The environment to use when initialising the client. |\n| Interval     | `'1M' \\| '5M' \\| '15M' \\| '30M' \\| '1H' \\| '2H' \\| '4H' \\| '8H' \\| '1D' \\| '3D' \\| '1W'` | The interval to use when fetching K-line data.       |\n| MarginAssets | `USDB`                                                                                   | Symbol values of supported margin assets.            |\n| OrderStatus  | `CANCELLED \\| EXPIRED \\| FILLED \\| OPEN \\| PENDING \\| REJECTED`                          | Defines the possible states an order can be in.      |\n| OrderType    | `LIMIT \\| LIMIT_MAKER \\| MARKET`                                                         | Order types for building order payloads.             |\n| TimeInForce  | `GTC \\| FOK \\| IOC`                                                                      | Time in force values for building order payloads.    |\n\n### Further support\n\nFor more detailed information on specific endpoints, please refer to the official [100x API docs](https://100x.readme.io/reference/100x-api-introduction). Each function in this client contains detailed JSDocs on arguments and return types to aid the developer experience as well as links to their respective endpoints within the official docs.\n\n## Contributing\n\nWant to contribute? Check out that [contributing guide](https://github.com/MeanBoyCousin/100xClient/blob/master/CONTRIBUTING.md) to get started.\n\n## Support\n\nHaving troubles getting started? Feel free to join us the official [100x Discord server](https://discord.gg/100xdex) where you can get full support from the team.\n\n## License\n\nMIT License © 2024-Present [Tim Dunphy](https://github.com/MeanBoyCousin)\n","readmeFilename":"README.md"}