diff --git a/README.md b/README.md index eaad5d3..444083b 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,7 @@ # MetaMask API Specs API Playground: https://metamask.github.io/api-playground/api-documentation +API Reference Docs: https://docs.metamask.io/wallet/reference/json-rpc-api/ Latest build: https://metamask.github.io/api-specs/latest/openrpc.json diff --git a/merge-openrpc.js b/merge-openrpc.js index b766ed8..f7cbb05 100644 --- a/merge-openrpc.js +++ b/merge-openrpc.js @@ -6,7 +6,7 @@ const yaml = require("js-yaml"); const MetaMaskOpenRPC = yaml.load(fs.readFileSync(__dirname + "/openrpc.yaml", "utf8")); const getFilteredExecutionAPIs = () => { - return fetch("https://raw.githubusercontent.com/ethereum/execution-apis/assembled-spec/refs-openrpc.json") + return fetch("https://raw.githubusercontent.com/ethereum/execution-apis/59e6a6f9947859e8bb41bc63b248aa026b0781bd/refs-openrpc.json") .then(async (res) => { return filterExecutionAPIs(await res.json()); });