{"id":28425337,"url":"https://github.com/metamask/api-specs","last_synced_at":"2025-06-28T04:31:23.147Z","repository":{"id":38440193,"uuid":"353062704","full_name":"MetaMask/api-specs","owner":"MetaMask","description":null,"archived":false,"fork":false,"pushed_at":"2025-05-16T17:45:34.000Z","size":675,"stargazers_count":36,"open_issues_count":30,"forks_count":13,"subscribers_count":59,"default_branch":"main","last_synced_at":"2025-06-05T10:50:31.713Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://metamask.github.io/api-specs/latest/openrpc.json","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/MetaMask.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":".github/CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null},"funding":{"github":null,"patreon":null,"open_collective":"metamask","ko_fi":null,"tidelift":null,"community_bridge":null,"liberapay":null,"issuehunt":null,"otechie":null,"custom":null}},"created_at":"2021-03-30T16:09:47.000Z","updated_at":"2025-05-16T17:45:38.000Z","dependencies_parsed_at":"2023-12-05T18:45:53.296Z","dependency_job_id":"6d6cfc35-1462-409a-93bb-f90bdd3e8420","html_url":"https://github.com/MetaMask/api-specs","commit_stats":{"total_commits":171,"total_committers":12,"mean_commits":14.25,"dds":0.3801169590643275,"last_synced_commit":"6e8958ec93eb2c5e9d2ab202aacc092094357cfc"},"previous_names":[],"tags_count":82,"template":false,"template_full_name":null,"purl":"pkg:github/MetaMask/api-specs","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MetaMask%2Fapi-specs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MetaMask%2Fapi-specs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MetaMask%2Fapi-specs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MetaMask%2Fapi-specs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/MetaMask","download_url":"https://codeload.github.com/MetaMask/api-specs/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MetaMask%2Fapi-specs/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":262375661,"owners_count":23301333,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-06-05T10:37:02.133Z","updated_at":"2025-06-28T04:31:23.117Z","avatar_url":"https://github.com/MetaMask.png","language":"JavaScript","readme":"# MetaMask Wallet API specification\n\nThis repository contains the OpenRPC specification for MetaMask's Wallet JSON-RPC API.\nYou can view the specs in the following formats:\n\n- [MetaMask developer docs interactive API reference](https://docs.metamask.io/wallet/reference/json-rpc-api/)\n- [OpenRPC playground](https://metamask.github.io/api-playground/api-documentation)\n- [Latest build](https://metamask.github.io/api-specs/latest/openrpc.json)\n\n[OpenRPC](https://open-rpc.org/) is way to specify JSON-RPC APIs that is versionable,\nhuman-readable, and machine-readable.\nIt improves the accuracy of documentation, APIs, and clients.\n\n## Contribute\n\nYou can contribute to the API specs using the following steps.\n\n\u003e **Note:** These steps are for updating the API specs.\n\u003e To make a significant change to the API itself, please submit a\n\u003e [MetaMask Improvement Proposal (MIP)](https://github.com/MetaMask/metamask-improvement-proposals/tree/main).\n\n1. Edit the API specs in the `openrpc.yaml` file.\n   See the [OpenRPC](https://open-rpc.org/) docs for more information on how to format the specs.\n2. Run `yarn install` if you haven't previously set up the repository.\n3. Run `yarn run build` to re-generate the output file: `dist/build/openrpc.json`.\n4. To view the result, paste that file's contents into the\n   [OpenRPC playground](https://playground.open-rpc.org/).\n\nFor information about publishing changes to the interactive API reference in the MetaMask developer\ndocs, see the\n[docs contribution guidelines](https://github.com/MetaMask/metamask-docs/blob/main/CONTRIBUTING.md#update-the-interactive-api-reference).\n\n## Build process\n\nWhen you build the project, the following happens:\n\n1. The MetaMask-specific API specs `openrpc.yaml` are loaded from the local file system.\n2. The [Ethereum Execution API specs](https://github.com/ethereum/execution-apis) are\n   fetched from a remote URL and methods not supported/implemented by MetaMask are filtered out.\n3. The local MetaMask specs are merged with the Ethereum specs.\n4. Each Ethereum method is tagged with the \"Ethereum API\" tag.\n5. The merged and filtered specs are written out to temporary files:\n\t - `src/build/openrpc.json`\n\t - `src/build/multichain-openrpc.json`\n6. These files are output to the `dist` folder and the `src/build` contents are deleted.\n\n## Publishing process\n\nOn release, the specs are published to npm at `@metamask/api-specs` and to\n[GitHub Pages](https://metamask.github.io/api-specs/latest/metamask-openrpc.json).\n\nFor information about publishing to the interactive API reference in the MetaMask developer docs,\nsee the\n[docs contribution guidelines](https://github.com/MetaMask/metamask-docs/blob/main/CONTRIBUTING.md#update-the-interactive-api-reference).\n","funding_links":["https://opencollective.com/metamask"],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmetamask%2Fapi-specs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmetamask%2Fapi-specs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmetamask%2Fapi-specs/lists"}