Type alias WriteContractParameters<TAbi, TFunctionName, TChain, TAccount, TChainOverride>

WriteContractParameters<TAbi, TFunctionName, TChain, TAccount, TChainOverride>: ContractFunctionConfig<TAbi, TFunctionName, "payable" | "nonpayable"> & GetAccountParameter<TAccount> & GetChain<TChain, TChainOverride> & UnionOmit<FormattedTransactionRequest<TChainOverride extends Chain
    ? TChainOverride
    : TChain>, "from" | "to" | "data" | "value"> & GetValue<TAbi, TFunctionName, FormattedTransactionRequest<TChainOverride extends Chain
    ? TChainOverride
    : TChain>["value"]> & {
    dataSuffix?: Hex;
}

Type Parameters

  • TAbi extends Abi | readonly unknown[] = Abi

  • TFunctionName extends string = string

  • TChain extends Chain | undefined = Chain

  • TAccount extends Account | undefined = Account | undefined

  • TChainOverride extends Chain | undefined = Chain | undefined

Type declaration

  • Optional dataSuffix?: Hex

    Data to append to the end of the calldata. Useful for adding a "domain" tag.

Generated using TypeDoc