Author Topic: wallet_account_transaction_history  (Read 1447 times)

0 Members and 1 Guest are viewing this topic.

Offline xeroc

  • Board Moderator
  • Hero Member
  • *****
  • Posts: 12922
  • ChainSquad GmbH
    • View Profile
    • ChainSquad GmbH
  • BitShares: xeroc
  • GitHub: xeroc

Offline ngkong

  • Jr. Member
  • **
  • Posts: 21
    • View Profile
pc, thanks for your answer.

1 more question:

what is the max length of a memo message in a transaction?

Offline pc

  • Hero Member
  • *****
  • Posts: 1530
    • View Profile
    • Bitcoin - Perspektive oder Risiko?
  • BitShares: cyrano
I have few questions about balance API:

1. When calling wallet_account_transaction_history it returns is_market and is_market_cancel, what do they mean?

Market transactions a are generated internally when trades are executed, by applying the market logic to the existing bids/asks/shorts/covers. Not sure about is_market_cancel.



2. How to find reference for bitshares asset_id, i know BTS is 0, what is asset_id for USD?

blockchain_list_assets or blockchain_get_asset


3. Calling wallet_account_balance will return:

Quote
Array
(
    [ 0 ] => Array
        (
            [ 0 ] => accountname
            [ 1 ] => Array
                (
                    [ 0 ] => Array
                        (
                            [ 0 ] => 0
                            [ 1 ] => 889000
                        )

                )

        )

)

which 0 represents asset_id? red, blue, or green?

Thank you

green
Bitcoin - Perspektive oder Risiko? ISBN 978-3-8442-6568-2 http://bitcoin.quisquis.de

Offline ngkong

  • Jr. Member
  • **
  • Posts: 21
    • View Profile
I have few questions about balance API:

1. When calling wallet_account_transaction_history it returns is_market and is_market_cancel, what do they mean?

2. How to find reference for bitshares asset_id, i know BTS is 0, what is asset_id for USD?

3. Calling wallet_account_balance will return:

Quote
Array
(
    [ 0 ] => Array
        (
            [ 0 ] => accountname
            [ 1 ] => Array
                (
                    [ 0 ] => Array
                        (
                            [ 0 ] => 0
                            [ 1 ] => 889000
                        )

                )

        )

)

which 0 represents asset_id? red, blue, or green?

Thank you
« Last Edit: March 26, 2015, 07:52:16 am by ngkong »