Skip to content

Commit

Permalink
docs: fix missing event parameter name in getLogs scoping example (#…
Browse files Browse the repository at this point in the history
…2554)

Fix missing event parameter name in `getLogs` scoping example
  • Loading branch information
mmv08 authored Jul 29, 2024
1 parent e20066f commit 6949c2b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion site/pages/docs/actions/public/getLogs.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ import { publicClient } from './client'

const logs = await publicClient.getLogs({ // [!code focus:99]
address: '0xf39fd6e51aad88f6f4ce6ab8827279cfffb92266',
event: parseAbiItem('event Transfer(address indexed, address indexed, uint256)'),
event: parseAbiItem('event Transfer(address indexed from, address indexed to, uint256)'),
args: {
from: '0xd8da6bf26964af9d7eed9e03e53415d37aa96045',
to: '0xa5cc3c03994db5b0d9a5eedd10cabab0813678ac'
Expand Down

0 comments on commit 6949c2b

Please sign in to comment.