Skip to content
This repository has been archived by the owner on Jan 12, 2020. It is now read-only.
Mika Lindqvist edited this page Oct 24, 2018 · 1 revision

Welcome to the Bittorium wiki!

Daemon API changes

get_generated_coins

Returns total number of atomic units generated since genesis block.

  • Input parameters: none

  • Output parameters:

Parameter Type Description
alreadyGeneratedCoins string Total number of atomic units generated
status string OK on success, otherwise error message

getpeersgray

Returns gray list of peers.

  • Input parameters: none

  • Output parameters:

Parameter Type Description
status string OK on success, otherwise error message
peers vector of strings List of peer addresses

Masternode daemon API

collateralhash

Returns transaction hash of the collateral used for this masternode.

  • Input parameters: none

  • Output parameters:

Parameter Type Description
collateralHash string Transaction hash of collateral payment
status string OK on success, otherwise error message

feeaddress

Returns address of the fee wallet used for this masternode.

  • Input parameters: none

  • Output parameters:

Parameter Type Description
fee_address string wallet address for collected fees
status string OK on success, otherwise error message

get_amounts_for_account

Returns total number of atomic units sent to specific wallet address in single transaction.

  • Input parameters:
Parameter Type Description
transaction string Transaction hash of payment you want to verify
account string Wallet address of the receiver of transaction output you want to verify
viewKey string Private view key of the wallet address that was specified in account parameter
  • Output parameters:
Parameter Type Description
amount 64-bit unsigned number Total number of atomic units. 1 BTOR = 100 atomic units.
status string OK on success, otherwise error message