Before History  [Go SDK]

A frontier server may be configured to only keep a portion of the digitalbits network’s history stored within its database. This error will be returned when a client requests a piece of information (such as a page of transactions or a single operation) that the server can positively identify as falling outside the range of recorded history.

This error returns a HTTP 410 Error.

Attributes

As with all errors Frontier returns, before_history follows the Problem Details for HTTP APIs draft specification guide and thus has the following attributes:

Attribute Type Description
type URL The identifier for the error. This is a URL that can be visited in the browser.
title String A short title describing the error.
status Number An HTTP status code that maps to the error.
detail String A more detailed description of the error.

Example

$ curl -X GET "https://frontier.testnet.digitalbits.io/transactions?cursor=1&order=desc"
{
  "type": "https://digitalbits.io/frontier-errors/before_history",
  "title": "Data Requested Is Before Recorded History",
  "status": 410,
  "detail": "This frontier instance is configured to only track a portion of the digitalbits network's latest history. This request is asking for results prior to the recorded history known to this frontier instance."
}

Edit this doc in GitHub

THE FUTURE OF LOYALTY STARTS HERE

Stay up to date on the latest happenings at DigitalBits. Get the latest news.