request method
Creates a JsonRpcRequest to invoke method with params. The commitment level is
provided as a default value to all methods that query bank state.
Implementation
JsonRpcRequest request([final Commitment? commitment]) =>
JsonRpcRequest(id: ++_id, method: method, params: params(commitment));