Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - sharique-knysys

Pages: [1] 2
1
Technical Support / Cli Wallet Transfer Issue
« on: May 05, 2016, 10:32:44 am »
I am using graphenelib to connect to cli wallet and perform operations programatically. I call transfer method of cli wallet and it works perfectly but  I get exceptions after some calls to cli wallet. Python code gives me this exception websocket send failed: invalid state which is probably a problem of cli wallet. Can anyone tell why I get this error from cli wallet?

2
Can you give me an exact api name and method of that api? Because I found some methods in account history api. I dont know how to invoke these methods. Can you give me an example code?

3
Hi,
I create limit_order_create request from bitshares-2-ui and I set 5 minutes expiration time for this request. How do I know my request is full fill and I get required amount of smartcoins. Is there any api method which gives me this information? Please guide me

4
Technical Support / Bitshares-2-ui: Limit Order Create Operation issue
« on: March 24, 2016, 11:58:34 am »
I am using bitshares2-ui library to create my app. I have created limit_order_create operation to trade currency from my app. But limit_order_create operations behaves very weird.
For example if I want 0.1 EUR for 19.98414 BTS, it shows Sell 19.98414 BTS. Then if I want 0.1 EUR for 19.99 BTS it shows Sell 199841417742.87936 BTS. Please guide me to resolve this issue. Following is the limit_order_create operation definition which takes asset type in amount_to_sell.

Code: [Select]
limit_order_create = new Serializer(
    "limit_order_create"
    fee: asset
    seller: protocol_id_type "account"
    amount_to_sell: asset
    min_to_receive: asset
    expiration: time_point_sec
    fill_or_kill: bool
    extensions: set future_extensions
)

Following is asset type definition

Code: [Select]
asset = new Serializer(
    "asset"
    amount: int64
    asset_id: protocol_id_type "asset"
)

5
Technical Support / Re: How to fetch required fees for trading
« on: March 07, 2016, 12:30:33 pm »
I put above params in get_required_fees method but it gives this error Invalid cast from uint64_type to Array. Can you give me exact example if I want to sell EURO and get USD. What parameters will I send in get_required_fees method?

6
Technical Support / How to fetch required fees for trading
« on: March 07, 2016, 07:14:36 am »
Hi,

I want to know about fees which applies on trading operation. For example if I want to sell USD and get BTS it requires some fees for this operation. I am using  get_required_fees function from database api but I am not sure what arguments this function take as an input. I am using like this but it is not working

{"id":1,"method":"get_required_fees","params":[ ["transfer", "1.3.0"] ]}

7
Technical Support / Fetch Highest Bid of Any Asset
« on: March 04, 2016, 10:34:23 am »
Hi,

I want to use wallet's function called sell_asset but I don't know what is market highest bid. I want to sell my assets on market's highest bid. How can I fetch highest market bid through wallet api or database api of any asset?

8
Technical Support / Get Particular Transaction
« on: March 03, 2016, 01:34:38 pm »
Hi,

I want to track particular transaction. I used get_transaction and get_recent_transaction_by_id from database api but didn't get response. Is there any method in database api or in wallet api which can provide me details of particular transaction?

9
I have used that api. First of all I made witness node and wallet which runs on port 8090 and 8092 respectively, then connect to that api with above code. Import desired private key into cli_wallet(with command line) and run above code, this code can transfer funds from one account to another. In this code you mentioned localhost. My first question is how can I connect to remote host? My second question is how can I import private key through python code then transfer funds to other account? Or is there any rpc api of graphene for transferring funds. I used following code but it is not working. Can anybody tell me what is missing in that code?

Code: [Select]
import json
from grapheneapi import GrapheneAPI


if __name__ == '__main__':
    client = GrapheneAPI("wss://bitshares.openledger.info/ws", 443, "", "")
    res = client.transfer("fromaccount", "toaccount", "10", "BTS", "Sending 10 BTS", True);

10
I have found the scripts on this link. Now I want to transfer currency. How can I use previous account with wallet to transfer currency to other account

11
Technical Support / Process of sending amount from my account to another
« on: February 24, 2016, 10:19:15 am »
Hi

I am using graphenelib and I want to transfer some currency to another account. What is the process? I have found the docs of graphenelib but it says use  this line to transfer res = client.transfer("sender","receiver","5", "USD", "memo", True); on this link http://python-graphenelib.readthedocs.org/en/latest/rpc.html. I don't know how to use this code. Please share the code with me so I can transfer amount from my account.

12
Technical Support / Re: How block trade Input Address work?
« on: February 10, 2016, 09:22:34 am »
I understand this process that you explained. When I call initiate-trade method it returns me an input address. How can I send money to that input address. Does block trades has an api or some interface to send money to that input address? Or Should I use my bitshares wallet to send money to that input address?

13
Technical Support / How block trade Input Address work?
« on: February 09, 2016, 11:58:13 am »
I am using block trade api /simple-api/initiate-trade method. I got input address for transaction. My question how can I send currency or payment of anything to any account using that block trade address.

14
Technical Support / Re: Issues Facing In Block Trade API
« on: February 09, 2016, 10:18:32 am »
Thanks for the information

15
Technical Support / Re: Issues Facing In Block Trade API
« on: February 08, 2016, 06:17:57 am »
I have checked this api. It is working. Thanks for the help. It gives me input address which I want. I have question in the following request. What is outputAddress?
https://blocktrades.us:443/api/v2/simple-api/initiate-trade
{
  "inputCoinType": "btc",
  "outputCoinType": "bts",
  "outputAddress": "btsnow",
  "outputMemo": ""
}

I have account on https://bitshares.openledger.info. For instance these are the address of my account. How can I deposit to these account?

SymbolDeposit to
BTC12NbSB3X25XgrTHT3LFyjWESpe1JZsyDtN
LTCLQfeVhR1K274zWWr6ym1ZsZxQVbz7DrAub
DOGED5CTahPejracpJuDbzBsSRrvp2ZhapJu1o   

As I mention above I use initiate-trade api and I am able to generate new input address every time. So I have a question where can I use old input address mentioned above?

Pages: [1] 2