{"_id":"@ahnafalfariza/jsonrpc-types","_rev":"8-14c6683f80d326e894be9ca288440691","name":"@ahnafalfariza/jsonrpc-types","dist-tags":{"latest":"0.3.1"},"versions":{"0.1.0":{"name":"@ahnafalfariza/jsonrpc-types","version":"0.1.0","license":"MIT","_id":"@ahnafalfariza/jsonrpc-types@0.1.0","maintainers":[{"name":"ahnafalfariza","email":"alfariza.ahnaf10@gmail.com"}],"dist":{"shasum":"41c0d99dac811350726d3269beeaf6342bb1c65d","tarball":"https://registry.npmjs.org/@ahnafalfariza/jsonrpc-types/-/jsonrpc-types-0.1.0.tgz","fileCount":32,"integrity":"sha512-2y3maXLOze4j6gPDbg6n5zGJnA6LICk+56gnbVfoRjJp7eOcccYTfuUqiC9cG0IRVS3omygkQkmY8oWmA++Z5g==","signatures":[{"sig":"MEUCIAg/R122EFAzYnI0oME4c2mYm64pxvIa2JbOFt9oV0UjAiEA9E+h7kksR3WbQZPRbtMNivz3uM64GbBYZFry90IocGg=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":3251928},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.mjs","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.js"},"./types":{"types":"./dist/types.d.ts","import":"./dist/types.mjs","require":"./dist/types.js"},"./methods":{"types":"./dist/methods.d.ts","import":"./dist/methods.mjs","require":"./dist/methods.js"},"./schemas":{"types":"./dist/schemas.d.ts","import":"./dist/schemas.mjs","require":"./dist/schemas.js"},"./zod-schemas":{"types":"./dist/zod-schemas.d.ts","import":"./dist/zod-schemas.mjs","require":"./dist/zod-schemas.js"},"./mapped-properties":{"types":"./dist/mapped-properties.d.ts","import":"./dist/mapped-properties.mjs","require":"./dist/mapped-properties.js"}},"gitHead":"e13e695e1cd22f116738b808fa667526bcb6728c","scripts":{"dev":"tsup --watch","build":"tsup","clean":"rm -rf dist","check-types":"tsc --noEmit"},"_npmUser":{"name":"ahnafalfariza","email":"alfariza.ahnaf10@gmail.com"},"_npmVersion":"10.9.2","description":"TypeScript types and schemas for NEAR JSON-RPC API.","directories":{},"_nodeVersion":"22.17.0","dependencies":{"zod":"^4.0.5","expect-type":"^1.2.2"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.0.1","typescript":"^5.3.3"},"_npmOperationalInternal":{"tmp":"tmp/jsonrpc-types_0.1.0_1753335975472_0.1851194581942428","host":"s3://npm-registry-packages-npm-production"}},"0.2.0":{"name":"@ahnafalfariza/jsonrpc-types","version":"0.2.0","license":"MIT","_id":"@ahnafalfariza/jsonrpc-types@0.2.0","maintainers":[{"name":"ahnafalfariza","email":"alfariza.ahnaf10@gmail.com"}],"dist":{"shasum":"1a1b859a2972dd6302ec7a3556a253b6bc8f9d1f","tarball":"https://registry.npmjs.org/@ahnafalfariza/jsonrpc-types/-/jsonrpc-types-0.2.0.tgz","fileCount":32,"integrity":"sha512-ipRvEk5LrqZ1uhmp43a81f8g/13QPkOTgPOdb369znZOmfvhmXG3xDd2eaQM/ntdi3J5Sg8JziPfs5Ls0XzFxg==","signatures":[{"sig":"MEUCIG6U27IQZzdVxHXWBpsIMZu1+helYwFb2mLA4210CZGJAiEAlfCXdV9qWvrAi5dzLvEOf1LG8pgK9fRzdDh63Z/4+IM=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":2409468},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.mjs","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.js"},"./types":{"types":"./dist/types.d.ts","import":"./dist/types.mjs","require":"./dist/types.js"},"./methods":{"types":"./dist/methods.d.ts","import":"./dist/methods.mjs","require":"./dist/methods.js"},"./schemas":{"types":"./dist/schemas.d.ts","import":"./dist/schemas.mjs","require":"./dist/schemas.js"},"./zod-schemas":{"types":"./dist/zod-schemas.d.ts","import":"./dist/zod-schemas.mjs","require":"./dist/zod-schemas.js"},"./mapped-properties":{"types":"./dist/mapped-properties.d.ts","import":"./dist/mapped-properties.mjs","require":"./dist/mapped-properties.js"}},"gitHead":"ffd4f6ec4104ce719379f97faf865b725be58219","scripts":{"dev":"tsup --watch","build":"tsup","clean":"rm -rf dist","check-types":"tsc --noEmit"},"_npmUser":{"name":"ahnafalfariza","email":"alfariza.ahnaf10@gmail.com"},"_npmVersion":"10.9.2","description":"TypeScript types and schemas for NEAR JSON-RPC API.","directories":{},"_nodeVersion":"22.17.0","dependencies":{"zod":"^4.0.5","expect-type":"^1.2.2"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.0.1","typescript":"^5.3.3"},"_npmOperationalInternal":{"tmp":"tmp/jsonrpc-types_0.2.0_1753413365903_0.8632538911731868","host":"s3://npm-registry-packages-npm-production"}},"0.2.1":{"name":"@ahnafalfariza/jsonrpc-types","version":"0.2.1","license":"MIT","_id":"@ahnafalfariza/jsonrpc-types@0.2.1","maintainers":[{"name":"ahnafalfariza","email":"alfariza.ahnaf10@gmail.com"}],"dist":{"shasum":"1133fa72e3146d79b97a5da079e0cf2ff802f15b","tarball":"https://registry.npmjs.org/@ahnafalfariza/jsonrpc-types/-/jsonrpc-types-0.2.1.tgz","fileCount":32,"integrity":"sha512-kLkNRqm4y0UOcx3V03eBdv0pj2OnpG+aAb7peY71APaQ4py7D79bXbmK3praIi14KcPpFurZ4kwtPMYabXXYoQ==","signatures":[{"sig":"MEQCICFwlS9heOAgv8IbrDvTw2O7C72XBYjYhnp55OLYKQ9DAiBgA1BD80NedySBAR8GgELyh5YHmH2Zei0ajYLeI9QR4w==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":2409480},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.mjs","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.js"},"./types":{"types":"./dist/types.d.ts","import":"./dist/types.mjs","require":"./dist/types.js"},"./methods":{"types":"./dist/methods.d.ts","import":"./dist/methods.mjs","require":"./dist/methods.js"},"./schemas":{"types":"./dist/schemas.d.ts","import":"./dist/schemas.mjs","require":"./dist/schemas.js"},"./zod-schemas":{"types":"./dist/zod-schemas.d.ts","import":"./dist/zod-schemas.mjs","require":"./dist/zod-schemas.js"},"./mapped-properties":{"types":"./dist/mapped-properties.d.ts","import":"./dist/mapped-properties.mjs","require":"./dist/mapped-properties.js"}},"gitHead":"ffd4f6ec4104ce719379f97faf865b725be58219","scripts":{"dev":"tsup --watch","build":"tsup","clean":"rm -rf dist","check-types":"tsc --noEmit"},"_npmUser":{"name":"ahnafalfariza","email":"alfariza.ahnaf10@gmail.com"},"_npmVersion":"10.9.2","description":"TypeScript types and schemas for NEAR JSON-RPC API.","directories":{},"_nodeVersion":"22.17.0","dependencies":{"zod":"^4.0.5","expect-type":"^1.2.2"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.0.1","typescript":"^5.3.3"},"_npmOperationalInternal":{"tmp":"tmp/jsonrpc-types_0.2.1_1753416123769_0.14682858786442243","host":"s3://npm-registry-packages-npm-production"}},"0.2.2":{"name":"@ahnafalfariza/jsonrpc-types","version":"0.2.2","license":"MIT","_id":"@ahnafalfariza/jsonrpc-types@0.2.2","maintainers":[{"name":"ahnafalfariza","email":"alfariza.ahnaf10@gmail.com"}],"dist":{"shasum":"1287901cf15219b2d53ce12165deedf415d366cd","tarball":"https://registry.npmjs.org/@ahnafalfariza/jsonrpc-types/-/jsonrpc-types-0.2.2.tgz","fileCount":26,"integrity":"sha512-TVjvXrtBgW/XDO8iafrNYpI+5R7gIsQIwKESTIt9Qp67kxCXpKdOFV7DXJOFEuzkkOrYMGD2Z4Z4hTBuvBNeIQ==","signatures":[{"sig":"MEQCIFcN8/jNc57Xn1Xh/n7mqaxpyhiYvvu8jUEhyYwrLOQCAiAP2tpjlziBRiL0uVH5iaCdBNJ7TUjfn0HDMgYgvmQqGQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":2193882},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.mjs","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.js"},"./types":{"types":"./dist/types.d.ts","import":"./dist/types.mjs","require":"./dist/types.js"},"./methods":{"types":"./dist/methods.d.ts","import":"./dist/methods.mjs","require":"./dist/methods.js"},"./schemas":{"types":"./dist/schemas.d.ts","import":"./dist/schemas.mjs","require":"./dist/schemas.js"},"./zod-schemas":{"types":"./dist/zod-schemas.d.ts","import":"./dist/zod-schemas.mjs","require":"./dist/zod-schemas.js"},"./mapped-properties":{"types":"./dist/mapped-properties.d.ts","import":"./dist/mapped-properties.mjs","require":"./dist/mapped-properties.js"}},"gitHead":"ffd4f6ec4104ce719379f97faf865b725be58219","scripts":{"dev":"tsup --watch","build":"tsup","clean":"rm -rf dist","check-types":"tsc --noEmit"},"_npmUser":{"name":"ahnafalfariza","email":"alfariza.ahnaf10@gmail.com"},"_npmVersion":"10.9.2","description":"TypeScript types and schemas for NEAR JSON-RPC API.","directories":{},"_nodeVersion":"22.17.0","dependencies":{"zod":"^4.0.5","expect-type":"^1.2.2"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.0.1","typescript":"^5.3.3"},"_npmOperationalInternal":{"tmp":"tmp/jsonrpc-types_0.2.2_1753416424078_0.3188550130273984","host":"s3://npm-registry-packages-npm-production"}},"0.2.3":{"name":"@ahnafalfariza/jsonrpc-types","version":"0.2.3","license":"MIT","_id":"@ahnafalfariza/jsonrpc-types@0.2.3","maintainers":[{"name":"ahnafalfariza","email":"alfariza.ahnaf10@gmail.com"}],"dist":{"shasum":"9d3716a7a5cc996efd3fccc6ec189a89706ea81c","tarball":"https://registry.npmjs.org/@ahnafalfariza/jsonrpc-types/-/jsonrpc-types-0.2.3.tgz","fileCount":32,"integrity":"sha512-NSwALfH6GO9MtNa6JCIZS8g3ZidXA5fbXn5SeYdAXsU7cHOCKBWBzyJyM2v6EcHErV6Hlr0wr74bQ2E5qQSHjQ==","signatures":[{"sig":"MEUCIQCbP1WdFeFOZN7cZzXLQvIp1UcuBtDBW40jK7GhrB47ZgIgHnbkyo2FACgFqf5WTYCqpNWPCzEJikT4vt9oepmMdtE=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":518478},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.mjs","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.js"},"./types":{"types":"./dist/types.d.ts","import":"./dist/types.mjs","require":"./dist/types.js"},"./methods":{"types":"./dist/methods.d.ts","import":"./dist/methods.mjs","require":"./dist/methods.js"},"./schemas":{"types":"./dist/schemas.d.ts","import":"./dist/schemas.mjs","require":"./dist/schemas.js"},"./zod-schemas":{"import":"./dist/zod-schemas.mjs","require":"./dist/zod-schemas.js"},"./mapped-properties":{"types":"./dist/mapped-properties.d.ts","import":"./dist/mapped-properties.mjs","require":"./dist/mapped-properties.js"}},"gitHead":"d70ae28e245ec0aaac68a9d2f96934828fac2d34","scripts":{"dev":"tsup --watch","build":"tsup","clean":"rm -rf dist","check-types":"tsc --noEmit"},"_npmUser":{"name":"ahnafalfariza","email":"alfariza.ahnaf10@gmail.com"},"_npmVersion":"10.9.2","description":"TypeScript types and schemas for NEAR JSON-RPC API.","directories":{},"_nodeVersion":"22.17.0","dependencies":{"zod":"^4.0.5","expect-type":"^1.2.2"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.0.1","typescript":"^5.3.3"},"_npmOperationalInternal":{"tmp":"tmp/jsonrpc-types_0.2.3_1753521383897_0.7065502215527335","host":"s3://npm-registry-packages-npm-production"}},"0.2.4":{"name":"@ahnafalfariza/jsonrpc-types","version":"0.2.4","license":"MIT","_id":"@ahnafalfariza/jsonrpc-types@0.2.4","maintainers":[{"name":"ahnafalfariza","email":"alfariza.ahnaf10@gmail.com"}],"dist":{"shasum":"5b62eda27022aa97f62161ce974ea5c05a87bdaf","tarball":"https://registry.npmjs.org/@ahnafalfariza/jsonrpc-types/-/jsonrpc-types-0.2.4.tgz","fileCount":32,"integrity":"sha512-OeWm1Xd2A2Bq2iZvQMvMZIc45HZZwd7Fu9AR7YivgIEHuxdc4k9djQcsea/wiDJ7P0X/loMQ3zw9U52gjtDO5A==","signatures":[{"sig":"MEYCIQCWybC2O6bQA5BWJp3KDI6herZ7IrV04MIBRNCEkS7zUwIhAP9XMXriAkyumn4JBxQ5vT3Dto1n1dJnv6LC0EG4xNSC","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":599601},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.mjs","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.js"},"./types":{"types":"./dist/types.d.ts","import":"./dist/types.mjs","require":"./dist/types.js"},"./methods":{"types":"./dist/methods.d.ts","import":"./dist/methods.mjs","require":"./dist/methods.js"},"./schemas":{"types":"./dist/schemas.d.ts","import":"./dist/schemas.mjs","require":"./dist/schemas.js"},"./zod-schemas":{"import":"./dist/zod-schemas.mjs","require":"./dist/zod-schemas.js"},"./mapped-properties":{"types":"./dist/mapped-properties.d.ts","import":"./dist/mapped-properties.mjs","require":"./dist/mapped-properties.js"}},"gitHead":"169ed5bf2d19149680dbff89469b9eddcfd3824e","scripts":{"dev":"tsup --watch","build":"tsup","clean":"rm -rf dist","check-types":"tsc --noEmit"},"_npmUser":{"name":"ahnafalfariza","email":"alfariza.ahnaf10@gmail.com"},"_npmVersion":"10.9.2","description":"TypeScript types and schemas for NEAR JSON-RPC API.","directories":{},"_nodeVersion":"22.17.0","dependencies":{"zod":"^4.0.5","expect-type":"^1.2.2"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.0.1","typescript":"^5.3.3"},"_npmOperationalInternal":{"tmp":"tmp/jsonrpc-types_0.2.4_1754116192223_0.6149726196891407","host":"s3://npm-registry-packages-npm-production"}},"0.3.0":{"name":"@ahnafalfariza/jsonrpc-types","version":"0.3.0","license":"MIT","_id":"@ahnafalfariza/jsonrpc-types@0.3.0","maintainers":[{"name":"ahnafalfariza","email":"alfariza.ahnaf10@gmail.com"}],"dist":{"shasum":"55ec13a542655ad873ea5d5038c457969b456cc9","tarball":"https://registry.npmjs.org/@ahnafalfariza/jsonrpc-types/-/jsonrpc-types-0.3.0.tgz","fileCount":32,"integrity":"sha512-fwymE5EC3hR6mN5v7j2G3MwgEjwsuoouZsVmO7b8v1QrLlsJeiXLbCOtIqzaE1/qJY5mun3uGEw/tipi9awBhw==","signatures":[{"sig":"MEQCIGml+RfbY7kZ2oUefL6FQf1iJ6CVVg1UUJTr0TuCrPiTAiAwqpmZey0kigBdNGQkt9QJ+ILDvt/z1zrC8TlsrsD0vA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":599601},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.mjs","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.js"},"./types":{"types":"./dist/types.d.ts","import":"./dist/types.mjs","require":"./dist/types.js"},"./methods":{"types":"./dist/methods.d.ts","import":"./dist/methods.mjs","require":"./dist/methods.js"},"./schemas":{"types":"./dist/schemas.d.ts","import":"./dist/schemas.mjs","require":"./dist/schemas.js"},"./zod-schemas":{"import":"./dist/zod-schemas.mjs","require":"./dist/zod-schemas.js"},"./mapped-properties":{"types":"./dist/mapped-properties.d.ts","import":"./dist/mapped-properties.mjs","require":"./dist/mapped-properties.js"}},"gitHead":"7faa1cd373720e8c25ed30c855caa0e0286169bd","scripts":{"dev":"tsup --watch","build":"tsup","clean":"rm -rf dist","check-types":"tsc --noEmit"},"_npmUser":{"name":"ahnafalfariza","email":"alfariza.ahnaf10@gmail.com"},"_npmVersion":"10.9.2","description":"TypeScript types and schemas for NEAR JSON-RPC API.","directories":{},"_nodeVersion":"22.17.0","dependencies":{"zod":"^4.0.5","expect-type":"^1.2.2"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.0.1","typescript":"^5.3.3"},"_npmOperationalInternal":{"tmp":"tmp/jsonrpc-types_0.3.0_1754191491698_0.7627131698001999","host":"s3://npm-registry-packages-npm-production"}},"0.3.1":{"name":"@ahnafalfariza/jsonrpc-types","version":"0.3.1","license":"MIT","main":"./dist/index.js","module":"./dist/index.mjs","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","require":"./dist/index.js","import":"./dist/index.mjs"},"./methods":{"types":"./dist/methods.d.ts","require":"./dist/methods.js","import":"./dist/methods.mjs"},"./schemas":{"types":"./dist/schemas.d.ts","require":"./dist/schemas.js","import":"./dist/schemas.mjs"},"./types":{"types":"./dist/types.d.ts","require":"./dist/types.js","import":"./dist/types.mjs"},"./mapped-properties":{"types":"./dist/mapped-properties.d.ts","require":"./dist/mapped-properties.js","import":"./dist/mapped-properties.mjs"},"./zod-schemas":{"require":"./dist/zod-schemas.js","import":"./dist/zod-schemas.mjs"}},"scripts":{"build":"tsup","dev":"tsup --watch","clean":"rm -rf dist","check-types":"tsc --noEmit"},"devDependencies":{"tsup":"^8.0.1","typescript":"^5.3.3"},"publishConfig":{"access":"public"},"dependencies":{"expect-type":"^1.2.2","zod":"^4.0.5"},"_id":"@ahnafalfariza/jsonrpc-types@0.3.1","gitHead":"5ed7ba15958550b6dae5b7e87f4d5bb9d1ea728f","description":"TypeScript types and schemas for NEAR JSON-RPC API.","_nodeVersion":"22.17.0","_npmVersion":"10.9.2","dist":{"integrity":"sha512-UxOz+JZauk8DIftOjL8TeWXxWk4qTNxb3GaqgY0UU/nCm1JKCPvX8OHxXQxUTYE73YGM1VvvcTWS2djubaGMsw==","shasum":"3646cade06d4737b8e22a6646188a6d90c722e71","tarball":"https://registry.npmjs.org/@ahnafalfariza/jsonrpc-types/-/jsonrpc-types-0.3.1.tgz","fileCount":32,"unpackedSize":599508,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQDevDpDfYtJvuldNUMKN9RhdXJ1FZq68QpQAZHhQ2RKlwIgC04v+5YamLNKmhWRXjDvNJ94vrH1r9ifYYau2n3inv0="}]},"_npmUser":{"name":"ahnafalfariza","email":"alfariza.ahnaf10@gmail.com"},"directories":{},"maintainers":[{"name":"ahnafalfariza","email":"alfariza.ahnaf10@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/jsonrpc-types_0.3.1_1754221831545_0.10010309162624464"},"_hasShrinkwrap":false}},"time":{"created":"2025-07-24T05:46:15.275Z","modified":"2025-08-03T11:50:31.886Z","0.1.0":"2025-07-24T05:46:15.816Z","0.2.0":"2025-07-25T03:16:06.174Z","0.2.1":"2025-07-25T04:02:04.033Z","0.2.2":"2025-07-25T04:07:04.288Z","0.2.3":"2025-07-26T09:16:24.117Z","0.2.4":"2025-08-02T06:29:52.419Z","0.3.0":"2025-08-03T03:24:51.888Z","0.3.1":"2025-08-03T11:50:31.727Z"},"license":"MIT","description":"TypeScript types and schemas for NEAR JSON-RPC API.","maintainers":[{"name":"ahnafalfariza","email":"alfariza.ahnaf10@gmail.com"}],"readme":"# @ahnafalfariza/jsonrpc-types\n\nTypeScript types and schemas for NEAR JSON-RPC API.\n\n## Installation\n\n```bash\nnpm install @ahnafalfariza/jsonrpc-types\n```\n\n## Usage\n\n### Import Types\n\n```typescript\nimport type {\n  AccountView,\n  AccountId,\n  ValidatorStakeView,\n  BlockHeaderView,\n  ExecutionOutcomeView,\n  RpcBlockRequest,\n  RpcBlockResponse,\n  RpcQueryRequest,\n  RpcQueryResponse,\n} from \"@ahnafalfariza/jsonrpc-types\";\n```\n\n### Import Method Definitions\n\n```typescript\nimport {\n  query,\n  queryViewAccount,\n  queryCallFunction,\n  queryViewCode,\n  block,\n  status,\n  validators,\n  broadcastTxCommit,\n  gasPrice,\n  health,\n  networkInfo,\n  EXPERIMENTALProtocolConfig,\n} from \"@ahnafalfariza/jsonrpc-types/methods\";\n\nconst transporter = jsonRpcTransporter({\n  endpoint: \"https://rpc.testnet.near.org\",\n});\n\n// Client with only specific methods\nconst client = createClientWithMethods({\n  transporter,\n  methods: { block, status, query, queryViewAccount, queryCallFunction },\n  runtimeValidation: true,\n});\n\nconst result - client.query({\n  request_type: \"view_account\",\n  account_id: \"example.near\",\n  finality: \"final\",\n})\n```\n\n### Import TypeScript Types and Schemas\n\n```typescript\n// TypeScript type definitions\nimport type {\n  AccountView,\n  ValidatorStakeView,\n  BlockHeaderView,\n} from \"@ahnafalfariza/jsonrpc-types/schemas\";\n```\n\n### Import Zod Validation Schemas\n\n```typescript\n// Runtime validation schemas\nimport {\n  AccountViewSchema,\n  ValidatorStakeViewSchema,\n  BlockHeaderViewSchema,\n  RpcBlockRequestSchema,\n  RpcBlockResponseSchema,\n} from \"@ahnafalfariza/jsonrpc-types/zod-schemas\";\n\n// Validate API responses at runtime\nconst account = AccountViewSchema.parse(response);\nconst blockRequest = RpcBlockRequestSchema.parse(userInput);\n```\n\n### Import Property Mappings\n\n```typescript\nimport { mappedSnakeCamelProperty } from \"@ahnafalfariza/jsonrpc-types/mapped-properties\";\n\n// Convert between snake_case and camelCase property names\nconst camelCase = mappedSnakeCamelProperty.get(\"account_id\"); // \"accountId\"\n```\n\n### Import Discriminator Helpers\n\n```typescript\nimport {\n  DiscriminateRpcQueryResponse,\n  DiscriminateRpcTransactionResponse,\n} from \"@ahnafalfariza/jsonrpc-types\";\n\n// Type-safe discrimination of union response types\nconst { result } = await client.queryViewAccount({\n  accountId: \"example.near\",\n  syncCheckpoint: \"earliest_available\",\n});\n\nconst discriminated = DiscriminateRpcQueryResponse(result);\nif (discriminated.AccountView) {\n  // TypeScript knows this is AccountView type\n  console.log(`Balance: ${discriminated.AccountView.amount}`);\n  console.log(`Storage: ${discriminated.AccountView.storageUsage}`);\n} else if (discriminated.CallResult) {\n  // TypeScript knows this is CallResult type\n  console.log(`Result: ${discriminated.CallResult.result}`);\n}\n```\n\n## Available Exports\n\n- **`/methods`** - JSON-RPC method definitions with type parameters and validation schemas\n- **`/schemas`** - TypeScript type definitions for all NEAR JSON-RPC types\n- **`/zod-schemas`** - Runtime Zod validation schemas for type checking and parsing\n- **`/mapped-properties`** - Property name conversion mappings between snake_case and camelCase\n- **Main export** - Discriminator helper functions for type-safe union response handling\n\n## Available Methods\n\nThe package includes all NEAR JSON-RPC methods:\n\n**Core Methods:**\n\n- `block` - Get block information\n- `query` - Query account/contract state (generic method)\n- `status` - Get node status\n- `validators` - Get current validators\n- `gasPrice` - Get current gas price\n- `health` - Check node health\n- `networkInfo` - Get network information\n\n**Query Methods (Discriminated):**\n\n- `queryViewAccount` - Query account information\n- `queryViewCode` - Query contract code\n- `queryCallFunction` - Call a view function\n- `queryViewAccessKey` - Query access key information\n- `queryViewAccessKeyList` - Query all access keys for an account\n- `queryViewState` - Query contract state\n- `queryViewGlobalContractCode` - Query global contract code\n- `queryViewGlobalContractCodeByAccountId` - Query global contract code by account\n\n**Transaction Methods:**\n\n- `broadcastTxAsync` - Broadcast transaction asynchronously\n- `broadcastTxCommit` - Broadcast transaction and wait for commit\n- `sendTx` - Send transaction\n- `tx` - Get transaction status\n\n**Advanced Methods:**\n\n- `chunk` - Get chunk information\n- `changes` - Get state changes (generic method)\n- `lightClientProof` - Get light client proof\n- `nextLightClientBlock` - Get next light client block\n\n**Changes Methods (Discriminated):**\n\n- `changesAccountChanges` - Get account changes\n- `changesSingleAccessKeyChanges` - Get single access key changes\n- `changesSingleGasKeyChanges` - Get single gas key changes\n- `changesAllAccessKeyChanges` - Get all access key changes\n- `changesAllGasKeyChanges` - Get all gas key changes\n- `changesContractCodeChanges` - Get contract code changes\n- `changesDataChanges` - Get data changes\n\n**Experimental Methods:**\n\n- `EXPERIMENTALProtocolConfig` - Get protocol configuration\n- `EXPERIMENTALValidatorsOrdered` - Get validators in order\n- `EXPERIMENTALReceipt` - Get receipt information\n- `EXPERIMENTALTxStatus` - Get transaction status\n- `EXPERIMENTALChanges` - Get state changes\n- `EXPERIMENTALChangesInBlock` - Get changes in block\n- And more...\n\nFor complete method details, parameter types, and response schemas, see [`/methods`](./src/methods.ts).\n\n## Features\n\n- Complete TypeScript coverage of NEAR JSON-RPC API\n- Discriminated method definitions for better type safety and developer experience\n- Discriminator helper functions for type-safe union response handling\n- Runtime validation with Zod schemas\n- Tree-shakeable - import only what you need\n- Auto-generated from OpenAPI specification\n- Type-safe method definitions with request/response validation\n- Property name conversion utilities\n- Support for all NEAR JSON-RPC methods including experimental ones\n- Automatic discriminator property handling (requestType, changesType, etc.)\n\n## Related\n\n- [`@ahnafalfariza/jsonrpc-client`](../jsonrpc-client) - JSON-RPC client\n- [`@near-js/jsonrpc-generator`](../jsonrpc-generator) - Code generator\n\n## License\n\nMIT\n","readmeFilename":"README.md"}