Skip to content

Commit ec892d1

Browse files
agsolatmm
andauthored
Update writeContracts and sendCalls return types and meaning (#4683)
* Update `writeContracts` and `sendCalls` return types and meaning * docs: tweaks --------- Co-authored-by: Tom Meagher <[email protected]>
1 parent c498667 commit ec892d1

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

site/core/api/actions/sendCalls.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -206,9 +206,9 @@ const id = await sendCalls(config, {
206206
import { type SendCallsReturnType } from '@wagmi/core'
207207
```
208208

209-
`bigint`
209+
`{ id: string; capabilities?: WalletCapabilities | undefined }`
210210

211-
Most recent block number seen.
211+
Identifier of the call batch.
212212

213213
## Error
214214

site/core/api/actions/writeContracts.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -300,9 +300,9 @@ const id = await writeContracts(config, {
300300
import { type WriteContractsReturnType } from '@wagmi/core/experimental'
301301
```
302302

303-
`bigint`
303+
`{ id: string; capabilities?: WalletCapabilities | undefined }`
304304

305-
Most recent block number seen.
305+
Identifier of the call batch.
306306

307307
## Error
308308

0 commit comments

Comments
 (0)