Skip to content

GenResult

Experimental

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

Source

extensions/viem/src/GenResult.ts:7