Daemon HTTP RPC API

From Bytecoin Wiki
Jump to: navigation, search
URL Description   Format     Arg 1     Arg 2     Return value  
  /getheight     Returns current chain height     JSON     -   -   [int] height  
  /getknownblockids     Returns list of known block ids     JSON     -   -   [list] main chain block ids  
  [list] alternative chains block ids  
  [list] invalid block ids  
  /start_mine     Starts mining threads     JSON     [string] wallet address     [int] number of threads     [string] status  
  /stop_mine     Stops mining threads     JSON     -   -   [string] status  
  /gettransactions     Returns transactions as serialized blobs     JSON     [list] tx ids     -   [list] transactions as hex  
  [list] missing tx ids  
  [string] status  
  /sendrawtransactions     Send transaction to the network     JSON     [string] serialized transaction in hex form     -   [string] status  
  /getblocks.bin     Returns blocks in binary form     BIN     [list] block ids     -   [list] blocks  
  [int] start height  
  [int] current height  
  [string] status  
  /get_o_indexes.bin     Get global output indicies     BIN     [hash] transaction id     -   [vector] output indicies  
  [string] status  
  /getrandom_outs.bin     Get random output indicies  
  for a given amount  
  (purpose: for ring signatures)  
  BIN     [list] amounts     [int] count     [vector]  
  { [int] amount; [list] outs }  
  output entries  
Personal tools
Namespaces

Variants
Actions
Navigation
Tools