Skip to Content
API Reference@cfxdevkit/reactWriteContractOptions

@cfxdevkit/react


@cfxdevkit/react / WriteContractOptions

Interface: WriteContractOptions

Defined in: hooks/useContract.ts:36

Extends

Properties

abi

abi: unknown[]

Defined in: hooks/useContract.ts:30

Inherited from

ReadContractOptions.abi


address

address: string

Defined in: hooks/useContract.ts:29

Inherited from

ReadContractOptions.address


args?

optional args: unknown[]

Defined in: hooks/useContract.ts:32

Inherited from

ReadContractOptions.args


chain

chain: ChainType

Defined in: hooks/useContract.ts:33

Inherited from

ReadContractOptions.chain


functionName

functionName: string

Defined in: hooks/useContract.ts:31

Inherited from

ReadContractOptions.functionName


value?

optional value: string

Defined in: hooks/useContract.ts:37