Type alias PrepareWriteContractConfig<TAbi, TFunctionName, TChainId, TWalletClient>

PrepareWriteContractConfig<TAbi, TFunctionName, TChainId, TWalletClient>: Omit<SimulateContractParameters<TAbi, TFunctionName>, "chain"> & {
    chainId?: TChainId | number;
    walletClient?: TWalletClient | null;
}

Type Parameters

  • TAbi extends Abi | readonly unknown[] = Abi

  • TFunctionName extends string = string

  • TChainId extends number = number

  • TWalletClient extends WalletClient = WalletClient

Type declaration

  • Optional chainId?: TChainId | number

    Chain id to use for Public Client.

  • Optional walletClient?: TWalletClient | null

    Custom Wallet Client.

Generated using TypeDoc