# Block Height - Method

**URL:** <https://forum.fuel.network/t/block-height-method/6174>\
**Category:** TypeScript SDK\
**Created:** [July 6, 2024, 3:39pm UTC](https://forum.fuel.network/t/block-height-method/6174 "2024-07-06T15:39:09Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![miguel](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.fuel.network/miguel/32/3064_2.png) [@miguel](https://forum.fuel.network/u/miguel)\
**Post date:** [July 6, 2024, 3:39pm UTC](https://forum.fuel.network/t/block-height-method/6174/1 "2024-07-06T15:39:09Z")

</div>

Does the SDK already offer a method for getting the block height? I’m considering using `txPointer` to get it.

---

<div class="post-metadata">

**Author:** ![maschad](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.fuel.network/maschad/32/2710_2.png) [@maschad](https://forum.fuel.network/u/maschad)\
**Post date:** [July 6, 2024, 11:33pm UTC](https://forum.fuel.network/t/block-height-method/6174/2 "2024-07-06T23:33:54Z")

</div>

Hey @miguel that’s one way you could go about it. I think the recommended route should be to use the [`fetchChain`](https://docs.fuel.network/docs/fuels-ts/account/provider/#fetchchain) method which returns chain information for the current provider network, including the block height.

If you happen to want information about a specific block you could also use the [`getBlock`](https://docs.fuel.network/docs/fuels-ts/account/provider/#getblock) method.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex022/uploads/fuel/original/2X/5/57d5a345cc15a64b636e0d56e042857f8a0e80b1.png) [@system](https://forum.fuel.network/u/system)\
**Post date:** [July 27, 2024, 7:34pm UTC](https://forum.fuel.network/t/block-height-method/6174/3 "2024-07-27T19:34:43Z")

</div>

Closed on July 27, 2024, 7:34pm UTC

This topic was automatically closed 20 days after the last reply. New replies are no longer allowed.
