Prelim RPC API function and usage for balance