{"_id":"@areitosa/trondealer-sdk","_rev":"8-1fb59c5bce3381ceb21cb830e3f047df","name":"@areitosa/trondealer-sdk","dist-tags":{"latest":"0.0.9"},"versions":{"0.0.2":{"name":"@areitosa/trondealer-sdk","version":"0.0.2","keywords":["trondealer","evm","wallet","blockchain","bsc","ethereum","polygon","arbitrum","base","usdt","usdc","webhooks","sdk","typescript"],"author":{"name":"Cesar Daniel","email":"cesardaniel.9611@gmail.com"},"license":"MIT","_id":"@areitosa/trondealer-sdk@0.0.2","maintainers":[{"name":"areitosa","email":"sanaareito@gmail.com"}],"homepage":"https://github.com/Dantescur/trondealer-sdk#readme","bugs":{"url":"https://github.com/Dantescur/trondealer-sdk/issues"},"dist":{"shasum":"7e77c7b8c400c576c268879c18dc575e840cc717","tarball":"https://registry.npmjs.org/@areitosa/trondealer-sdk/-/trondealer-sdk-0.0.2.tgz","fileCount":5,"integrity":"sha512-dO8t+5JkOD880BM3zBSDJSRdCylTDhs0TZvTvely9UTNE/bAtks7tF2Z/aK45Ge2s9ytsd4r5ZQg/N1+1K/VXA==","signatures":[{"sig":"MEUCIQD7BoNKroZb9Nhn0I0flO8+8zmr4fEY+dIkv0qqQshM8wIgdGa2nYzMVm3qb+c0MKn0nh/fbnoLnU87HpGNsfKnPe4=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":15703},"type":"module","_from":"file:areitosa-trondealer-sdk-0.0.2.tgz","types":"./dist/index.d.mts","engines":{"node":">=18.0.0"},"exports":{".":"./dist/index.mjs","./package.json":"./package.json"},"scripts":{"dev":"tsdown --watch","test":"vitest","build":"tsdown","release":"bumpp","typecheck":"tsc --noEmit"},"_npmUser":{"name":"areitosa","email":"sanaareito@gmail.com"},"_resolved":"/tmp/c3f1edd718aa528bfc86e8d413290676/areitosa-trondealer-sdk-0.0.2.tgz","_integrity":"sha512-dO8t+5JkOD880BM3zBSDJSRdCylTDhs0TZvTvely9UTNE/bAtks7tF2Z/aK45Ge2s9ytsd4r5ZQg/N1+1K/VXA==","repository":{"url":"git+https://github.com/Dantescur/trondealer-sdk.git","type":"git"},"_npmVersion":"11.12.1","description":"TypeScript SDK for Tron Dealer V2 API - EVM wallet management across BSC, Ethereum, Polygon, Arbitrum, and Base","directories":{},"_nodeVersion":"24.15.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"bumpp":"^11.0.1","tsdown":"^0.21.7","vitest":"^4.1.2","typescript":"^6.0.2","@types/node":"^25.5.0","@typescript/native-preview":"7.0.0-dev.20260328.1"},"_npmOperationalInternal":{"tmp":"tmp/trondealer-sdk_0.0.2_1777516519219_0.9064787566633836","host":"s3://npm-registry-packages-npm-production"}},"0.0.3":{"name":"@areitosa/trondealer-sdk","version":"0.0.3","keywords":["trondealer","evm","wallet","blockchain","bsc","ethereum","polygon","arbitrum","base","usdt","usdc","webhooks","sdk","typescript"],"author":{"name":"Cesar Daniel","email":"cesardaniel.9611@gmail.com"},"license":"MIT","_id":"@areitosa/trondealer-sdk@0.0.3","maintainers":[{"name":"areitosa","email":"sanaareito@gmail.com"}],"homepage":"https://github.com/Dantescur/trondealer-sdk#readme","bugs":{"url":"https://github.com/Dantescur/trondealer-sdk/issues"},"dist":{"shasum":"1f92d7bc2b986654a2e49f933dfce719463d6179","tarball":"https://registry.npmjs.org/@areitosa/trondealer-sdk/-/trondealer-sdk-0.0.3.tgz","fileCount":5,"integrity":"sha512-+LajlMnSJB7Fwo9WSI5YEP+UIe33SnESjf58ZmrXEhM5aelJCVBh/sB5Grql8FsIU+VJGc8VVPJkaN7bpc9XwQ==","signatures":[{"sig":"MEUCIE+v1vidOOaSHObRG/vbvTOqUZdSxvQ+UiLw1JjYdUNJAiEAsmiWApNzP+j3jpnWLe/4cHtfr2QoxSu8mAouenAz7mI=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@areitosa%2ftrondealer-sdk@0.0.3","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":15813},"type":"module","types":"./dist/index.d.mts","engines":{"node":">=18.0.0"},"exports":{".":"./dist/index.mjs","./package.json":"./package.json"},"gitHead":"546938c4aac729a363039b5fdd57db698943e4d9","scripts":{"dev":"tsdown --watch","test":"vitest","build":"tsdown","release":"bumpp","typecheck":"tsc --noEmit","prepublishOnly":"pnpm run build"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:aa9f3ab4-54d1-44b7-96fe-af7ca1259dd6"}},"repository":{"url":"git+https://github.com/Dantescur/trondealer-sdk.git","type":"git"},"_npmVersion":"11.11.0","description":"TypeScript SDK for Tron Dealer V2 API - EVM wallet management across BSC, Ethereum, Polygon, Arbitrum, and Base","directories":{},"_nodeVersion":"24.14.1","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"bumpp":"^11.0.1","tsdown":"^0.21.7","vitest":"^4.1.2","typescript":"^6.0.2","@types/node":"^25.5.0","@typescript/native-preview":"7.0.0-dev.20260328.1"},"_npmOperationalInternal":{"tmp":"tmp/trondealer-sdk_0.0.3_1777519458283_0.5564353051657658","host":"s3://npm-registry-packages-npm-production"}},"0.0.4":{"name":"@areitosa/trondealer-sdk","version":"0.0.4","keywords":["trondealer","evm","wallet","blockchain","bsc","ethereum","polygon","arbitrum","base","usdt","usdc","webhooks","sdk","typescript"],"author":{"name":"Cesar Daniel","email":"cesardaniel.9611@gmail.com"},"license":"MIT","_id":"@areitosa/trondealer-sdk@0.0.4","maintainers":[{"name":"areitosa","email":"sanaareito@gmail.com"}],"homepage":"https://github.com/Dantescur/trondealer-sdk#readme","bugs":{"url":"https://github.com/Dantescur/trondealer-sdk/issues"},"dist":{"shasum":"c7b59cd186cd476ebf34225e50348503ccb7ccb5","tarball":"https://registry.npmjs.org/@areitosa/trondealer-sdk/-/trondealer-sdk-0.0.4.tgz","fileCount":5,"integrity":"sha512-dPEsiakNRvsmxk5MFixn40qnUVcMRsj3CAki+H9xF1l+uPUBz6ICym7OU2Xsym/fNv1FTOnnNnSzNRaAkdMSVQ==","signatures":[{"sig":"MEQCIC6UNegaLBiubqCGWUDm5u4HR/3ecnz9qZ7GRjJNBr0IAiBuphc1CeEWNKhfplpPdI2VwJzSK1oGydh6GXUEpYkjmw==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@areitosa%2ftrondealer-sdk@0.0.4","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":17005},"type":"module","types":"./dist/index.d.mts","engines":{"node":">=18.0.0"},"exports":{".":"./dist/index.mjs","./package.json":"./package.json"},"gitHead":"0aa70f1a4757c8db22f6026aecd2786fa3fd3a8e","scripts":{"dev":"tsdown --watch","test":"vitest","build":"tsdown","release":"bumpp","typecheck":"tsc --noEmit","prepublishOnly":"pnpm run build"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:aa9f3ab4-54d1-44b7-96fe-af7ca1259dd6"}},"repository":{"url":"git+https://github.com/Dantescur/trondealer-sdk.git","type":"git"},"_npmVersion":"11.11.0","description":"TypeScript SDK for Tron Dealer V2 API - EVM wallet management across BSC, Ethereum, Polygon, Arbitrum, and Base","directories":{},"_nodeVersion":"24.14.1","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"bumpp":"^11.0.1","tsdown":"^0.21.7","vitest":"^4.1.2","typescript":"^6.0.2","@types/node":"^25.5.0","@typescript/native-preview":"7.0.0-dev.20260328.1"},"_npmOperationalInternal":{"tmp":"tmp/trondealer-sdk_0.0.4_1777559876877_0.13676050916050286","host":"s3://npm-registry-packages-npm-production"}},"0.0.5":{"name":"@areitosa/trondealer-sdk","version":"0.0.5","keywords":["trondealer","evm","wallet","blockchain","bsc","ethereum","polygon","arbitrum","base","usdt","usdc","webhooks","sdk","typescript"],"author":{"name":"Cesar Daniel","email":"cesardaniel.9611@gmail.com"},"license":"MIT","_id":"@areitosa/trondealer-sdk@0.0.5","maintainers":[{"name":"areitosa","email":"sanaareito@gmail.com"}],"homepage":"https://github.com/Dantescur/trondealer-sdk#readme","bugs":{"url":"https://github.com/Dantescur/trondealer-sdk/issues"},"dist":{"shasum":"856868483a1625b32ffada1fc2609e29407c733e","tarball":"https://registry.npmjs.org/@areitosa/trondealer-sdk/-/trondealer-sdk-0.0.5.tgz","fileCount":5,"integrity":"sha512-mYkytRxuJX5diAxbosFcI1DtFjYGVbs79iakKyhlVy0GD3SptAi1miOYLO6j1n3qy8+NFUMdeRnwucVFdfc1cA==","signatures":[{"sig":"MEUCICyBV67NTLqKFmk9uGtF3IUITK55LrUqjeb9CqoaLlcgAiEAy1yJa4napA1Y/px0LfQk7oG1xKW0McgGumutCHEpvyk=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@areitosa%2ftrondealer-sdk@0.0.5","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":19270},"type":"module","types":"./dist/index.d.mts","engines":{"node":">=18.0.0"},"exports":{".":"./dist/index.mjs","./package.json":"./package.json"},"gitHead":"0dd7110235ba1c0f3ea3292df4f2058b308c16a5","scripts":{"dev":"tsdown --watch","test":"vitest","build":"tsdown","release":"bumpp","typecheck":"tsc --noEmit","prepublishOnly":"pnpm run build"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:aa9f3ab4-54d1-44b7-96fe-af7ca1259dd6"}},"repository":{"url":"git+https://github.com/Dantescur/trondealer-sdk.git","type":"git"},"_npmVersion":"11.11.0","description":"TypeScript SDK for Tron Dealer V2 API - EVM wallet management across BSC, Ethereum, Polygon, Arbitrum, and Base","directories":{},"_nodeVersion":"24.14.1","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"bumpp":"^11.0.1","tsdown":"^0.21.7","vitest":"^4.1.2","typescript":"^6.0.2","@types/node":"^25.5.0","@typescript/native-preview":"7.0.0-dev.20260328.1"},"_npmOperationalInternal":{"tmp":"tmp/trondealer-sdk_0.0.5_1777658338633_0.776729357339478","host":"s3://npm-registry-packages-npm-production"}},"0.0.6":{"name":"@areitosa/trondealer-sdk","version":"0.0.6","keywords":["arbitrum","base","blockchain","bsc","ethereum","evm","polygon","sdk","trondealer","typescript","usdc","usdt","wallet","webhooks"],"author":{"name":"Cesar Daniel","email":"cesardaniel.9611@gmail.com"},"license":"MIT","_id":"@areitosa/trondealer-sdk@0.0.6","maintainers":[{"name":"areitosa","email":"sanaareito@gmail.com"}],"homepage":"https://github.com/Dantescur/trondealer-sdk#readme","bugs":{"url":"https://github.com/Dantescur/trondealer-sdk/issues"},"dist":{"shasum":"cd4025010f3a03bfc441bab9caa466e11d03b98c","tarball":"https://registry.npmjs.org/@areitosa/trondealer-sdk/-/trondealer-sdk-0.0.6.tgz","fileCount":5,"integrity":"sha512-mMjWXjbgy5XwtGtuLabxBel2wMuAn00f8LPIWfAwCGl6uK5gtwIWyJ5KC0rKmojO6pMJpkRtw8ZYDc5qbfVXwQ==","signatures":[{"sig":"MEUCIQDk6REAhTcUiGfMuI4dX/Q4W99Fulwo86QNC0/o9VYrswIgadThipy/4Jzd7x77PPmkibdLzy99dVFHFhc5xMbZHf4=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@areitosa%2ftrondealer-sdk@0.0.6","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":20507},"type":"module","types":"./dist/index.d.mts","engines":{"node":">=18.0.0"},"exports":{".":"./dist/index.mjs","./package.json":"./package.json"},"gitHead":"3694e4037d7f42a840ee6723c516d7081afeb3e3","scripts":{"dev":"tsdown --watch","fmt":"oxfmt","lint":"oxlint","test":"vitest","build":"tsdown","prepare":"husky","release":"bumpp","lint:fix":"oxlint --fix","fmt:check":"oxfmt --check","typecheck":"tsc --noEmit","prepublishOnly":"pnpm run build"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:aa9f3ab4-54d1-44b7-96fe-af7ca1259dd6"}},"repository":{"url":"git+https://github.com/Dantescur/trondealer-sdk.git","type":"git"},"_npmVersion":"11.11.0","description":"TypeScript SDK for Tron Dealer V2 API - EVM wallet management across BSC, Ethereum, Polygon, Arbitrum, and Base","directories":{},"lint-staged":{"*":"oxfmt --no-error-on-unmatched-pattern","*.{js,jsx,ts,tsx,mjs,cjs}":"pnpm run lint:fix"},"_nodeVersion":"24.14.1","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"bumpp":"^11.0.1","husky":"^9.1.7","oxfmt":"^0.45.0","oxlint":"^1.60.0","tsdown":"^0.21.7","vitest":"^4.1.2","publint":"^0.3.18","typescript":"^6.0.2","@types/node":"^25.5.0","lint-staged":"^16.4.0","oxlint-tsgolint":"^0.21.1","@typescript/native-preview":"7.0.0-dev.20260328.1"},"_npmOperationalInternal":{"tmp":"tmp/trondealer-sdk_0.0.6_1778049743685_0.7495204770471635","host":"s3://npm-registry-packages-npm-production"}},"0.0.7":{"name":"@areitosa/trondealer-sdk","version":"0.0.7","keywords":["arbitrum","base","blockchain","bsc","ethereum","evm","polygon","sdk","trondealer","typescript","usdc","usdt","wallet","webhooks"],"author":{"name":"Cesar Daniel","email":"cesardaniel.9611@gmail.com"},"license":"MIT","_id":"@areitosa/trondealer-sdk@0.0.7","maintainers":[{"name":"areitosa","email":"sanaareito@gmail.com"}],"homepage":"https://github.com/Dantescur/trondealer-sdk#readme","bugs":{"url":"https://github.com/Dantescur/trondealer-sdk/issues"},"dist":{"shasum":"3e6d51db8eed165d32c47023bc2676c159e3de27","tarball":"https://registry.npmjs.org/@areitosa/trondealer-sdk/-/trondealer-sdk-0.0.7.tgz","fileCount":6,"integrity":"sha512-uQz6wOh9txvNb5LRjqV2U6c7UJo8XQe0vurUaGUMSGYCdJGH5eA+c6Z5N+2UHrpXJPBQ/Vee6hczC7JMxG7kBA==","signatures":[{"sig":"MEUCIFSvFgQn+BDWrfCO2B+j5XyFv9vUjzm67UQlWAXlxGHiAiEAwxPTrpNw35h3dVlXJtXcOrn/XlRkIxfuFyNnJIDSlJk=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@areitosa%2ftrondealer-sdk@0.0.7","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":29840},"type":"module","types":"./dist/index.d.mts","engines":{"node":">=18.0.0"},"exports":{".":"./dist/index.mjs","./package.json":"./package.json"},"gitHead":"43d96083056d758ab12255df47ebfd0ef768b85a","scripts":{"dev":"tsdown --watch","fmt":"oxfmt","lint":"oxlint","test":"vitest","build":"tsdown","prepare":"husky","release":"bumpp","lint:fix":"oxlint --fix","changelog":"changelogithub --output CHANGELOG.md","fmt:check":"oxfmt --check","typecheck":"tsc --noEmit","prepublishOnly":"pnpm run build"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:aa9f3ab4-54d1-44b7-96fe-af7ca1259dd6"}},"repository":{"url":"git+https://github.com/Dantescur/trondealer-sdk.git","type":"git"},"_npmVersion":"11.12.1","description":"TypeScript SDK for Tron Dealer V2 API - EVM wallet management across BSC, Ethereum, Polygon, Arbitrum, and Base","directories":{},"lint-staged":{"*":"oxfmt --no-error-on-unmatched-pattern","*.{js,jsx,ts,tsx,mjs,cjs}":"pnpm run lint:fix"},"_nodeVersion":"24.15.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"bumpp":"^11.0.1","husky":"^9.1.7","oxfmt":"^0.45.0","oxlint":"^1.60.0","tsdown":"^0.21.7","vitest":"^4.1.2","publint":"^0.3.18","typescript":"^6.0.2","@types/node":"^25.5.0","lint-staged":"^16.4.0","changelogithub":"^14.0.0","oxlint-tsgolint":"^0.21.1","@typescript/native-preview":"7.0.0-dev.20260328.1"},"_npmOperationalInternal":{"tmp":"tmp/trondealer-sdk_0.0.7_1778907515803_0.3632451022842753","host":"s3://npm-registry-packages-npm-production"}},"0.0.8":{"name":"@areitosa/trondealer-sdk","version":"0.0.8","keywords":["arbitrum","base","blockchain","bsc","ethereum","evm","polygon","sdk","trondealer","typescript","usdc","usdt","wallet","webhooks"],"author":{"name":"Cesar Daniel","email":"cesardaniel.9611@gmail.com"},"license":"MIT","_id":"@areitosa/trondealer-sdk@0.0.8","maintainers":[{"name":"areitosa","email":"sanaareito@gmail.com"}],"homepage":"https://github.com/Dantescur/trondealer-sdk#readme","bugs":{"url":"https://github.com/Dantescur/trondealer-sdk/issues"},"dist":{"shasum":"16bec69c306db72048f421dd6f61add60a3fb12a","tarball":"https://registry.npmjs.org/@areitosa/trondealer-sdk/-/trondealer-sdk-0.0.8.tgz","fileCount":6,"integrity":"sha512-O4SA3IL28OwOY8ZQNLFiHsTScU8tTkQgyjtjzgk6/mOXt0M3virE19H7zluXXKqt2I/pjwRZJaiA4t+mw5R7YA==","signatures":[{"sig":"MEQCIEg3vs+IGxbIwRmESqtHdKYkmiUEMIH8iBdxYfjgtbHkAiAryk9N5tWl9MVOzsSu0FKhPbSJQL2vDTLYxe5oOKyHSA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@areitosa%2ftrondealer-sdk@0.0.8","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":35971},"type":"module","types":"./dist/index.d.mts","engines":{"node":">=18.0.0"},"exports":{".":"./dist/index.mjs","./package.json":"./package.json"},"gitHead":"aad45d0a554df7bd8b6d8b7ed281b33b709d3bfb","scripts":{"dev":"tsdown --watch","fmt":"oxfmt","lint":"oxlint","test":"vitest","build":"tsdown","prepare":"husky","release":"bumpp","lint:fix":"oxlint --fix","changelog":"changelogithub --output CHANGELOG.md","fmt:check":"oxfmt --check","typecheck":"tsc --noEmit","prepublishOnly":"pnpm run build"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:aa9f3ab4-54d1-44b7-96fe-af7ca1259dd6"}},"repository":{"url":"git+https://github.com/Dantescur/trondealer-sdk.git","type":"git"},"_npmVersion":"11.12.1","description":"TypeScript SDK for Tron Dealer V2 API - EVM wallet management across BSC, Ethereum, Polygon, Arbitrum, and Base","directories":{},"lint-staged":{"*":"oxfmt --no-error-on-unmatched-pattern","*.{js,jsx,ts,tsx,mjs,cjs}":"pnpm run lint:fix"},"_nodeVersion":"24.15.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"bumpp":"^11.0.1","husky":"^9.1.7","oxfmt":"^0.45.0","oxlint":"^1.60.0","tsdown":"^0.21.7","vitest":"^4.1.2","publint":"^0.3.18","typescript":"^6.0.2","@types/node":"^25.5.0","lint-staged":"^16.4.0","changelogithub":"^14.0.0","oxlint-tsgolint":"^0.21.1","@typescript/native-preview":"7.0.0-dev.20260328.1"},"_npmOperationalInternal":{"tmp":"tmp/trondealer-sdk_0.0.8_1779157024040_0.24882318187529484","host":"s3://npm-registry-packages-npm-production"}},"0.0.9":{"name":"@areitosa/trondealer-sdk","version":"0.0.9","description":"TypeScript SDK for Tron Dealer V2 API - wallet management across EVM, TRON, Solana, and SUI","keywords":["arbitrum","base","blockchain","bsc","ethereum","evm","polygon","sdk","trondealer","typescript","usdc","usdt","wallet","webhooks"],"homepage":"https://github.com/Dantescur/trondealer-sdk#readme","bugs":{"url":"https://github.com/Dantescur/trondealer-sdk/issues"},"license":"MIT","author":{"name":"Cesar Daniel","email":"cesardaniel.9611@gmail.com"},"repository":{"type":"git","url":"git+https://github.com/Dantescur/trondealer-sdk.git"},"type":"module","types":"./dist/index.d.mts","exports":{".":"./dist/index.mjs","./package.json":"./package.json"},"publishConfig":{"access":"public"},"scripts":{"build":"tsdown","dev":"tsdown --watch","test":"vitest","typecheck":"tsc --noEmit","changelog":"changelogithub --output CHANGELOG.md","release":"bumpp","prepublishOnly":"pnpm run build","lint":"oxlint","lint:fix":"oxlint --fix","prepare":"husky","fmt":"oxfmt","fmt:check":"oxfmt --check"},"devDependencies":{"@types/node":"^25.5.0","@typescript/native-preview":"7.0.0-dev.20260328.1","bumpp":"^11.0.1","changelogithub":"^14.0.0","husky":"^9.1.7","lint-staged":"^16.4.0","oxfmt":"^0.45.0","oxlint":"^1.60.0","oxlint-tsgolint":"^0.21.1","publint":"^0.3.18","tsdown":"^0.21.7","typescript":"^6.0.2","vitest":"^4.1.2"},"lint-staged":{"*.{js,jsx,ts,tsx,mjs,cjs}":"pnpm run lint:fix","*":"oxfmt --no-error-on-unmatched-pattern"},"engines":{"node":">=18.0.0"},"gitHead":"30603279dd545670db820c21801c902d577d2b54","_id":"@areitosa/trondealer-sdk@0.0.9","_nodeVersion":"24.16.0","_npmVersion":"11.13.0","dist":{"integrity":"sha512-XA7ynn9g+q+tseN/Wl8l/vgYUzLxOBFUzEqp77an/y6G6OLTIbzI//oaxBCPlXKhPWOazOy6U3iCrchQ/gECxg==","shasum":"f69e90505fccc20b20263731e35d8b2c28f9ac63","tarball":"https://registry.npmjs.org/@areitosa/trondealer-sdk/-/trondealer-sdk-0.0.9.tgz","fileCount":6,"unpackedSize":40265,"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@areitosa%2ftrondealer-sdk@0.0.9","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIBFLTwNThDDrXMexddOHCc0D8vnL+pHnektX15LMnOZHAiEAvMiBWlrdwFXY7iM5YSvcdGfbAXkb47FzFiPFUdJw94M="}]},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:aa9f3ab4-54d1-44b7-96fe-af7ca1259dd6"}},"directories":{},"maintainers":[{"name":"areitosa","email":"sanaareito@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/trondealer-sdk_0.0.9_1780337948776_0.3103279206155569"},"_hasShrinkwrap":false}},"time":{"created":"2026-04-30T02:35:19.110Z","modified":"2026-06-01T18:19:09.195Z","0.0.2":"2026-04-30T02:35:19.360Z","0.0.3":"2026-04-30T03:24:18.427Z","0.0.4":"2026-04-30T14:37:57.017Z","0.0.5":"2026-05-01T17:58:58.820Z","0.0.6":"2026-05-06T06:42:23.889Z","0.0.7":"2026-05-16T04:58:35.989Z","0.0.8":"2026-05-19T02:17:04.181Z","0.0.9":"2026-06-01T18:19:08.918Z"},"bugs":{"url":"https://github.com/Dantescur/trondealer-sdk/issues"},"author":{"name":"Cesar Daniel","email":"cesardaniel.9611@gmail.com"},"license":"MIT","homepage":"https://github.com/Dantescur/trondealer-sdk#readme","keywords":["arbitrum","base","blockchain","bsc","ethereum","evm","polygon","sdk","trondealer","typescript","usdc","usdt","wallet","webhooks"],"repository":{"type":"git","url":"git+https://github.com/Dantescur/trondealer-sdk.git"},"description":"TypeScript SDK for Tron Dealer V2 API - wallet management across EVM, TRON, Solana, and SUI","maintainers":[{"name":"areitosa","email":"sanaareito@gmail.com"}],"readme":"# Tron Dealer V2 SDK\n\n> **Disclaimer:** This SDK is an independent, community-maintained project and is not officially affiliated with, endorsed by, or coordinated with the Tron Dealer team. The Tron Dealer API is under active development — this SDK may lag behind the latest API changes. Always refer to the [official API documentation](https://trondealer.com/en/docs) for the most up-to-date specification.\n\nTypeScript SDK for the [Tron Dealer V2 API](https://trondealer.com). Provides type-safe access to wallet management across EVM networks (BSC, Ethereum, Polygon, Arbitrum, Base, Optimism, Avalanche), TRON (USDT TRC20), Solana (USDT-SPL, USDC-SPL), and SUI (USDC native).\n\n## Installation\n\n```bash\nnpm install @areitosa/trondealer-sdk\npnpm add @areitosa/trondealer-sdk\nyarn add @areitosa/trondealer-sdk\n```\n\n## Requirements\n\n- Node.js 18 or higher\n- TypeScript 5.0 or higher (for type checking)\n- A Tron Dealer API key (obtained after client registration)\n\n## Quick Start\n\n### Initialize the Client\n\n```typescript\nimport { TronDealer } from \"@areitosa/trondealer-sdk\";\n\n// Public endpoints (no API key required)\nconst publicClient = new TronDealer();\n\n// Authenticated requests (after registration)\nconst client = new TronDealer({\n  apiKey: \"td_your_api_key_here\",\n  baseUrl: \"https://trondealer.com\",\n  timeout: 15000, // default: 10000ms\n});\n```\n\n### Register a New Client\n\n```typescript\nconst registered = await publicClient.clients.register({\n  name: \"My Business\",\n  webhook_url: \"https://myapp.com/webhooks/trondealer\",\n  webhook_secret: \"your_webhook_secret\",\n  min_confirmations: 12,\n  payout_method: \"wallet\",\n  sweep_wallet_evm: \"0xYourEVMAddressHere\",\n  sweep_wallet_tron: \"TCsHYKC27np7cGAxJEq55DnsGysejpFF11\",\n});\n\nconsole.log(\"API Key:\", registered.client.api_key);\n```\n\n### List Supported Networks\n\n```typescript\nconst networks = await publicClient.networks.list();\nconsole.log(networks.networks.map((n) => n.label));\n// [\"BSC\", \"Ethereum\", \"Polygon\", \"Arbitrum\", \"Base\", \"Optimism\", \"Avalanche\", \"TRON\", \"Solana\", \"SUI\"]\n```\n\n### EVM Wallets\n\n```typescript\n// Assign a wallet\nconst evmWallet = await client.wallets.assign({\n  label: \"user-12345\",\n  single_use: true, // auto-deactivate after first sweep\n});\nconsole.log(\"Address:\", evmWallet.wallet.address);\nconsole.log(\"Single-use:\", evmWallet.wallet.single_use);\n\n// Check balance\nconst balance = await client.wallets.balance({\n  address: evmWallet.wallet.address,\n});\nconsole.log(\"Native:\", balance.balances.NativeToken);\nconsole.log(\"USDT:\", balance.balances.USDT);\nconsole.log(\"USDC:\", balance.balances.USDC);\n\n// Transaction history\nconst txs = await client.wallets.transactions({\n  address: evmWallet.wallet.address,\n  limit: 25,\n  offset: 0,\n  status: \"confirmed\",\n});\nconsole.log(`Found ${txs.total} transactions`);\n```\n\n### TRON Wallets\n\n```typescript\n// Assign a TRON wallet\nconst tronWallet = await client.tron.assign({ label: \"user-12345\" });\nconsole.log(\"Address:\", tronWallet.wallet.address);\nconsole.log(\"Activated:\", tronWallet.wallet.activated);\n\n// Check TRX/USDT balances\nconst tronBalance = await client.tron.balance({\n  address: tronWallet.wallet.address,\n});\nconsole.log(\"TRX:\", tronBalance.balances.TRX.formatted);\nconsole.log(\"USDT:\", tronBalance.balances.USDT.formatted);\nconsole.log(\"Activated:\", tronBalance.activated);\n\n// Transaction history (address optional — omit for all client wallets)\nconst tronTxs = await client.tron.transactions({\n  address: tronWallet.wallet.address,\n  limit: 20,\n});\n```\n\n### Solana Wallets\n\n```typescript\n// Assign a Solana wallet\nconst solWallet = await client.sol.assign({ label: \"user-12345\" });\n\n// Check SOL/USDT/USDC balances\nconst solBalance = await client.sol.balance({\n  address: solWallet.wallet.address,\n});\nconsole.log(\"SOL:\", solBalance.balances.SOL.formatted);\nconsole.log(\"USDT:\", solBalance.balances.USDT.formatted);\nconsole.log(\"USDC:\", solBalance.balances.USDC.formatted);\n\n// Transaction history\nconst solTxs = await client.sol.transactions({\n  address: solWallet.wallet.address,\n  limit: 20,\n});\n```\n\n### Manage Client Configuration\n\n```typescript\nconst configResponse = await client.clients.me();\nconsole.log(\"Webhook configured:\", configResponse.client.has_webhook_secret);\n\nconst updatedResponse = await client.clients.update({\n  webhook_url: \"https://new-endpoint.com/webhook\",\n  min_confirmations: 20,\n});\n```\n\n### SUI Wallets\n\n```typescript\n// Assign a SUI wallet\nconst suiWallet = await client.sui.assign({ label: \"user-12345\" });\n\n// Check SUI/USDC balances\nconst suiBalance = await client.sui.balance({\n  address: suiWallet.wallet.address,\n});\nconsole.log(\"SUI:\", suiBalance.balances.SUI.formatted);\nconsole.log(\"USDC:\", suiBalance.balances.USDC.formatted);\n\n// Transaction history\nconst suiTxs = await client.sui.transactions({\n  address: suiWallet.wallet.address,\n  limit: 20,\n});\n```\n\n## Cross-Chain Swap\n\nAnonymous cross-chain stablecoin swap (`/api/v2/swap/*`). No authentication — per-IP rate limits only.\n\n```typescript\n// List enabled pairs\nconst pairs = await client.swap.pairs();\n\n// Quote a swap\nconst quote = await client.swap.quote({\n  asset_in: \"USDT\",\n  chain_in: \"bsc\",\n  asset_out: \"USDC\",\n  chain_out: \"pol\",\n  amount_in: 100,\n});\n\n// Create a swap from a quote\nconst { swap } = await client.swap.create({\n  quote_id: quote.quote.id,\n  payout_address: \"0xYourPayoutAddress\",\n});\n\nconsole.log(\"Deposit to:\", swap.deposit_address);\n```\n\n### Streaming Swap Status (SSE)\n\nThe SDK provides `swap.stream(id)` which returns an `EventSource` connected to the SSE endpoint. Use it for real-time updates:\n\n```typescript\nconst source = client.swap.stream(swapId);\nsource.addEventListener(\"snapshot\", (event) => {\n  const data = JSON.parse(event.data);\n  console.log(\"Swap state:\", data);\n});\nsource.addEventListener(\"terminal\", () => {\n  console.log(\"Swap reached terminal state\");\n  source.close();\n});\n```\n\n### Polling Swap Status\n\nUse `swap.get(id)` for reliable polling fallback when SSE is unavailable:\n\n```typescript\nlet s = (await client.swap.get(swapId)).swap;\nwhile (\n  s.status === \"waiting_deposit\" ||\n  s.status === \"deposit_detected\" ||\n  s.status === \"deposit_confirmed\"\n) {\n  await new Promise((r) => setTimeout(r, 3000));\n  s = (await client.swap.get(swapId)).swap;\n}\n```\n\nIf the user loses their cookie, recover with the deposit tx hash or payout address:\n\n```typescript\nawait client.swap.unlock(swapId, { tx_hash: \"0x...\" });\n```\n\n### Vue 3 Composable\n\n```typescript\n// useSwapStatus.ts\nimport { ref, onMounted, onUnmounted } from \"vue\";\nimport { TronDealer } from \"@areitosa/trondealer-sdk\";\nimport type { SwapStatus } from \"@areitosa/trondealer-sdk\";\n\nconst td = new TronDealer();\n\nexport function useSwapStatus(swapId: string) {\n  const status = ref<SwapStatus>(\"waiting_deposit\");\n  const loading = ref(true);\n  const error = ref<string | null>(null);\n  let timer: ReturnType<typeof setInterval>;\n\n  const terminal = new Set<SwapStatus>([\n    \"completed\",\n    \"expired\",\n    \"failed\",\n    \"refund_required\",\n    \"refunded\",\n  ]);\n\n  async function poll() {\n    try {\n      const res = await td.swap.get(swapId);\n      status.value = res.swap.status;\n      loading.value = false;\n      if (terminal.has(res.swap.status)) clearInterval(timer);\n    } catch (e) {\n      error.value = (e as Error).message;\n      clearInterval(timer);\n    }\n  }\n\n  onMounted(async () => {\n    await poll();\n    timer = setInterval(poll, 3000);\n  });\n  onUnmounted(() => clearInterval(timer));\n\n  return { status, loading, error };\n}\n```\n\n```vue\n<script setup lang=\"ts\">\nimport { useSwapStatus } from \"./useSwapStatus\";\nconst props = defineProps<{ swapId: string }>();\nconst { status, loading, error } = useSwapStatus(props.swapId);\n</script>\n\n<template>\n  <span v-if=\"loading\">Checking deposit...</span>\n  <span v-else-if=\"error\" class=\"error\">{{ error }}</span>\n  <span v-else\n    >Status: <strong>{{ status }}</strong></span\n  >\n</template>\n```\n\n## Webhook Verification\n\nTron Dealer sends webhook notifications to your configured URL. Always verify the `X-Signature-256` header to authenticate the request.\n\n```typescript\nimport { verifyWebhookSignature } from \"@areitosa/trondealer-sdk\";\nimport express from \"express\";\n\nconst app = express();\n\napp.post(\"/webhooks/trondealer\", express.raw({ type: \"application/json\" }), async (req, res) => {\n  const signature = req.headers[\"x-signature-256\"] as string;\n  const secret = process.env.TRONDEALER_WEBHOOK_SECRET!;\n  const rawBody = req.body.toString(\"utf-8\");\n\n  const isValid = await verifyWebhookSignature(rawBody, signature, secret);\n\n  if (!isValid) {\n    return res.status(401).send(\"Invalid signature\");\n  }\n\n  const payload = JSON.parse(rawBody);\n\n  if (payload.event === \"transaction.confirmed\") {\n    const { data } = payload;\n    console.log(`Confirmed: ${data.amount} ${data.asset} on ${data.network}`);\n  }\n\n  res.sendStatus(200);\n});\n```\n\n### Webhook Payloads\n\n**incoming / confirmed events** share the same `WebhookPayload` shape:\n\n```typescript\ninterface WebhookPayload {\n  event: \"transaction.incoming\" | \"transaction.confirmed\";\n  timestamp: string;\n  data: {\n    tx_hash: string;\n    vout_index?: number | null;\n    block_number: number;\n    from_address?: string | null;\n    to_address: string;\n    asset: \"USDT\" | \"USDC\" | \"BTC\";\n    amount: string;\n    amount_native: string;\n    price_usd: number;\n    confirmations: number;\n    wallet_label?: string | null;\n    network:\n      | \"bsc\"\n      | \"eth\"\n      | \"pol\"\n      | \"arb\"\n      | \"base\"\n      | \"opt\"\n      | \"avax\"\n      | \"tron\"\n      | \"solana\"\n      | \"sui\"\n      | \"btc\";\n  };\n}\n```\n\n**swept event** uses a different shape:\n\n```typescript\ninterface WebhookSweptPayload {\n  event: \"transaction.swept\";\n  timestamp: string;\n  data: {\n    sweep_tx_hash?: string | null;\n    fee_tx_hash?: string | null;\n    funding_tx_hash?: string | null;\n    source_tx_hashes: string[];\n    asset: \"USDT\" | \"USDC\" | \"BTC\";\n    amount: string;\n    amount_native: string;\n    gross_amount: string;\n    gross_amount_native: string;\n    fee_amount?: string | null;\n    fee_amount_native?: string | null;\n    price_usd: number;\n    destination: string;\n    wallet_address: string;\n    wallet_label?: string | null;\n    network:\n      | \"bsc\"\n      | \"eth\"\n      | \"pol\"\n      | \"arb\"\n      | \"base\"\n      | \"opt\"\n      | \"avax\"\n      | \"tron\"\n      | \"solana\"\n      | \"sui\"\n      | \"btc\";\n  };\n}\n```\n\n## Error Handling\n\nAll API errors are thrown as `TronDealerError` instances:\n\n```typescript\nimport { TronDealerError } from \"@areitosa/trondealer-sdk\";\n\ntry {\n  await client.wallets.balance({ address: \"invalid\" });\n} catch (error) {\n  if (error instanceof TronDealerError) {\n    console.error(\"API Error:\", error.message);\n    console.error(\"Status:\", error.status);\n    console.error(\"Response:\", error.response);\n  } else {\n    console.error(\"Network error or timeout:\", error);\n  }\n}\n```\n\n## Type Definitions\n\nAll request and response types are exported:\n\n```typescript\nimport type {\n  RegisterRequest,\n  UpdateConfigRequest,\n  ClientConfig,\n  ClientFull,\n  // EVM wallets\n  AssignRequest,\n  AssignedWallet,\n  TransactionsRequest,\n  Transaction,\n  EvmBalances,\n  EvmBalanceResponse,\n  EvmTransactionsResponse,\n  // TRON wallets\n  TronAssignRequest,\n  AssignedTronWallet,\n  TronTransactionsRequest,\n  TronTransaction,\n  TronBalanceEntry,\n  TronBalances,\n  // Solana wallets\n  SolAssignRequest,\n  AssignedSolWallet,\n  SolTransactionsRequest,\n  SolTransaction,\n  SolBalanceEntry,\n  SolBalances,\n  // SUI wallets\n  SuiAssignRequest,\n  AssignedSuiWallet,\n  SuiTransactionsRequest,\n  SuiTransaction,\n  SuiBalanceEntry,\n  SuiBalances,\n  // Swap\n  SwapStatus,\n  SwapPair,\n  SwapQuote,\n  SwapFull,\n  SwapPartial,\n  SwapQuoteRequest,\n  SwapCreateRequest,\n  SwapUnlockRequest,\n  // Networks\n  NetworkInfo,\n  NetworkAsset,\n  // Webhooks\n  WebhookPayload,\n  WebhookSweptPayload,\n  WebhookSweptData,\n  WebhookTransactionData,\n  WebhookNetwork,\n  // Enums\n  Network,\n  Asset,\n  TransactionStatus,\n  WalletStatus,\n  WebhookEvent,\n  PayoutMethod,\n  // Config\n  TronDealerConfig,\n  TronDealerOptions,\n  Transport,\n} from \"@areitosa/trondealer-sdk\";\n```\n\n## Configuration Options\n\n| Option    | Type     | Default                    | Description                        |\n| --------- | -------- | -------------------------- | ---------------------------------- |\n| `apiKey`  | `string` | `undefined`                | API key for authenticated requests |\n| `baseUrl` | `string` | `'https://trondealer.com'` | API base URL                       |\n| `timeout` | `number` | `10000`                    | Request timeout in milliseconds    |\n\n## Development\n\n```bash\ngit clone https://github.com/Dantescur/trondealer-sdk.git\ncd trondealer-sdk\npnpm install\n\npnpm run build      # Build ESM bundles with tsdown\npnpm run dev        # Watch mode\npnpm run typecheck  # Run TypeScript type checking\npnpm run test       # Run tests with Vitest\npnpm run lint       # Lint with oxlint\npnpm run lint:fix   # Lint and auto-fix\npnpm run fmt        # Format with oxfmt\npnpm run fmt:check  # Check formatting\npnpm run changelog  # Generate/update CHANGELOG.md\npnpm run release    # Bump version, update changelog, commit, tag, push\n```\n\nHooks (husky + lint-staged) auto-run `lint:fix` and `oxfmt` on staged files before each commit.\n\n### Releasing\n\n```bash\npnpm run release\n```\n\n`bumpp` bumps the version, auto-generates `CHANGELOG.md` via the `execute` hook in `bump.config.ts`, commits everything, creates a git tag, and pushes to GitHub. The tag push triggers CI which publishes to npm and creates a GitHub Release with formatted release notes.\n\n### Project Structure\n\n```sh\nsrc/\n├── index.ts               # Public exports\n├── client.ts              # Main TronDealer class (6 resource properties)\n├── config.ts              # Config types + normalize function\n├── http.ts                # TronDealerHttpClient, Transport, TronDealerError\n├── types.ts               # API request/response types\n├── resources/\n│   ├── clients.ts         # Client management endpoints\n│   ├── wallets.ts         # EVM wallet endpoints\n│   ├── tron.ts            # TRON wallet endpoints\n│   ├── sol.ts             # Solana wallet endpoints\n│   ├── sui.ts             # SUI wallet endpoints\n│   ├── networks.ts        # Network discovery endpoint\n│   └── swap.ts            # Cross-chain swap endpoints\n└── utils/\n    └── webhooks.ts        # HMAC signature verification\n```\n\n## License\n\nMIT License. See [LICENSE](./LICENSE) file for details.\n\n## Support\n\n- Issues: https://github.com/Dantescur/trondealer-sdk/issues\n- API Reference: https://trondealer.com/en/docs\n\n## Security Considerations\n\n1. Store your API key and webhook secret in environment variables, never in source code\n2. Always verify webhook signatures before processing events\n3. Use HTTPS for all webhook endpoints\n4. Rotate your webhook secret periodically\n5. Validate all incoming webhook data before use in your application\n","readmeFilename":"README.md"}