jsonrpc offset method