Moved JSON-RPC API endpoints to separate file

2 jobs for feature/separate-endpoints in 1 minute and 18 seconds (queued for 1 second)
latest
Status Name Job ID Coverage
  Test
passed linters #84994

00:01:18

passed tests #84995

00:00:51