Kraken Api, withdrawal issue “Invalid asset”

0 votes

I'm trying to make a withdraw from my Kraken account to another platform, but i always get this error response:

EFunding:Invalid asset (KrakenClient::ErrorResponse)

Using this code:

@kraken = KrakenClient.load

def withdraw_order_kraken
  params = {
    asset:'XBT',
    key:'Bitstamp',
    amount: 0.005
  }
  @kraken.private.withdraw(params)
end

Any idea what am i doing wrong?

Aug 29, 2018 in Blockchain by digger
• 26,550 points
111 views

1 answer to this question.

0 votes

asset need to be specified as lowercase, so you may try with

@kraken = KrakenClient.load

def withdraw_order_kraken
  params = {
    asset:'xbt',
    key:'Bitstamp',
    amount: 0.005
  }
  @kraken.private.withdraw(params)
end
answered Aug 29, 2018 by Sumit

Related Questions In Blockchain

0 votes
2 answers

Trying to issue tokens on testnet with python API

By looking at - documentation here I think you ...READ MORE

answered Sep 17, 2018 in Blockchain by Khush
47 views
+1 vote
1 answer

Transaction using Blockchain wallet APi

Each transaction requires a fee to be ...READ MORE

answered Jun 19, 2018 in Blockchain by Perry
• 17,020 points
61 views
+1 vote
1 answer

Unable to send payment using API. Please help.

Firstly, check your passwords, your API code and your wallet ...READ MORE

answered Apr 3, 2018 in Blockchain by Christine
• 15,790 points
160 views
0 votes
1 answer

Protocols used in a distributed/dlt system for the nodes to establish communication

yes all are over TCP/IP connections secured by TLS encryption in hashgraph architecture-hashgraph, ...READ MORE

answered Aug 6, 2018 in Blockchain by ariaholic
• 7,340 points
92 views
0 votes
1 answer

Truffle tests not running after truffle init

This was a bug. They've fixed it. ...READ MORE

answered Sep 11, 2018 in Blockchain by Christine
• 15,790 points
172 views
0 votes
1 answer
0 votes
1 answer

Hyperledger remove asset

Data on a blockchain won't ever be ...READ MORE

answered Jul 4, 2018 in Blockchain by Christine
• 15,790 points
351 views
0 votes
1 answer

Unable to request channel creation using Rest Api

I'd recommend taking a look at the ordering ...READ MORE

answered Jul 16, 2018 in Blockchain by Perry
• 17,020 points
142 views