# Gas value, gas price and gas

**URL:** <https://community.bitquery.io/t/gas-value-gas-price-and-gas/793>\
**Category:** GraphQL API\
**Tags:** support, bug\
**Created:** [January 6, 2022, 6:55pm UTC](https://community.bitquery.io/t/gas-value-gas-price-and-gas/793 "2022-01-06T18:55:23Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![fee\_looker](https://avatars.discourse-cdn.com/v4/letter/f/3da27b/32.png) [@fee\_looker](https://community.bitquery.io/u/fee_looker)\
**Post date:** [January 6, 2022, 6:55pm UTC](https://community.bitquery.io/t/gas-value-gas-price-and-gas/793/1 "2022-01-06T18:55:23Z")

</div>

When I’m trying querying Gas value, gas price and gas for each transaction on BSC network it’s always 0. Why?

---

<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:** [January 7, 2022, 9:22am UTC](https://community.bitquery.io/t/gas-value-gas-price-and-gas/793/2 "2022-01-07T09:22:03Z")

</div>

Please share your query.

---

<div class="post-metadata">

**Author:** ![fee\_looker](https://avatars.discourse-cdn.com/v4/letter/f/3da27b/32.png) [@fee\_looker](https://community.bitquery.io/u/fee_looker)\
**Post date:** [January 10, 2022, 6:39pm UTC](https://community.bitquery.io/t/gas-value-gas-price-and-gas/793/3 "2022-01-10T18:39:25Z")

</div>

For example this:

```auto
query ($network: EthereumNetwork!, $address: String!, $limit: Int!, $offset: Int!, $from: ISO8601DateTime, $till: ISO8601DateTime) {
  ethereum(network: $network) {
    transfers(
      options: {desc: "block.timestamp.time", asc: "currency.symbol", limit: $limit, offset: $offset}
      date: {since: $from, till: $till}
      amount: {gt: 0}
      sender: {is: $address}
    ) {
      block {
        timestamp {
          time(format: "%Y-%m-%d %H:%M:%S")
        }
        height
      }
      address: receiver {
        address
        annotation
      }
      currency {
        address
        symbol
      }
      amount
      transaction {
        hash
      }
      external
      gasValue
    }
  }
}

```

```auto
 "limit": 10,
  "offset": 0,
  "network": "ethereum",
  "address": "0xb16c043ec6c5df5a5902d18877a2018e52c8a240",
  "currency": "",
  "from": "2021-12-12",
  "till": "2022-01-10T23:59:59",
  "dateFormat": "%Y-%m-%d"

```

---

<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:** [January 11, 2022, 6:34am UTC](https://community.bitquery.io/t/gas-value-gas-price-and-gas/793/4 "2022-01-11T06:34:21Z")

</div>

> [@fee\_looker](#):
>
> ` "network": "ethereum",`

Are you sure you want Ethereum network?

---

<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:** [January 11, 2022, 6:37am UTC](https://community.bitquery.io/t/gas-value-gas-price-and-gas/793/5 "2022-01-11T06:37:31Z")

</div>

> [@fee\_looker](#):
>
> ```auto
> "limit": 10,
> "offset": 0,
> "network": "ethereum",
> "address": "0xb16c043ec6c5df5a5902d18877a2018e52c8a240",
> "currency": "",
> "from": "2021-12-12",
> "till": "2022-01-10T23:59:59",
> "dateFormat": "%Y-%m-%d"
> 
> ```

Yes this is a bug transfer API not showing gas data. However transaction API. I will notify dev team.

---

<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:** [January 11, 2022, 1:59pm UTC](https://community.bitquery.io/t/gas-value-gas-price-and-gas/793/6 "2022-01-11T13:59:11Z")

</div>

Devs conveyed they will implement this later, Meanwhile you can do two APIs.

1st get transfer  
then get transaction API to get gas related values.
