elective-stereophonic
elective-stereophonic
help with retrieving AM's via API
Please login or register.

Login with username, password and session length
Advanced search  

News:

Latest Stable Nxt Client: Nxt 1.12.2

Author Topic: help with retrieving AM's via API  (Read 972 times)

forkedchain

  • Ex-Staff Member
  • Hero Member
  • *****
  • Karma: +74/-10
  • Offline Offline
  • Posts: 1190
  • bite me
    • View Profile
help with retrieving AM's via API
« on: June 23, 2017, 02:08:06 am »

But for the life of me, I cannot figure out from the API at http://localhost:26876/test? how do get my messages.  I know I need to get them from the IGNIS child chain (child chain #2), but I cannot figure out how to do this.

Ideally, Id only look at messages that were sent with the option of being pruned, and tell everyone if they want a payout, that I will only payout if the message is prunable.  My plan is to process them after they have 720 confirmations.  I have block trimming enabled but have rollback set to keep approx 14 days worth of data in the database.

As an added feature, I may program a feature whereby a customer can include a NXT- account in the message, and I just send the payment there instead of to the account that sent the message, if they so choose to do this.  But this is scary for me (SQL injection) so I may just not do this at all.

Can I get some assistance?
Logged
NXT tips: 2319251 or NXT-8SWM-2224-YKWW-22222

forkedchain

  • Ex-Staff Member
  • Hero Member
  • *****
  • Karma: +74/-10
  • Offline Offline
  • Posts: 1190
  • bite me
    • View Profile
Re: help with retrieving AM's via API
« Reply #1 on: July 01, 2017, 02:13:16 am »

nothing?  is this capability just not yet included into the version's NRS client's API?
Logged
NXT tips: 2319251 or NXT-8SWM-2224-YKWW-22222
 

elective-stereophonic
elective-stereophonic
assembly
assembly