# c.ExecuteScript not supported on the Test Net right?

**URL:** <https://forum.flow.com/t/c-executescript-not-supported-on-the-test-net-right/1943>\
**Category:** Uncategorized\
**Created:** [May 18, 2021, 1:25pm UTC](https://forum.flow.com/t/c-executescript-not-supported-on-the-test-net-right/1943 "2021-05-18T13:25:25Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![dh77](https://avatars.discourse-cdn.com/v4/letter/d/ac91a4/32.png) [@dh77](https://forum.flow.com/u/dh77)\
**Post date:** [May 18, 2021, 1:25pm UTC](https://forum.flow.com/t/c-executescript-not-supported-on-the-test-net-right/1943/1 "2021-05-18T13:25:25Z")

</div>

This doesn’t seem to work on the Test Net:

> **[Querying Blocks](https://docs.onflow.org/flow-go-sdk/querying-blocks/)**
>
> How to query blocks using the Flow Go SDK

Actually, it is not supported at all:  
c.ExecuteScript undefined (type \*client.Client has no field or method ExecuteScript)compiler[MissingFieldOrMethod](https://pkg.go.dev/golang.org/x/tools/internal/typesinternal#MissingFieldOrMethod)

Do you have an alternative solution with a full code example? Tnx

---

<div class="post-metadata">

**Author:** ![flowjosh](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.flow.com/flowjosh/32/362_2.png) [@flowjosh](https://forum.flow.com/u/flowjosh)\
**Post date:** [May 18, 2021, 9:20pm UTC](https://forum.flow.com/t/c-executescript-not-supported-on-the-test-net-right/1943/2 "2021-05-18T21:20:04Z")

</div>

You’ll need to use the `ExecuteScriptAtLatestBlock`, check the link that you posted for the docs. Does that help?

---

<div class="post-metadata">

**Author:** ![dh77](https://avatars.discourse-cdn.com/v4/letter/d/ac91a4/32.png) [@dh77](https://forum.flow.com/u/dh77)\
**Post date:** [May 18, 2021, 9:47pm UTC](https://forum.flow.com/t/c-executescript-not-supported-on-the-test-net-right/1943/3 "2021-05-18T21:47:59Z")

</div>

Tnx @flowjosh - I tried but I don’t know what to put in as the 3rd argument - []cadence.Value.  
Please advise…

---

<div class="post-metadata">

**Author:** ![dh77](https://avatars.discourse-cdn.com/v4/letter/d/ac91a4/32.png) [@dh77](https://forum.flow.com/u/dh77)\
**Post date:** [May 18, 2021, 10:08pm UTC](https://forum.flow.com/t/c-executescript-not-supported-on-the-test-net-right/1943/4 "2021-05-18T22:08:50Z")

</div>

Actually, the argument can be nil. It works now.
