Add rpcs for action querying