Bugfix in rpc methods listing, updated api example