# Functions

FetchEpochFromRequest will try to fetch the epoch from the request.
FetchHashFromRequest will try to fetch the hash from the request.
FetchNonceFromRequest will try to fetch the nonce from the request.
FetchRoundFromRequest will try to fetch the round from the request.
FetchShardIDFromRequest will try to fetch the shard ID from the request.
RespondWith will respond with the generic API response.
RespondWithBadRequest creates a generic response for bad request.
RespondWithInternalError should be called when the request cannot be satisfied due to an internal error.
RespondWithValidationError should be called when the request cannot be satisfied due to a (request) validation error.