Multicall
Provides a function to batch together multiple calls in a single external call. Available since v4.1.
Methods
multicall
function multicall(bytes[] data) external nonpayable returns (bytes[] results)
Receives and executes a batch of function calls on this contract.
Receives and executes a batch of function calls on this contract.
Parameters
Name | Type | Description |
---|---|---|
data | bytes[] | The bytes data that makes up the batch of function calls to execute. |
Returns
Name | Type | Description |
---|---|---|
results | bytes[] | The bytes data that makes up the result of the batch of function calls executed. |