public interface Niko
| Modifier and Type | Interface and Description |
|---|---|
static class |
Niko.NodeAction |
| Modifier and Type | Method and Description |
|---|---|
String |
getbestblockhash()
`getbestblockhash`
Returns the hash of the best block in the longest block chain.
|
Block |
getblock(String hash)
`getblock
|
Block |
getblock(String hash,
boolean txinfo) |
String |
getblockhash(Long index)
getblockhash
|
String |
getnewaddress()
`getnewaddress [account]`
Returns a new NIKO address for receiving payments.
|
String |
getnewaddress(String label) |
String |
getnewaddress(String label,
String address_type) |
Transaction |
gettransaction(String txid)
`gettransaction
|
String |
sendtoaddress(String address,
BigDecimal amount)
`sendtoaddress
|
String |
sendtoaddress(String address,
BigDecimal amount,
String comment) |
String |
sendtoaddress(String address,
BigDecimal amount,
String comment,
String commentTo) |
static final String SYMBOL
String getnewaddress()
String getbestblockhash()
String getblockhash(Long index)
Block getblock(String hash)
Transaction gettransaction(String txid)
String sendtoaddress(String address, BigDecimal amount)
String sendtoaddress(String address, BigDecimal amount, String comment)
String sendtoaddress(String address, BigDecimal amount, String comment, String commentTo)
Copyright © 2018. All rights reserved.