Post
Topic
Board Altcoin Discussion
Re: [Nxt] API of Nxt
by
Come-from-Beyond
on 20/12/2013, 05:31:35 UTC
Is this the current list of APIs?

sendMoney
transactionBytes
broadcastTransaction
getPeers
getPeer
getState
getBalance
getMyInfo
decodeHallmark
decodeToken
getBlock
getTime
getTransaction
getConstants
getUnconfirmedTransactionIds
markHost (why not encodeHallmark?)

Are lock/unlock official APIs? Are they on the client and not the server?

Are there APIs for these?
encoding a token
generating an account number from a passphrase

Current list:

assignAlias
broadcastTransaction
decodeHallmark
decodeToken
cancelAskOrder
cancelBidOrder
getAccountId
getAccountTransactionIds
getAlias
getAliasIds
getAliasURI
getAskOrder
getAskOrderIds
getAsset
getAssetIds
getBalance
getBidOrder
getBidOrderIds
getBlock
getConstants
getMyInfo
getPeer
getPeers
getState
getTime
getTransaction
getTransactionBytes
getUnconfirmedTransactionIds
issueAsset
markHost
placeAskOrder
placeBidOrder
sendMoney
transferAsset

Lock/unlock is for client only, this is not API.

Encoding a token - no such API
Generating account id = getAccountId

PS: This is complete list, some calls r absent in 0.3.20 and will be included into 0.4.0 (related to alias system) or disabled for the time being (related to asset exchange)