Skip to content

GenResult

GenResult<TDataType, TTag>: object

A result type for a single yield of writeContractOptimistic

Type Parameters

TDataType

TTag extends string

Type declaration

data

data: TDataType

errors?

optional errors: ReadonlyArray<TypedError<string>>

success

success: true

tag

tag: TTag

Defined in

extensions/viem/src/GenResult.ts:7