Home > eth-connect > coder > encodeParams
Should be used to encode list of params
encodeParams
Signature:
function encodeParams(types: ReadonlyArray<Readonly<AbiOutput | string>>, params: any[]): string;
Parameter | Type | Description |
---|---|---|
types | ReadonlyArray<Readonly<AbiOutput | string>> | |
params | any[] | {string} encoded list of params |
Returns:
string