Nerva (XNV) Public API

Analytics

These are the available API endpoints for analytics.

Description: Fetch analytics data.

Parameters: None

Responses:

  • 200 Success
  • 400 Analytics disabled or Error

Description: Submit analytics data.

Parameters: None

Responses:

  • 200 Success
  • 400 Analytics disabled or Error

Description: Prune old analytics data.

Parameters: None

Responses:

  • 200 Success
  • 400 Analytics disabled or Error

Daemon

These are the available API endpoints for the daemon.

Description: Fetch the daemon version.

Parameters: None

Responses:

  • 200 Success
  • 400 Error

Description: Fetch the daemon info.

Parameters: None

Responses:

  • 200 Success
  • 400 Error

Description: Fetch the hard fork info.

Parameters: None

Responses:

  • 200 Success
  • 400 Error

Description: Fetch a block by hash or height.

Parameters:

  • hash: String (optional, block hash)
  • height: Integer (optional, block height)

Responses:

  • 200 Success
  • 400 Error

Description: Fetch the block count.

Parameters: None

Responses:

  • 200 Success
  • 400 Error

Description: Fetch the last block header.

Parameters: None

Responses:

  • 200 Success
  • 400 Error

Description: Fetch a block header by hash.

Parameters:

  • hash: String (block hash)

Responses:

  • 200 Success
  • 400 Error

Description: Fetch a block header by height.

Parameters:

  • height: Integer (block height)

Responses:

  • 200 Success
  • 400 Error

Description: Fetch block headers in a range.

Parameters:

  • start_height: Integer (start block height)
  • end_height: Integer (end block height)

Responses:

  • 200 Success
  • 400 Error

Description: Fetch a block template.

Parameters:

  • address: String (wallet address)
  • reserve: Integer (reserve size)

Responses:

  • 200 Success
  • 400 Error

Description: Fetch the daemon connections.

Parameters: None

Responses:

  • 200 Success
  • 400 Error

Description: Fetch the fee estimate.

Parameters:

  • grace_blocks: Integer (optional, grace blocks)

Responses:

  • 200 Success
  • 400 Error

Description: Fetch the generated coins.

Parameters: None

Responses:

  • 200 Success

Description: Fetch the bans.

Parameters: None

Responses:

  • 200 Success
  • 400 Error

Description: Set bans for a host.

Parameters:

  • host: String (host to ban)
  • ban: Boolean (ban status)
  • time: String (time duration for the ban)

Responses:

  • 200 Success
  • 400 Error

Description: Fetch the transaction pool.

Parameters: None

Responses:

  • 200 Success
  • 400 Error

Description: Fetch the transaction pool stats.

Parameters: None

Responses:

  • 200 Success
  • 400 Error

Description: Fetch transactions by hashes.

Parameters:

  • hashes: List of Strings (transaction hashes)
  • decode_as_json: Boolean (optional, decode as JSON)
  • prune: Boolean (optional, prune)
  • split: Boolean (optional, split)

Responses:

  • 200 Success
  • 400 Error

Description: Decode outputs.

Parameters:

  • hashes: List of Strings (transaction hashes)
  • address: String (public address of the receiver)
  • view_key: String (private view key of the receiver)

Responses:

  • 200 Success
  • 400 Error

Description: Fetch the transaction public key.

Parameters:

  • extra: String (extra field)

Responses:

  • 200 Success
  • 400 Error

Market

These are the available API endpoints for analytics.

Description: Fetch market data from TradeOgre.

Parameters: None

Responses:

  • 200 Success
  • 400 Error

Description: Fetch market data from XeggeX.

Parameters: None

Responses:

  • 200 Success
  • 400 Error