macro_rules! api_endpoint {
(
$path:expr,
// Api Version this endpoint was introduced in, at the current consensus level
// Currently for documentation purposes only.
$version_introduced:expr,
async |$state:ident: &$state_ty:ty, $context:ident, $param:ident: $param_ty:ty| -> $resp_ty:ty $body:block
) => { ... };
}