# Let's add configurables argument to createInstance static function

**URL:** <https://forum.fuel.network/t/lets-add-configurables-argument-to-createinstance-static-function/2673>\
**Category:** TypeScript SDK\
**Created:** [May 23, 2023, 3:40pm UTC](https://forum.fuel.network/t/lets-add-configurables-argument-to-createinstance-static-function/2673 "2023-05-23T15:40:09Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![sway](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.fuel.network/sway/32/103_2.png) [@sway](https://forum.fuel.network/u/sway)\
**Post date:** [May 23, 2023, 3:40pm UTC](https://forum.fuel.network/t/lets-add-configurables-argument-to-createinstance-static-function/2673/1 "2023-05-23T15:40:10Z")

</div>

Would be great to add configurable argument to createInstance function

```auto
export class LimitOrderPredicateAbi__factory {

  static readonly abi = _abi
  static readonly bin = _bin;

  static createInstance(provider?: Provider) {

    const { abi, bin } = LimitOrderPredicateAbi__factory

    const predicate = new Predicate(bin, abi, provider);

    return predicate;

  }

}

```

---

<div class="post-metadata">

**Author:** ![danielbate](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.fuel.network/danielbate/32/1617_2.png) [@danielbate](https://forum.fuel.network/u/danielbate)\
**Post date:** [May 23, 2023, 4:37pm UTC](https://forum.fuel.network/t/lets-add-configurables-argument-to-createinstance-static-function/2673/2 "2023-05-23T16:37:17Z")

</div>

Good idea @sway! I’ve raised the following [issue](https://github.com/FuelLabs/fuels-ts/issues/1014). I might try take a look over the next week or so. I assume this is just for the improvement in user experience, and not a blocker for you?

---

<div class="post-metadata">

**Author:** ![sway](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.fuel.network/sway/32/103_2.png) [@sway](https://forum.fuel.network/u/sway)\
**Post date:** [May 23, 2023, 4:40pm UTC](https://forum.fuel.network/t/lets-add-configurables-argument-to-createinstance-static-function/2673/3 "2023-05-23T16:40:53Z")

</div>

Yep, exactly) I am not blocked by this, thanks for keeping updated 👍

---

<div class="post-metadata">

**Author:** ![danielbate](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.fuel.network/danielbate/32/1617_2.png) [@danielbate](https://forum.fuel.network/u/danielbate)\
**Post date:** [June 6, 2023, 11:30am UTC](https://forum.fuel.network/t/lets-add-configurables-argument-to-createinstance-static-function/2673/4 "2023-06-06T11:30:15Z")

</div>

Hey @sway , just thought I’d let you know that this is now supported through [this PR](https://github.com/FuelLabs/fuels-ts/pull/1031) and is available in `fuels@0.44.2`.

---

<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:** [June 27, 2023, 7:30am UTC](https://forum.fuel.network/t/lets-add-configurables-argument-to-createinstance-static-function/2673/5 "2023-06-27T07:30:55Z")

</div>

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