We have seen a simple example of the interface declaration in section 0.1.1. Now that we have learned how to declare types, what remains is simple: to declare RPC functions, using the declared types in function signatures or as return types.