<p>According to BitGo Documentation:</p>

<blockquote>
  <p>amount    number  Yes Amount to be sent (in Satoshis), e.g. 0.1 * 1e8 for
  a tenth of a Bitcoin</p>
</blockquote>

<p><a href="https://bitgo.github.io/bitgo-docs/#send-coins-to-address" rel="nofollow noreferrer">https://bitgo.github.io/bitgo-docs/#send-coins-to-address</a></p>

<p>So, the amount should be passed as <code>0.1 * 1e8</code> = <code>10000000</code></p>

CC BY-SA 3.0
2017-09-20T12:03:28.613Z
2017-09-20T12:03:28.613Z
tuxcanfly
<p>I have a test BitGo account, and there are test wallets. One of this wallet has 1.1000 TBTC (test btc). I want to send transaction uses BitGo API. </p>

<p><strong><em>I do this request:</em></strong></p>

<p><a href="http://localhost:3080/api/v2/tbtc/wallet/" rel="nofollow noreferrer">http://localhost:3080/api/v2/tbtc/wallet/</a>"my_wallet_id"/sendcoins</p>

<p>with this headers:
<code>Content-Type application/json
Authorization Bearer "my_token"</code></p>

<p>and this body:</p>

<p><code>{
    "address":"address_where_i_send",
    "amount":0.1,
    "walletPassphrase":"my_test_passphrase"
}</code></p>

<p>and I get <strong>this response</strong>:</p>

<p><code>{
    "error": "sub-dust-threshold amount for 2N4ebmhA3FDuPiULXUEu1jBdPc3y2hk1NrD: 0.5",
    "message": "sub-dust-threshold amount for 2N4ebmhA3FDuPiULXUEu1jBdPc3y2hk1NrD: 0.5"
}
</code>
<strong><em>Can somebody explain why I have this response, and how fix it?</em></strong>
(I have V2 BTC wallet)</p>

<p>Thanks!</p>

<transactions><blockchain><bitgo>
I can't send a transaction uses BitGo API
Misha Savchuk
# I can't send a transaction uses BitGo API

(Asked by: username_0 on 2017-09-20)

I have a test BitGo account, and there are test wallets. One of this wallet has 1.1000 TBTC (test btc). I want to send transaction uses BitGo API.

***I do this request:***

<http://localhost:3080/api/v2/tbtc/wallet/>"my\_wallet\_id"/sendcoins

with this headers:
`Content-Type application/json
Authorization Bearer "my_token"`

and this body:

`{
"address":"address_where_i_send",
"amount":0.1,
"walletPassphrase":"my_test_passphrase"
}`

and I get **this response**:

`{
"error": "sub-dust-threshold amount for 2N4ebmhA3FDuPiULXUEu1jBdPc3y2hk1NrD: 0.5",
"message": "sub-dust-threshold amount for 2N4ebmhA3FDuPiULXUEu1jBdPc3y2hk1NrD: 0.5"
}`
***Can somebody explain why I have this response, and how fix it?***
(I have V2 BTC wallet)

Thanks!

**Tags:** transactions, blockchain, bitgo


---

## 1 answers

### Answer by username_1 on 2017-09-20. Score: 1 | Accepted answer

According to BitGo Documentation:

> amount number Yes Amount to be sent (in Satoshis), e.g. 0.1 \* 1e8 for
> a tenth of a Bitcoin

<https://bitgo.github.io/bitgo-docs/#send-coins-to-address>

So, the amount should be passed as `0.1 * 1e8` = `10000000`


---

