@ -307,6 +307,7 @@ cJSON *kmd_transactionjson(struct kmd_transactionhh *ptr,char *typestr)
cJSON *kmd_unspentjson(struct kmd_transaction *tx,int32_t vout)
{
cJSON *item = cJSON_CreateObject();
jaddstr(item,"type","received");
jaddbits256(item,"txid",tx->txid);
jaddnum(item,"vout",vout);
jaddnum(item,"amount",dstr(tx->vouts[vout].amount));