getTupleValueFromStructValue
getTupleValueFromStructValue(
structType,structValue):ABIValue[]
Defined in: packages/abi/src/utils.ts:17
Converts a struct value (object with named fields) to a tuple value (array).
Parameters
Section titled “Parameters”structType
Section titled “structType”The struct type definition
structValue
Section titled “structValue”ABIStructValue
The struct value to convert
Returns
Section titled “Returns”ABIValue[]
The equivalent tuple value