Are you an LLM? Read llms.txt for a summary of the docs, or llms-full.txt for the full context.
Skip to content

writeContract

writeContract(params) sends a direct contract write transaction.

const result = await walletClient.writeContract({
  contract: 'token.iost',
  action: 'transfer',
  args: ['iost', 'from', 'to', '1', 'memo'],
})

Returns:

{ hash: string }