wallet_account_transaction_history

Started by ngkong, March 26, 2015, 07:33:57 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

xeroc


ngkong

pc, thanks for your answer.

1 more question:

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

pc

Quote from: ngkong on March 26, 2015, 07:33:57 AM
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.

Quote from: ngkong on March 26, 2015, 07:33:57 AM


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

Quote from: ngkong on March 26, 2015, 07:33:57 AM

3. Calling wallet_account_balance will return:

QuoteArray
(
    [ 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 [url="http://bitcoin.quisquis.de"]http://bitcoin.quisquis.de[/url]

ngkong

#1
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:

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

                )

        )

)

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

Thank you