Author [EN] [ZH] [ES] [PT] [IT] [DE] [FR] [NL] [TR] [SR] [AR] [RU] [EN] [ZH] [ES] [PT] [IT] [DE] [FR] [NL] [TR] [SR] [AR] [RU] [EN] [ZH] [ES] [PT] [IT] [DE] [FR] [NL] [TR] [SR] [AR] [RU] Topic: how to get the send address?  (Read 201 times)

Offline alt

how to get the send address?
« on: April 29, 2015, 06:09:02 AM »

I get a transaction from UNKNOWN, how can I return money to him?
Code: [Select]
{u'block_num': 2405006,
 u'created_time': u'2015-04-29T05:27:40',
 u'extra_addresses': [],
 u'fee': {u'amount': 50000, u'asset_id': 0},
 u'index': 371,
 u'is_confirmed': True,
 u'is_market': False,
 u'is_virtual': False,
 u'ledger_entries': [{u'amount': {u'amount': 1000000, u'asset_id': 359},
                      u'from_account': None,
                      u'memo': u'',
                      u'memo_from_account': None,
                      u'to_account': u'BTS6AwgEDxjpedzuvicV8jUn9yz8yUpmxobXDNzGJG8fR5GsA7fYt'}],
 u'received_time': u'2015-04-29T05:27:40',
 u'record_id': u'71fac9cadafc4054601b854224543f5645bb55f8',
 u'trx': {u'expiration': u'2015-04-29T06:34:53',
          u'operations': [{u'data': {u'amount': 1000000,
                                     u'balance_id': u'BTSMuo3zkLDEqUJJdDstQByf9nUkgxWXqdHQ',
                                     u'claim_input_data': u''},
                           u'type': u'withdraw_op_type'},
                          {u'data': {u'amount': 50000,
                                     u'balance_id': u'BTSQJeXgzagpmZKNy2jmoZApJMenjyUZXqjf',
                                     u'claim_input_data': u''},
                           u'type': u'withdraw_op_type'},
                          {u'data': {u'amount': 1000000,
                                     u'condition': {u'asset_id': 359,
                                                    u'data': {u'memo': None,
                                                              u'owner': u'BTS6wJym2gbfkgJSe8AZe6M8xy9c52bxKddJ'},
                                                    u'slate_id': 0,
                                                    u'type': u'withdraw_signature_type'}},
                           u'type': u'deposit_op_type'}],
          u'reserved': None,

Offline xeroc

  • Board Moderator
  • Hero Member
  • *****
  • Posts: 11962
  • ChainSquad GmbH
    • View Profile
    • ChainSquad GmbH
  • BTS: xeroc
  • GitHub: xeroc
Re: how to get the send address?
« Reply #1 on: April 29, 2015, 06:58:33 AM »
In the transaction there is a "withdraw_type" operation .. in there there is a balanceID (this is NOT an address) .. but you can get the owner key for that balanceid via
Code: [Select]
blockchain_get_balance <balanceid>
the "owner" address is stated in there .. you should be safe just sending the funds back there ..

remark: DO NOT SEND FUNDS TO A BALANCE ID!!!
Give BitShares a try! Use the http://testnet.bitshares.eu provided by http://bitshares.eu powered by ChainSquad GmbH

Offline alt

Re: how to get the send address?
« Reply #2 on: April 29, 2015, 07:14:25 AM »
In the transaction there is a "withdraw_type" operation .. in there there is a balanceID (this is NOT an address) .. but you can get the owner key for that balanceid via
Code: [Select]
blockchain_get_balance <balanceid>
the "owner" address is stated in there .. you should be safe just sending the funds back there ..

remark: DO NOT SEND FUNDS TO A BALANCE ID!!!
thanks, I have connect to the sender,

he said he  sent with client v0.9
he see cny.transwiser is unregister, and he still sent,
and see the trx history, the receiver is UNKNOWN.
he's client is synced ok.

from my client, I saw the send is UNKNOWN

something must wrong .


Offline xeroc

  • Board Moderator
  • Hero Member
  • *****
  • Posts: 11962
  • ChainSquad GmbH
    • View Profile
    • ChainSquad GmbH
  • BTS: xeroc
  • GitHub: xeroc
Re: how to get the send address?
« Reply #3 on: April 29, 2015, 08:14:23 AM »
ehm .. I don't understand ... how can you send to an unregistered id? Did he have a local 'contact' for transwiser?
Give BitShares a try! Use the http://testnet.bitshares.eu provided by http://bitshares.eu powered by ChainSquad GmbH

 

Google+