github.com/stafiprotocol/go-substrate-rpc-client@v1.4.7/pkg/gethrpc/testdata/reqresp-nomethod.js (about) 1 // This test calls a method that doesn't exist. 2 3 --> {"jsonrpc": "2.0", "id": 2, "method": "invalid_method", "params": [2, 3]} 4 <-- {"jsonrpc":"2.0","id":2,"error":{"code":-32601,"message":"the method invalid_method does not exist/is not available"}}