values
respectively to their types.
Parameters
Returns
string
The packed values.
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
function solidityPacked(types, values): string
values
respectively to their types.
| Parameter | Type | Description |
|---|---|---|
types | readonly string[] | The types of the values. |
values | readonly any[] | The values to pack. |
string
The packed values.
addr = '0x8ba1f109551bd432803012645ac136ddd64dba72';
solidityPacked(['address', 'uint'], [addr, 45]);
Was this page helpful?
