{"_id":"@accret/api-client","_rev":"6-b1b3066d79d5a54152eac9ee2b522f81","name":"@accret/api-client","dist-tags":{"latest":"1.0.5"},"versions":{"1.0.0":{"name":"@accret/api-client","version":"1.0.0","keywords":["blockchain","cryptocurrency","web3","moralis","alchemy","shyft","sdk","api"],"author":{"name":"Accret Labs"},"license":"MIT","_id":"@accret/api-client@1.0.0","maintainers":[{"name":"code-parth","email":"softsparths@gmail.com"},{"name":"yatharthpnwr","email":"yatharthpawr@gmail.com"},{"name":"dharminnagar","email":"dharminnagar@gmail.com"}],"contributors":[{"name":"Code-Parth"},{"name":"dharminnagar"},{"name":"YatharthPnwr"}],"homepage":"https://github.com/accret/accret-api-client#readme","bugs":{"url":"https://github.com/accret/accret-api-client/issues"},"dist":{"shasum":"c8356a3212d824fd0aa853e606ad9fad03f5ad8f","tarball":"https://registry.npmjs.org/@accret/api-client/-/api-client-1.0.0.tgz","fileCount":73,"integrity":"sha512-0EWSpUa782SWGO+R/eQT9hSVPZyDmnw8NrNiEgsCLhXcuxF9PVt0P4tbjzCFIuXquf8QdqLiCTPvYR8tJj3raQ==","signatures":[{"sig":"MEUCIBmJVDodkugcHog8zIzDehBe7V2R2EEUZ/7zO79HwzfOAiEAyWkeDSDxJg58FES4qacVEt3kOU4z5bgGaYISADQFw7Q=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":129460},"main":"dist/index.js","type":"module","types":"dist/index.d.ts","module":"dist/index.esm.js","gitHead":"1901a85ac262fcc051ca1fd9436d7b827b2184d5","scripts":{"dev":"tsc --watch","lint":"eslint .","build":"npm run clean && tsc && npm run build:esm && npm run copy-package","clean":"rm -rf dist","prepare":"husky install","lint:fix":"eslint . --fix && prettier --write .","build:esm":"tsc -p tsconfig.esm.json && mv dist-esm/index.js dist/index.esm.js && rm -rf dist-esm","copy-package":"node -e \"const pkg=require('./package.json'); delete pkg.scripts; delete pkg.devDependencies; pkg.main='index.js'; pkg.module='index.esm.js'; pkg.types='index.d.ts'; require('fs').writeFileSync('./dist/package.json', JSON.stringify(pkg, null, 2))\"","prepublishOnly":"npm run build"},"_npmUser":{"name":"code-parth","actor":{"name":"code-parth","type":"user","email":"softsparths@gmail.com"},"email":"softsparths@gmail.com"},"repository":{"url":"git+https://github.com/accret/accret-api-client.git","type":"git"},"_npmVersion":"11.3.0","description":"A comprehensive SDK for blockchain data access via Moralis, Alchemy, and Shyft APIs","directories":{},"lint-staged":{"*.js":"eslint --cache --fix","*.{ts,js}":"eslint --cache --fix","*.{js,css,md}":"prettier --write","*.{ts,js,css,md}":"prettier --write"},"_nodeVersion":"24.2.0","dependencies":{"axios":"^1.10.0","moralis":"^2.27.2","alchemy-sdk":"^3.6.0","@shyft-to/js":"^0.2.40","@moralisweb3/common-evm-utils":"^2.27.2"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"husky":"^8.0.0","eslint":"^9.28.0","globals":"^16.2.0","prettier":"^3.5.3","@eslint/js":"^9.28.0","typescript":"^5.8.3","lint-staged":"^16.1.0","typescript-eslint":"^8.34.0","eslint-config-prettier":"^10.1.5"},"peerDependencies":{"typescript":"^5"},"_npmOperationalInternal":{"tmp":"tmp/api-client_1.0.0_1750761431250_0.03497093809194274","host":"s3://npm-registry-packages-npm-production"}},"1.0.1":{"name":"@accret/api-client","version":"1.0.1","keywords":["blockchain","cryptocurrency","web3","moralis","alchemy","shyft","sdk","api"],"author":{"name":"Accret Labs"},"license":"MIT","_id":"@accret/api-client@1.0.1","maintainers":[{"name":"code-parth","email":"softsparths@gmail.com"},{"name":"yatharthpnwr","email":"yatharthpawr@gmail.com"},{"name":"dharminnagar","email":"dharminnagar@gmail.com"}],"contributors":[{"name":"Code-Parth"},{"name":"dharminnagar"},{"name":"YatharthPnwr"}],"homepage":"https://github.com/accret/accret-api-client#readme","bugs":{"url":"https://github.com/accret/accret-api-client/issues"},"dist":{"shasum":"74c24a97496996108c2d66fbca7efa69cef666ce","tarball":"https://registry.npmjs.org/@accret/api-client/-/api-client-1.0.1.tgz","fileCount":73,"integrity":"sha512-h47sKutjdXIM4lcV0CcWvaz/wLUJ+OLKB5d2+J0TLg034U2nJRd7RfFC+0MmDHrZqa8+DBqCyXUIvTS2l7macA==","signatures":[{"sig":"MEYCIQCPe5/U3SLaSsoPkMP990k7z3smiVxnNQefcCkoS17jyAIhAJvt9pN5y0vVgp27KFUJ2URWEJOsOgk/kwpZ0rBr4/p1","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":129481},"main":"dist/index.js","type":"module","types":"dist/index.d.ts","module":"dist/index.esm.js","gitHead":"73849c71d4b3f0566a8e7dfb207a63221757d598","scripts":{"dev":"tsc --watch","lint":"eslint .","build":"npm run clean && tsc && npm run build:esm && npm run copy-package","clean":"rm -rf dist","prepare":"husky install","lint:fix":"eslint . --fix && prettier --write .","build:esm":"tsc -p tsconfig.esm.json && mv dist-esm/index.js dist/index.esm.js && rm -rf dist-esm","copy-package":"node -e \"const pkg=require('./package.json'); delete pkg.scripts; delete pkg.devDependencies; pkg.main='index.js'; pkg.module='index.esm.js'; pkg.types='index.d.ts'; require('fs').writeFileSync('./dist/package.json', JSON.stringify(pkg, null, 2))\"","prepublishOnly":"npm run build"},"_npmUser":{"name":"code-parth","actor":{"name":"code-parth","type":"user","email":"softsparths@gmail.com"},"email":"softsparths@gmail.com"},"repository":{"url":"git+https://github.com/accret/accret-api-client.git","type":"git"},"_npmVersion":"11.3.0","description":"A comprehensive SDK for blockchain data access via Moralis, Alchemy, and Shyft APIs","directories":{},"lint-staged":{"*.js":"eslint --cache --fix","*.{ts,js}":"eslint --cache --fix","*.{js,css,md}":"prettier --write","*.{ts,js,css,md}":"prettier --write"},"_nodeVersion":"24.2.0","dependencies":{"axios":"^1.10.0","moralis":"^2.27.2","alchemy-sdk":"^3.6.0","@shyft-to/js":"^0.2.40","@moralisweb3/common-evm-utils":"^2.27.2"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"husky":"^8.0.0","eslint":"^9.28.0","globals":"^16.2.0","prettier":"^3.5.3","@eslint/js":"^9.28.0","typescript":"^5.8.3","lint-staged":"^16.1.0","typescript-eslint":"^8.34.0","eslint-config-prettier":"^10.1.5"},"peerDependencies":{"typescript":"^5"},"_npmOperationalInternal":{"tmp":"tmp/api-client_1.0.1_1750769123759_0.7446615414645099","host":"s3://npm-registry-packages-npm-production"}},"1.0.2":{"name":"@accret/api-client","version":"1.0.2","keywords":["blockchain","cryptocurrency","web3","moralis","alchemy","shyft","sdk","api"],"author":{"name":"Accret Labs"},"license":"MIT","_id":"@accret/api-client@1.0.2","maintainers":[{"name":"code-parth","email":"softsparths@gmail.com"},{"name":"yatharthpnwr","email":"yatharthpawr@gmail.com"},{"name":"dharminnagar","email":"dharminnagar@gmail.com"}],"contributors":[{"name":"Code-Parth"},{"name":"dharminnagar"},{"name":"YatharthPnwr"}],"homepage":"https://github.com/accret/accret-api-client#readme","bugs":{"url":"https://github.com/accret/accret-api-client/issues"},"dist":{"shasum":"f437af6b3ebfe924d78e2d6073acd266b5dfe0ed","tarball":"https://registry.npmjs.org/@accret/api-client/-/api-client-1.0.2.tgz","fileCount":73,"integrity":"sha512-x0jTVZ1qUlXyG0C0pNcQH596Q02AXmOqpy/7uvnI49hrAfuUQ7ycrNc+qTOg43k4oKRHJJmO+dRys9Win+pF+Q==","signatures":[{"sig":"MEUCIEP/lo6PBbar9UXrtwEc6UrKx8gLOcQRtuzsRWO6LC3yAiEAiXWm1y0t42awJ0w4xgb7lC/C6bTnlas7A3hF0v90jJ4=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":129676},"main":"dist/index.js","type":"module","types":"dist/index.d.ts","module":"dist/index.esm.js","gitHead":"0dc38c98c94455e3981fb6e462f5ec62e9e2fd91","scripts":{"dev":"tsc --watch","lint":"eslint .","build":"npm run clean && tsc && npm run build:esm && npm run copy-package","clean":"rm -rf dist","prepare":"husky install","lint:fix":"eslint . --fix && prettier --write .","build:esm":"tsc -p tsconfig.esm.json && mv dist-esm/index.js dist/index.esm.js && rm -rf dist-esm","copy-package":"node -e \"const pkg=require('./package.json'); delete pkg.scripts; delete pkg.devDependencies; pkg.main='index.js'; pkg.module='index.esm.js'; pkg.types='index.d.ts'; require('fs').writeFileSync('./dist/package.json', JSON.stringify(pkg, null, 2))\"","prepublishOnly":"npm run build"},"_npmUser":{"name":"code-parth","actor":{"name":"code-parth","type":"user","email":"softsparths@gmail.com"},"email":"softsparths@gmail.com"},"repository":{"url":"git+https://github.com/accret/accret-api-client.git","type":"git"},"_npmVersion":"11.3.0","description":"A comprehensive SDK for blockchain data access via Moralis, Alchemy, and Shyft APIs","directories":{},"lint-staged":{"*.js":"eslint --cache --fix","*.{ts,js}":"eslint --cache --fix","*.{js,css,md}":"prettier --write","*.{ts,js,css,md}":"prettier --write"},"_nodeVersion":"24.2.0","dependencies":{"axios":"^1.10.0","moralis":"^2.27.2","alchemy-sdk":"^3.6.0","@shyft-to/js":"^0.2.40","@moralisweb3/common-evm-utils":"^2.27.2"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"husky":"^8.0.0","eslint":"^9.28.0","globals":"^16.2.0","prettier":"^3.5.3","@eslint/js":"^9.28.0","typescript":"^5.8.3","lint-staged":"^16.1.0","typescript-eslint":"^8.34.0","eslint-config-prettier":"^10.1.5"},"peerDependencies":{"typescript":"^5"},"_npmOperationalInternal":{"tmp":"tmp/api-client_1.0.2_1750832711462_0.20457921713774452","host":"s3://npm-registry-packages-npm-production"}},"1.0.3":{"name":"@accret/api-client","version":"1.0.3","keywords":["blockchain","cryptocurrency","web3","moralis","alchemy","shyft","sdk","api"],"author":{"name":"Accret Labs"},"license":"MIT","_id":"@accret/api-client@1.0.3","maintainers":[{"name":"code-parth","email":"softsparths@gmail.com"},{"name":"yatharthpnwr","email":"yatharthpawr@gmail.com"},{"name":"dharminnagar","email":"dharminnagar@gmail.com"}],"contributors":[{"name":"Code-Parth"},{"name":"dharminnagar"},{"name":"YatharthPnwr"}],"homepage":"https://github.com/accret/accret-api-client#readme","bugs":{"url":"https://github.com/accret/accret-api-client/issues"},"dist":{"shasum":"44d3a8c41afa8fa04be3c3e94ae554b64db9183c","tarball":"https://registry.npmjs.org/@accret/api-client/-/api-client-1.0.3.tgz","fileCount":73,"integrity":"sha512-HwjRvc140a2AJY2WD+EfOC3aufMPJShyKCReTKb9wcUNKDbIrF46bEx1JEF4YoamEfF6hzzfy+nqQ1aHcRQxpw==","signatures":[{"sig":"MEYCIQDsVoelbGFDGJRcIUFIPlpyETZIrA6ldP1gXgRF1WdNDwIhAJqE+ZeKt5vWYPBqOHNx6UP6qYQAsSN8h0YahTK4u7Ul","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":132287},"main":"dist/index.js","type":"module","types":"dist/index.d.ts","module":"dist/index.esm.js","gitHead":"dbc339ff0ac4aab55ae193a4ad946bf5af46167f","scripts":{"dev":"tsc --watch","lint":"eslint .","build":"npm run clean && tsc && npm run build:esm && npm run copy-package","clean":"rm -rf dist","prepare":"husky install","lint:fix":"eslint . --fix && prettier --write .","build:esm":"tsc -p tsconfig.esm.json && mv dist-esm/index.js dist/index.esm.js && rm -rf dist-esm","copy-package":"node -e \"const pkg=require('./package.json'); delete pkg.scripts; delete pkg.devDependencies; pkg.main='index.js'; pkg.module='index.esm.js'; pkg.types='index.d.ts'; require('fs').writeFileSync('./dist/package.json', JSON.stringify(pkg, null, 2))\"","prepublishOnly":"npm run build"},"_npmUser":{"name":"code-parth","actor":{"name":"code-parth","type":"user","email":"softsparths@gmail.com"},"email":"softsparths@gmail.com"},"repository":{"url":"git+https://github.com/accret/accret-api-client.git","type":"git"},"_npmVersion":"11.4.2","description":"A comprehensive SDK for blockchain data access via Moralis, Alchemy, and Shyft APIs","directories":{},"lint-staged":{"*.js":"eslint --cache --fix","*.{ts,js}":"eslint --cache --fix","*.{js,css,md}":"prettier --write","*.{ts,js,css,md}":"prettier --write"},"_nodeVersion":"24.2.0","dependencies":{"axios":"^1.10.0","moralis":"^2.27.2","alchemy-sdk":"^3.6.0","@shyft-to/js":"^0.2.40","@moralisweb3/common-evm-utils":"^2.27.2"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"husky":"^8.0.0","eslint":"^9.28.0","globals":"^16.2.0","prettier":"^3.5.3","@eslint/js":"^9.28.0","typescript":"^5.8.3","lint-staged":"^16.1.0","typescript-eslint":"^8.34.0","eslint-config-prettier":"^10.1.5"},"peerDependencies":{"typescript":"^5"},"_npmOperationalInternal":{"tmp":"tmp/api-client_1.0.3_1750869742864_0.7771422529136858","host":"s3://npm-registry-packages-npm-production"}},"1.0.4":{"name":"@accret/api-client","version":"1.0.4","keywords":["blockchain","cryptocurrency","web3","moralis","alchemy","shyft","sdk","api"],"author":{"name":"Accret Labs"},"license":"MIT","_id":"@accret/api-client@1.0.4","maintainers":[{"name":"code-parth","email":"softsparths@gmail.com"},{"name":"yatharthpnwr","email":"yatharthpawr@gmail.com"},{"name":"dharminnagar","email":"dharminnagar@gmail.com"}],"contributors":[{"name":"Code-Parth"},{"name":"dharminnagar"},{"name":"YatharthPnwr"}],"homepage":"https://github.com/accret/accret-api-client#readme","bugs":{"url":"https://github.com/accret/accret-api-client/issues"},"dist":{"shasum":"a34d795f1a815aff93726d1eff21e61f0a8c8635","tarball":"https://registry.npmjs.org/@accret/api-client/-/api-client-1.0.4.tgz","fileCount":73,"integrity":"sha512-jyq8H56OSszjXBDdASfG0MZqN4EtmZw92g9SSsm3t5yRGuVM6vox1sl8jz0zf9oAbESWV2C8P8mrcGXfr7P6Jw==","signatures":[{"sig":"MEUCIQCJaHMc1E1/gqJKqnpl/vFmoJSBJkO+XcF1hrw9wjZjewIgIf1iVfacr0NAjHncZMiTMr7x+slFdkOPBzJS2MqURRw=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":131109},"main":"dist/index.js","type":"module","types":"dist/index.d.ts","module":"dist/index.esm.js","gitHead":"dbc339ff0ac4aab55ae193a4ad946bf5af46167f","scripts":{"dev":"tsc --watch","lint":"eslint .","build":"npm run clean && tsc && npm run build:esm && npm run copy-package","clean":"rm -rf dist","prepare":"husky install","lint:fix":"eslint . --fix && prettier --write .","build:esm":"tsc -p tsconfig.esm.json && mv dist-esm/index.js dist/index.esm.js && rm -rf dist-esm","copy-package":"node -e \"const pkg=require('./package.json'); delete pkg.scripts; delete pkg.devDependencies; pkg.main='index.js'; pkg.module='index.esm.js'; pkg.types='index.d.ts'; require('fs').writeFileSync('./dist/package.json', JSON.stringify(pkg, null, 2))\"","prepublishOnly":"npm run build"},"_npmUser":{"name":"code-parth","actor":{"name":"code-parth","type":"user","email":"softsparths@gmail.com"},"email":"softsparths@gmail.com"},"repository":{"url":"git+https://github.com/accret/accret-api-client.git","type":"git"},"_npmVersion":"11.4.2","description":"A comprehensive SDK for blockchain data access via Moralis, Alchemy, and Shyft APIs","directories":{},"lint-staged":{"*.js":"eslint --cache --fix","*.{ts,js}":"eslint --cache --fix","*.{js,css,md}":"prettier --write","*.{ts,js,css,md}":"prettier --write"},"_nodeVersion":"24.2.0","dependencies":{"axios":"^1.10.0","moralis":"^2.27.2","alchemy-sdk":"^3.6.0","@shyft-to/js":"^0.2.40","@moralisweb3/common-evm-utils":"^2.27.2"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"husky":"^8.0.0","eslint":"^9.28.0","globals":"^16.2.0","prettier":"^3.5.3","@eslint/js":"^9.28.0","typescript":"^5.8.3","lint-staged":"^16.1.0","typescript-eslint":"^8.34.0","eslint-config-prettier":"^10.1.5"},"peerDependencies":{"typescript":"^5"},"_npmOperationalInternal":{"tmp":"tmp/api-client_1.0.4_1750870513856_0.7866085747955596","host":"s3://npm-registry-packages-npm-production"}},"1.0.5":{"name":"@accret/api-client","version":"1.0.5","description":"A comprehensive SDK for blockchain data access via Moralis, Alchemy, and Shyft APIs","main":"dist/index.js","module":"dist/index.esm.js","types":"dist/index.d.ts","type":"module","keywords":["blockchain","cryptocurrency","web3","moralis","alchemy","shyft","sdk","api"],"author":{"name":"Accret Labs"},"contributors":[{"name":"Code-Parth"},{"name":"dharminnagar"},{"name":"YatharthPnwr"}],"license":"MIT","repository":{"type":"git","url":"git+https://github.com/accret/accret-api-client.git"},"bugs":{"url":"https://github.com/accret/accret-api-client/issues"},"homepage":"https://github.com/accret/accret-api-client#readme","peerDependencies":{"typescript":"^5"},"scripts":{"build":"npm run clean && tsc && npm run build:esm && npm run copy-package","build:esm":"tsc -p tsconfig.esm.json && mv dist-esm/index.js dist/index.esm.js && rm -rf dist-esm","clean":"rm -rf dist","copy-package":"node -e \"const pkg=require('./package.json'); delete pkg.scripts; delete pkg.devDependencies; pkg.main='index.js'; pkg.module='index.esm.js'; pkg.types='index.d.ts'; require('fs').writeFileSync('./dist/package.json', JSON.stringify(pkg, null, 2))\"","prepublishOnly":"npm run build","dev":"tsc --watch","lint":"eslint .","lint:fix":"eslint . --fix && prettier --write .","prepare":"husky install"},"dependencies":{"@moralisweb3/common-evm-utils":"^2.27.2","@shyft-to/js":"^0.2.40","alchemy-sdk":"^3.6.0","axios":"^1.10.0","moralis":"^2.27.2"},"devDependencies":{"@eslint/js":"^9.28.0","eslint":"^9.28.0","eslint-config-prettier":"^10.1.5","globals":"^16.2.0","husky":"^8.0.0","lint-staged":"^16.1.0","prettier":"^3.5.3","typescript":"^5.8.3","typescript-eslint":"^8.34.0"},"publishConfig":{"access":"public"},"lint-staged":{"*.{ts,js}":"eslint --cache --fix","*.{ts,js,css,md}":"prettier --write","*.js":"eslint --cache --fix","*.{js,css,md}":"prettier --write"},"_id":"@accret/api-client@1.0.5","gitHead":"e50577992a297e5f6bfd6c5fa3ae8e523d7099c3","_nodeVersion":"24.2.0","_npmVersion":"11.4.2","dist":{"integrity":"sha512-xS+2hBqIQoh4XkGqU7UsY1hcSOLaARDuBQlPBvC1BYR+9kOeKZ7wth1wlQGyFUlnCC33ToszYsW+CKWPg5slyQ==","shasum":"a2ba74a4c6ef1fd215ecfa2321a73b9b6b8b5bf8","tarball":"https://registry.npmjs.org/@accret/api-client/-/api-client-1.0.5.tgz","fileCount":73,"unpackedSize":130443,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQDDeWLoqfuXjqsKV8J7qNTQNPzzTjcnenQUZqe8hmwsPQIhAMWGNyPxAcm7OsPkUsTf7iU63N1tf+v9KkXTSHAtKRXj"}]},"_npmUser":{"name":"code-parth","email":"softsparths@gmail.com"},"directories":{},"maintainers":[{"name":"code-parth","email":"softsparths@gmail.com"},{"name":"yatharthpnwr","email":"yatharthpawr@gmail.com"},{"name":"dharminnagar","email":"dharminnagar@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/api-client_1.0.5_1754129335879_0.1480542276628245"},"_hasShrinkwrap":false}},"time":{"created":"2025-06-24T10:37:11.115Z","modified":"2025-08-02T10:08:56.289Z","1.0.0":"2025-06-24T10:37:11.420Z","1.0.1":"2025-06-24T12:45:23.932Z","1.0.2":"2025-06-25T06:25:11.642Z","1.0.3":"2025-06-25T16:42:23.051Z","1.0.4":"2025-06-25T16:55:14.015Z","1.0.5":"2025-08-02T10:08:56.061Z"},"bugs":{"url":"https://github.com/accret/accret-api-client/issues"},"author":{"name":"Accret Labs"},"license":"MIT","homepage":"https://github.com/accret/accret-api-client#readme","keywords":["blockchain","cryptocurrency","web3","moralis","alchemy","shyft","sdk","api"],"repository":{"type":"git","url":"git+https://github.com/accret/accret-api-client.git"},"description":"A comprehensive SDK for blockchain data access via Moralis, Alchemy, and Shyft APIs","contributors":[{"name":"Code-Parth"},{"name":"dharminnagar"},{"name":"YatharthPnwr"}],"maintainers":[{"name":"code-parth","email":"softsparths@gmail.com"},{"name":"yatharthpnwr","email":"yatharthpawr@gmail.com"},{"name":"dharminnagar","email":"dharminnagar@gmail.com"}],"readme":"## Accret API SDK\n\nThis SDK provides a unified interface for interacting with EVM and Solana wallets and tokens. All major functions accept a universal input structure and return a standardized response.\n\n### Installation\n\n```bash\nnpm install @accret/api-client\n# or\nyarn add @accret/api-client\n# or\nbun add @accret/api-client\n```\n\n### Usage\n\nUsing the AccretClient class\n\n```ts\nimport { AccretClient } from \"@accret/api-client\";\n\nconst client = new AccretClient();\nawait client.configure({\n  alchemyApiKey: \"YOUR_ALCHEMY_API_KEY\",\n  moralisApiKey: \"YOUR_MORALIS_API_KEY\",\n  shyftApiKey: \"YOUR_SHYFT_API_KEY\",\n  heliusApiKey: \"YOUR_HELIUS_API_KEY\",\n});\n\n// Example: Get token metadata\nconst tokenMetadata = await client.getTokenMetadata([\n  { address: \"0x...\", chainId: client.AccretSupportedChain.ETHEREUM_CHAIN },\n]);\n\n// Example: Get token price\nconst tokenPrice = await client.getTokenPrice([\n  { address: \"0x...\", chainId: client.AccretSupportedChain.ETHEREUM_CHAIN },\n]);\n\n// Example: Get tokens for wallet\nconst tokensForWallet = await client.getTokensForWallet([\n  { address: \"0x...\", chainId: client.AccretSupportedChain.ETHEREUM_CHAIN },\n  { address: \"...\", chainId: client.AccretSupportedChain.SOLANA_CHAIN },\n]);\n\n// Example: Get transaction history\nconst txHistory = await client.getTransactionHistory([\n  { address: \"0x...\", chainId: client.AccretSupportedChain.ETHEREUM_CHAIN },\n]);\n\n// Example: Get historical token price\nconst historicalPrice = await client.getHistoricalTokenPrice([\n  {\n    address: \"0x...\",\n    chainId: client.AccretSupportedChain.ETHEREUM_CHAIN,\n    startTime: \"2024-01-01T00:00:00Z\",\n    endTime: \"2024-01-31T23:59:59Z\",\n    interval: client.HistoricalPriceInterval.DAILY,\n  },\n]);\n```\n\n### Universal Input Types\n\n#### Token/Wallet Input\n\n```ts\n{\n  address: string; // wallet or token address\n  chainId: AccretSupportedChain; // enum value for supported chains\n}\n```\n\n#### Historical Price Input\n\n```ts\n{\n  address: string;\n  chainId: AccretSupportedChain;\n  startTime: string; // ISO date string\n  endTime: string; // ISO date string\n  interval: HistoricalPriceInterval; // e.g., DAILY, HOURLY\n}\n```\n\n#### AccretSupportedChain Enum\n\n| **Enum Name**   | **Chain ID**   |\n| --------------- | -------------- |\n| ETHEREUM_CHAIN  | `eip155:1`     |\n| BNB_CHAIN       | `eip155:56`    |\n| POLYGON_CHAIN   | `eip155:137`   |\n| BASE_CHAIN      | `eip155:8453`  |\n| ARBITRUM_CHAIN  | `eip155:42161` |\n| AVALANCHE_CHAIN | `eip155:43114` |\n| SOLANA_CHAIN    | `solana:501`   |\n\n### Available Functions\n\n- Get tokens held by one or more wallets across supported chains.\n  ```ts\n  getTokensForWallet(addresses: {\n    address: string,\n    chainId: AccretSupportedChain\n  }[])\n  ```\n- Get transaction history for one or more wallets.\n  ```ts\n  getTransactionHistory(addresses: {\n    address: string,\n    chainId: AccretSupportedChain\n  }[])\n  ```\n- Get metadata for one or more tokens.\n  ```ts\n  getTokenMetadata(addresses: {\n    address: string,\n    chainId: AccretSupportedChain\n  }[])\n  ```\n- Get current price for one or more tokens.\n  ```ts\n  getTokenPrice(addresses: {\n    address: string,\n    chainId: AccretSupportedChain\n  }[])\n  ```\n- Get historical price data for one or more tokens.\n  ```ts\n  getHistoricalTokenPrice(addresses: {\n    address: string,\n    chainId: AccretSupportedChain,\n    startTime: string,\n    endTime: string,\n    interval: HistoricalPriceInterval\n  }[])\n  ```\n- Get the Accret-supported chain identifier for a given chain/network.\n  ```ts\n  getAccretSupportedChain({ chain });\n  ```\n- Get chain identifiers for a given Accret-supported chain.\n  ```ts\n  getChainIdentifiers({ chain });\n  ```\n\n### API Keys Required\n\nTo use this SDK, you'll need API keys from:\n\n- **Alchemy** (EVM data)\n- **Moralis** (EVM data)\n- **Shyft** (Solana data)\n- **Helius** (Solana data)\n\nThese must be provided when initializing the AccretClient.\n\n### License\n\n[MIT](https://github.com/accret/accret-api-client?tab=MIT-1-ov-file)\n","readmeFilename":"README.md"}