pull down to refresh
createrune
restrictions (one of, optional): It can be the string readonly, or an array of restrictions. Each restriction is an array of one or more alternatives
readonly
$ lightning-cli createrune restrictions='[["method=invoice"]]'
$ lightning-cli createrune restrictions='["method=invoice"]' { "code": -32602, "message": "restrictions: not a valid restriction (should be array): invalid token (see logs for details)" }
createrune
docs, that might indeed be the case: