Type alias PrepareWriteContractResult<TAbi, TFunctionName, TChainId>

PrepareWriteContractResult<TAbi, TFunctionName, TChainId>: Omit<SimulateContractReturnType<TAbi, TFunctionName>, "request"> & {
    mode: "prepared";
    request: SimulateContractReturnType<TAbi, TFunctionName>["request"] & {
        chainId?: TChainId;
    };
}

Type Parameters

  • TAbi extends Abi | readonly unknown[] = Abi

  • TFunctionName extends string = string

  • TChainId extends number = number

Type declaration

Generated using TypeDoc