What is correct way/Syntax for string input as smart contract function input in TS SDK?

  1. it’s StringInput in abi
export type StringInput = { bytes: BytesInput };
export type BytesInput = { buf: RawBytesInput, len: BigNumberish };
export type RawBytesInput = { ptr: BigNumberish, cap: BigNumberish };

so if I follow this, Do I need to 3 conversion for string input?

Hi @chappie1998 , please could you share the fuels version and ABI you are using to generate the above types. Better even, share an example repo replicating the above output. Thanks!