# Get all transaction from wallet for a given token, with USD price

**URL:** <https://community.bitquery.io/t/get-all-transaction-from-wallet-for-a-given-token-with-usd-price/132>\
**Category:** GraphQL API\
**Tags:** closed\
**Created:** [June 8, 2021, 7:11pm UTC](https://community.bitquery.io/t/get-all-transaction-from-wallet-for-a-given-token-with-usd-price/132 "2021-06-08T19:11:52Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![RedFox](https://sea2.discourse-cdn.com/flex016/user_avatar/community.bitquery.io/redfox/32/34_2.png) [@RedFox](https://community.bitquery.io/u/RedFox)\
**Post date:** [June 8, 2021, 7:11pm UTC](https://community.bitquery.io/t/get-all-transaction-from-wallet-for-a-given-token-with-usd-price/132/1 "2021-06-08T19:11:52Z")

</div>

Hello,

I would like to get all the transactions (in and out) from one wallet for a given token, with quantity and USD price when buy or sell for each transaction. Like BscScan transfers tab, but with the USD price of the transaction.

I tried a lot of things, many different ways, but my results are always wrong (when I have results).

I can get all transactions, but the price is not here:

```auto
query ($address: String!, $tokenAddress: String!) {
  ethereum(network: bsc) {
    address(address: {is: $address}) {
      balances(currency: {is: $tokenAddress}) {
        currency {
          address
          symbol
          tokenType
          name
        }
        value
        history {
          timestamp
          transferAmount
        }
      }
    }
  }
}

```

Can you please help me? 🙂

---

<div class="post-metadata">

**Author:** ![gaurav](https://avatars.discourse-cdn.com/v4/letter/g/b487fb/32.png) [@gaurav](https://community.bitquery.io/u/gaurav)\
**Post date:** [June 9, 2021, 4:22am UTC](https://community.bitquery.io/t/get-all-transaction-from-wallet-for-a-given-token-with-usd-price/132/2 "2021-06-09T04:22:41Z")

</div>

All Inbound(Incoming) Transactions [All inbound transactions of a specific wallet](https://graphql.bitquery.io/ide/pEiqt70YFD)

All outbound (outgoing) transactions - [All outbound transactions of a specific wallet](https://graphql.bitquery.io/ide/JFgqESFS9i)

Both Inbound/Outbound transactions in one api

> **[Inbound / outbound transactions for BTC address](https://graphql.bitquery.io/ide/PzGaeCK2hy)**
>
> Bitquery is analytical engine for blockchains

> **[inbound and outbound using alias](https://graphql.bitquery.io/ide/JVSPH2BbZI)**
>
> inbound and outbound using alias

---

<div class="post-metadata">

**Author:** ![RedFox](https://sea2.discourse-cdn.com/flex016/user_avatar/community.bitquery.io/redfox/32/34_2.png) [@RedFox](https://community.bitquery.io/u/RedFox)\
**Post date:** [June 9, 2021, 7:13am UTC](https://community.bitquery.io/t/get-all-transaction-from-wallet-for-a-given-token-with-usd-price/132/3 "2021-06-09T07:13:49Z")

</div>

Hi,

Thanks for your reply. The [inbound and outbound using alias](https://graphql.bitquery.io/ide/JVSPH2BbZI) works, I get all the transactions, but… price in USD is always 0. I saw an other topic with the same issue, you said it has been fixed. Do you have any idea?

I use BSC as Network, if it can help.

Thanks.

---

<div class="post-metadata">

**Author:** ![gaurav](https://avatars.discourse-cdn.com/v4/letter/g/b487fb/32.png) [@gaurav](https://community.bitquery.io/u/gaurav)\
**Post date:** [June 9, 2021, 11:03am UTC](https://community.bitquery.io/t/get-all-transaction-from-wallet-for-a-given-token-with-usd-price/132/4 "2021-06-09T11:03:41Z")

</div>

Check this

```auto
{
  ethereum(network: ethereum) {
    inbound: transfers(
      options: {desc: "block.timestamp.time", asc: "currency.symbol", limit: 10}
      amount: {gt: 0}
      receiver: {is: "0xcb99ee10c7cb3813df8672bf83d3a77b5c52837c"}
    ) {
      block {
        timestamp {
          time(format: "%Y-%m-%d %H:%M:%S")
        }
        height
      }
      address: sender {
        address
        annotation
      }
      currency {
        address
        symbol
      }
      gasValue
      amount(in: USD)
      amountInUSD: amount(in: USD)
      transaction {
        hash
      }
      external
    }
    outbound: transfers(
      options: {desc: "block.timestamp.time", asc: "currency.symbol", limit: 10}
      amount: {gt: 0}
      sender: {is: "0xcb99ee10c7cb3813df8672bf83d3a77b5c52837c"}
    ) {
      block {
        timestamp {
          time(format: "%Y-%m-%d %H:%M:%S")
        }
        height
      }
      address: receiver {
        address
        annotation
      }
      currency {
        address
        symbol
      }
      amount
      amountInUSD: amount(in: USD)
      transaction {
        hash
      }
      gasValue
      external
    }
  }
}

```

---

<div class="post-metadata">

**Author:** ![RedFox](https://sea2.discourse-cdn.com/flex016/user_avatar/community.bitquery.io/redfox/32/34_2.png) [@RedFox](https://community.bitquery.io/u/RedFox)\
**Post date:** [June 9, 2021, 12:20pm UTC](https://community.bitquery.io/t/get-all-transaction-from-wallet-for-a-given-token-with-usd-price/132/5 "2021-06-09T12:20:50Z")

</div>

That’s exactly what I have already done, `amountInUSD` is always `0`.

```auto
{
  ethereum(network: bsc) {
    inbound: transfers(
      options: {desc: "block.timestamp.time", asc: "currency.symbol"}
      receiver: {is: "0xa6f2d35d316da15d029e6eb3d0143a38afd5f1bc"}
      currency: {is: "0xefdfe2ce33000b5b6b5c64c6a4d54ac789677ed8"}
    ) {
      block {
        timestamp {
          time(format: "%Y-%m-%d %H:%M:%S")
        }
        height
      }
      address: sender {
        address
        annotation
      }
      currency {
        address
        symbol
      }
      gasValue
      amount
      amountInUSD: amount(in: USD)
      transaction {
        hash
      }
      external
    }
    outbound: transfers(
      options: {desc: "block.timestamp.time", asc: "currency.symbol"}
      sender: {is: "0xa6f2d35d316da15d029e6eb3d0143a38afd5f1bc"}
      currency: {is: "0xefdfe2ce33000b5b6b5c64c6a4d54ac789677ed8"}
    ) {
      block {
        timestamp {
          time(format: "%Y-%m-%d %H:%M:%S")
        }
        height
      }
      address: receiver {
        address
        annotation
      }
      currency {
        address
        symbol
      }
      amount
      amountInUSD: amount(in: USD)
      transaction {
        hash
      }
      gasValue
      external
    }
  }
}

```

---

<div class="post-metadata">

**Author:** ![RedFox](https://sea2.discourse-cdn.com/flex016/user_avatar/community.bitquery.io/redfox/32/34_2.png) [@RedFox](https://community.bitquery.io/u/RedFox)\
**Post date:** [June 10, 2021, 6:31am UTC](https://community.bitquery.io/t/get-all-transaction-from-wallet-for-a-given-token-with-usd-price/132/6 "2021-06-10T06:31:01Z")

</div>

Hi,

Any news / ideas about this point?

---

<div class="post-metadata">

**Author:** ![gaurav](https://avatars.discourse-cdn.com/v4/letter/g/b487fb/32.png) [@gaurav](https://community.bitquery.io/u/gaurav)\
**Post date:** [June 10, 2021, 6:37am UTC](https://community.bitquery.io/t/get-all-transaction-from-wallet-for-a-given-token-with-usd-price/132/7 "2021-06-10T06:37:18Z")

</div>

I have raised this with the DEV team, will reply once I get the answer.

---

<div class="post-metadata">

**Author:** ![RedFox](https://sea2.discourse-cdn.com/flex016/user_avatar/community.bitquery.io/redfox/32/34_2.png) [@RedFox](https://community.bitquery.io/u/RedFox)\
**Post date:** [June 26, 2021, 9:28am UTC](https://community.bitquery.io/t/get-all-transaction-from-wallet-for-a-given-token-with-usd-price/132/8 "2021-06-26T09:28:24Z")

</div>

Hi,  
Any news about my request? Do you see a solution, or still not?

---

<div class="post-metadata">

**Author:** ![gaurav](https://avatars.discourse-cdn.com/v4/letter/g/b487fb/32.png) [@gaurav](https://community.bitquery.io/u/gaurav)\
**Post date:** [June 26, 2021, 1:37pm UTC](https://community.bitquery.io/t/get-all-transaction-from-wallet-for-a-given-token-with-usd-price/132/9 "2021-06-26T13:37:04Z")

</div>

Did you check with the cryptorank team for listing, as we suggest.

---

<div class="post-metadata">

**Author:** ![RedFox](https://sea2.discourse-cdn.com/flex016/user_avatar/community.bitquery.io/redfox/32/34_2.png) [@RedFox](https://community.bitquery.io/u/RedFox)\
**Post date:** [June 28, 2021, 7:20am UTC](https://community.bitquery.io/t/get-all-transaction-from-wallet-for-a-given-token-with-usd-price/132/10 "2021-06-28T07:20:02Z")

</div>

No, because it will not solve my issue. I can ask for listing **my** token, but what about others? My tool must analyze every BSC token, not only mine. I can not ask to cryptorank for listing every tokens my users need.

---

<div class="post-metadata">

**Author:** ![gaurav](https://avatars.discourse-cdn.com/v4/letter/g/b487fb/32.png) [@gaurav](https://community.bitquery.io/u/gaurav)\
**Post date:** [June 28, 2021, 11:35am UTC](https://community.bitquery.io/t/get-all-transaction-from-wallet-for-a-given-token-with-usd-price/132/11 "2021-06-28T11:35:20Z")

</div>

Ohh … got that … but this is not a small task, we need to decide on a strategy for it. It will take months.

---

<div class="post-metadata">

**Author:** ![RedFox](https://sea2.discourse-cdn.com/flex016/user_avatar/community.bitquery.io/redfox/32/34_2.png) [@RedFox](https://community.bitquery.io/u/RedFox)\
**Post date:** [July 2, 2021, 7:29am UTC](https://community.bitquery.io/t/get-all-transaction-from-wallet-for-a-given-token-with-usd-price/132/12 "2021-07-02T07:29:41Z")

</div>

OK. Bad news, but I understand.  
Is there a way, instead of get amount in USD, to get amount in BNB?

---

<div class="post-metadata">

**Author:** ![gaurav](https://avatars.discourse-cdn.com/v4/letter/g/b487fb/32.png) [@gaurav](https://community.bitquery.io/u/gaurav)\
**Post date:** [July 2, 2021, 12:13pm UTC](https://community.bitquery.io/t/get-all-transaction-from-wallet-for-a-given-token-with-usd-price/132/13 "2021-07-02T12:13:07Z")

</div>

Yes…as I understand most of the token has wbnb pair…so you can easily get the prices in bnb

---

<div class="post-metadata">

**Author:** ![RedFox](https://sea2.discourse-cdn.com/flex016/user_avatar/community.bitquery.io/redfox/32/34_2.png) [@RedFox](https://community.bitquery.io/u/RedFox)\
**Post date:** [July 2, 2021, 12:39pm UTC](https://community.bitquery.io/t/get-all-transaction-from-wallet-for-a-given-token-with-usd-price/132/14 "2021-07-02T12:39:53Z")

</div>

OK, but how, from my previous request?

---

<div class="post-metadata">

**Author:** ![gaurav](https://avatars.discourse-cdn.com/v4/letter/g/b487fb/32.png) [@gaurav](https://community.bitquery.io/u/gaurav)\
**Post date:** [July 6, 2021, 3:51am UTC](https://community.bitquery.io/t/get-all-transaction-from-wallet-for-a-given-token-with-usd-price/132/15 "2021-07-06T03:51:14Z")

</div>

Ohh… you mean USD value in transactions, this is still pending from our side.

---

<div class="post-metadata">

**Author:** ![sayon](https://avatars.discourse-cdn.com/v4/letter/s/b2d939/32.png) [@sayon](https://community.bitquery.io/u/sayon)\
**Post date:** [July 9, 2021, 6:04am UTC](https://community.bitquery.io/t/get-all-transaction-from-wallet-for-a-given-token-with-usd-price/132/16 "2021-07-09T06:04:32Z")

</div>



---

<div class="post-metadata">

**Author:** ![sayon](https://avatars.discourse-cdn.com/v4/letter/s/b2d939/32.png) [@sayon](https://community.bitquery.io/u/sayon)\
**Post date:** [July 10, 2021, 5:31am UTC](https://community.bitquery.io/t/get-all-transaction-from-wallet-for-a-given-token-with-usd-price/132/17 "2021-07-10T05:31:08Z")

</div>



---

<div class="post-metadata">

**Author:** ![Howard](https://sea2.discourse-cdn.com/flex016/user_avatar/community.bitquery.io/howard/32/183_2.png) [@Howard](https://community.bitquery.io/u/Howard)\
**Post date:** [August 16, 2021, 3:08am UTC](https://community.bitquery.io/t/get-all-transaction-from-wallet-for-a-given-token-with-usd-price/132/18 "2021-08-16T03:08:06Z")

</div>

this is not you want?

---

<div class="post-metadata">

**Author:** ![gaurav](https://avatars.discourse-cdn.com/v4/letter/g/b487fb/32.png) [@gaurav](https://community.bitquery.io/u/gaurav)\
**Post date:** [September 10, 2021, 2:06pm UTC](https://community.bitquery.io/t/get-all-transaction-from-wallet-for-a-given-token-with-usd-price/132/19 "2021-09-10T14:06:54Z")

</div>

This is solved…please check and revert

---

<div class="post-metadata">

**Author:** ![gaurav](https://avatars.discourse-cdn.com/v4/letter/g/b487fb/32.png) [@gaurav](https://community.bitquery.io/u/gaurav)\
**Post date:** [July 13, 2023, 6:42pm UTC](https://community.bitquery.io/t/get-all-transaction-from-wallet-for-a-given-token-with-usd-price/132/20 "2023-07-13T18:42:51Z")

</div>

Check this query to get USD price of token

> **[Latest price of Aave](https://ide.bitquery.io/Latest-price-of-Aave)**
>
> Latest price of Aave
