Added RPC call to native_rust_library.
Depends on D12571
Native compiles. Tested together with JSI and client layer