{"_id":"@brynjarrr/xchain-binance","_rev":"1-b3f0dcedb687fb6cae2074eddc560088","name":"@brynjarrr/xchain-binance","dist-tags":{"latest":"5.4.2"},"versions":{"5.4.2":{"name":"@brynjarrr/xchain-binance","version":"5.4.2","description":"Custom Binance client and utilities used by XChainJS clients","keywords":["BNB","Binance","XChain"],"author":{"name":"THORChain"},"homepage":"https://github.com/xchainjs/xchainjs-lib","license":"MIT","main":"lib/index.js","module":"lib/index.esm.js","typings":"lib/index.d.ts","directories":{"lib":"lib","test":"__tests__"},"repository":{"type":"git","url":"git+ssh://git@github.com/xchainjs/xchainjs-lib.git"},"scripts":{"clean":"rimraf lib/**","build":"yarn clean && rollup -c","test":"jest","compile":"tsc -p tsconfig.build.json","lint":"eslint \"{src,__tests__}/**/*.ts\" --fix --max-warnings 0","prepublishOnly":"yarn build"},"devDependencies":{"@binance-chain/javascript-sdk":"^4.2.0","@types/big.js":"^4.0.5","@xchainjs/xchain-client":"^0.11.1","@xchainjs/xchain-crypto":"^0.2.6","@xchainjs/xchain-util":"^0.5.0"},"publishConfig":{"access":"public"},"peerDependencies":{"@binance-chain/javascript-sdk":"^4.2.0","@xchainjs/xchain-client":"^0.11.1","@xchainjs/xchain-crypto":"^0.2.6","@xchainjs/xchain-util":"^0.5.0"},"gitHead":"d905991706737a0d42022157178db760b9815811","bugs":{"url":"https://github.com/xchainjs/xchainjs-lib/issues"},"_id":"@brynjarrr/xchain-binance@5.4.2","_nodeVersion":"16.5.0","_npmVersion":"lerna/3.22.1/node@v16.5.0+arm64 (darwin)","dist":{"integrity":"sha512-s4B8zqD1ylAH6Ek8SG0NM57i9IpO7yXsePPU97un5gG9j8SC8nIqKiPuR0GG4Zdyr3boNvwTl4gD/bDG+TV3mA==","shasum":"c3766d845a0c7c7752df5c6ab0368bde773c1e9d","tarball":"https://registry.npmjs.org/@brynjarrr/xchain-binance/-/xchain-binance-5.4.2.tgz","fileCount":13,"unpackedSize":78869,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiPa/UACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpSUQ/+NEdAT7NSQeggUIeg6VOw4TNn68TCU2GPBdVXON7UdRCAH9fl\r\n6wjT61WCJ+K0ji3zha5Wlemd8fTeJnBGUYjrBp/yiXdi/4Yokgh4JyGQZq0k\r\nuTTUwORRTWcZz2QR+7Y4vuzyvI/8HlvZGRNv/mV8OZ5twSUxp6n8z551UYti\r\n7isBC43+4wSjuAKkRtxyJTZ1vSvIvrNusTTk3MNcVL7ioYyz3sTGGyMDX0au\r\n/NAKcjqM7ukAQqUKS5hr98yanw2qsW+7BHJIfCU9RBdbr8wFt263ejyjzH1a\r\nYZaLIlsnqm5j3I67xGOpx84YeU9ofJGTuCiwWWSsoUkpgbmtUU6H1uV63tmd\r\nQ3BJVJX/rLeTfyICAJrjUoa0JbfhfA8CeJM6cx7QtHhKAEEiV7XWyuK8c6EB\r\niLn9WRBFVhcllyuxwb6onfQOBCwXC+2QJgP/Eug1TsPEbVQlXXWd4lCH5UfC\r\nHLIM1mjQRKoFmjY1dytUOEV/9vseifMsaHjSNeOBYofc57B5CzcV3LKyBwu7\r\nnGG9cOBnQBjSI/az7Mqgi8NdtPYkcLHIuSAXJWbTLEI2w8x9MqLPYD3VydZy\r\nxcIb5JoYN2cuNGkOk97LE/3kN/cFRlLhXSLLF53ZY4uP1PI77CWO+CvnPtvE\r\n2i8ahjwNg6YbdDCH6t2LkXoBuz14oQ8M1Es=\r\n=6tq3\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD+O5/mNHqBbxqlb5u4JmKxdBj1XgZIoydn3GJNEazxBwIgHzZk0Ok9sSLZHXBBYryog+eab2E88bHxxDyrHEdkams="}]},"_npmUser":{"name":"brynjarrr","email":"coinage_trinity_0a@icloud.com"},"maintainers":[{"name":"brynjarrr","email":"coinage_trinity_0a@icloud.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/xchain-binance_5.4.2_1648209876468_0.5533496414475219"},"_hasShrinkwrap":false}},"time":{"created":"2022-03-25T12:04:36.400Z","5.4.2":"2022-03-25T12:04:36.676Z","modified":"2022-04-04T20:50:13.839Z"},"maintainers":[{"name":"brynjarrr","email":"coinage_trinity_0a@icloud.com"}],"description":"Custom Binance client and utilities used by XChainJS clients","homepage":"https://github.com/xchainjs/xchainjs-lib","keywords":["BNB","Binance","XChain"],"repository":{"type":"git","url":"git+ssh://git@github.com/xchainjs/xchainjs-lib.git"},"author":{"name":"THORChain"},"bugs":{"url":"https://github.com/xchainjs/xchainjs-lib/issues"},"license":"MIT","readme":"# `@xchainjs/xchain-binance`\n\nBinance Module for XChainJS Clients\n\n## Modules\n\n- `client` - Custom client for communicating with Binance Chain by using [`binance-chain/javascript-sdk`](https://github.com/binance-chain/javascript-sdk)\n- `types` - TypeScript type definitions for [`binance-chain/javascript-sdk`](https://github.com/binance-chain/javascript-sdk) (not completed) and [`Binance WebSocket Streams`](https://docs.binance.org/api-reference/dex-api/ws-streams.html).\n- `util` - Utitilies for using [`binance-chain/javascript-sdk`](https://github.com/binance-chain/javascript-sdk)\n\n## Installation\n\n```\nyarn add @xchainjs/xchain-binance\n```\n\nFollowing peer dependencies have to be installed into your project. These are not included in `@xchainjs/xchain-binance`.\n\n```\nyarn add @binance-chain/javascript-sdk @xchainjs/xchain-client @xchainjs/xchain-crypto @xchainjs/xchain-util\n```\n\n## Service Providers\n\nThis package uses the following service providers:\n\n| Function                    | Service              | Notes                                                                         | Rate limits                   |\n| --------------------------- | -------------------- | ----------------------------------------------------------------------------- | ----------------------------- |\n| Balances                    | Binance Dex          | https://docs.binance.org/api-reference/dex-api/paths.html#apiv1accountaddress | 5 requests per IP per second. |\n| Transaction history         | Binance Dex          | https://docs.binance.org/api-reference/dex-api/paths.html#apiv1transactions   | 60 requests per IP per minute |\n| Transaction details by hash | Binance Dex          | https://docs.binance.org/api-reference/dex-api/paths.html#apiv1txhash         | 10 requests per IP per second |\n| Transaction fees            | Binance Dex          | https://docs.binance.org/api-reference/dex-api/paths.html#apiv1fees           | 1 request per IP per second   |\n| Transaction broadcast       | Binance Dex          | https://docs.binance.org/api-reference/dex-api/paths.html#apiv1broadcast      | 5 requests per IP per second  |\n| Explorer                    | Binance Dex Explorer | https://explorer.binance.org                                                  |                               |\n\nThis package gets the node information (`https://docs.binance.org/api-reference/dex-api/paths.html#apiv1node-info`) to transfer tokens.\n","readmeFilename":"README.md"}