SimpleWallet API

SimpleWallet API

Donec sed odio dui. Cras justo odio, dapibus ac facilisis in. Vestibulum id ligula porta felis euismod semper. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus.

Custom RPC API node

API subtitle address description

Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry`s standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled dummy text ever since the 1500s, when an unknown printer took a galley of tydummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled tpe and scrambled


Example: http://0.0.0.0:2093/json_rpc
this password will not be saved on server side



{API}
BlockChain Coin

API METHODS

API subtitle

Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry`s standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled dummy text ever since the 1500s, when an unknown printer took a galley of tydummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled tpe and scrambled



Implementation Notes

getbalance() - Return balance


Input Parameters

Argument Mandatory Description Format Example
it requires no extra parameters


Implementation Notes

transfer() - Transfer money to several destinations with specified fee, mixin ambiguity degree, and unlock time.
Please note: fee param is a mandatory and should not be less than 0.01 BLOC


Input Parameters

Argument Mandatory Description Format Example
destinations yes array that contains:
  • address - string
  • amount - int64
this is the receiver
array "amount": 10000000000,
"address": "28aYVwSsGMxCWJGCNe26GYPWVR2xLdGnSaHiv5WF8 MSa4CGuWfnj8eY2CrSUqPRjaqbYVApwxPjwtbPpA3XKjCZSUamsrZv"
payment_id no payment_id string somePaymentId
fee yes transaction fee. Minimal fee in Bytecoin network is .01 BLOC. This parameter should be specified in minimal available BLOC units. For example, if your fee is .01 BLOC, you should pass it as 1000000 uint64 1000000
mixin yes int64
unlock_time yes height of the block until which transaction is going to be locked for spending. uint64 0

only 1 transfer available
only 1 transfer available

Implementation Notes

store() - Store wallet data


Input Parameters

Argument Mandatory Description Format Example
it requires no extra parameters


Implementation Notes

get_payments() - Transfer money to several destinations with specified fee, mixin ambiguity degree, and unlock time.
Please note: fee param is a mandatory and should not be less than 0.01 BLOC


Input Parameters

Argument Mandatory Description Format Example
payment_id yes a payment_id string


Implementation Notes

get_transfers() - Returns the list of all the wallet's incoming and outgoing transfers. This data is available starting from v.1.0.2 build. For the transfers created by simplewallet of previous versions this method returns not exact transfers amounts but the transaction amounts (transfer amount + change)


Input Parameters

Argument Mandatory Description Format Example
it requires no extra parameters


Implementation Notes

get_height() - Returns the last top known block height for simplewallet. This method can be used to verify that simplewallet is correctly synchronized


Input Parameters

Argument Mandatory Description Format Example
it requires no extra parameters


Implementation Notes

reset() - Erases simplewallet's internal state but keeps safe the wallet.bin. The method should be used to re-synchronize the wallet from scratch. The next refresh (which is automatically called each 20 seconds) will update the simplewallet state


Input Parameters

Argument Mandatory Description Format Example
it requires no extra parameters