Rest
...args: [...Partial<{ An array of arguments that the contract function accepts. The types of these arguments are not specified, allowing for flexibility in function signatures.
A promise that resolves to the type T
, representing the result of the contract function execution.
Represents a generic contract function type that accepts an arbitrary number of arguments and returns a promise that resolves to a generic type
T
. This type is typically used to model the behavior of smart contract functions in a blockchain context.