Skip to content

ContractParams

ContractParams<TAbi, TFunctionName, TThrowOnFail>: EncodeFunctionDataParameters<TAbi, TFunctionName> & BaseCallParams<TThrowOnFail> & object

Tevm params to execute a call on a contract

Type declaration

to

readonly to: Address

The address to call.

Type parameters

TAbi extends Abi | readonly unknown[] = Abi

TFunctionName extends ContractFunctionName<TAbi> = ContractFunctionName<TAbi>

TThrowOnFail extends boolean = boolean

Source

packages/actions/src/Contract/ContractParams.ts:8