Skip to content

Conversation

@GuiBibeau
Copy link
Collaborator

@GuiBibeau GuiBibeau commented Jan 5, 2026

Summary

This PR fixes a runtime error in the useTransactionPool example and improves documentation for transaction hooks:

  • Fix useTransactionPool authority bug: The example was missing the required authority parameter, causing runtime errors when copy-pasted
  • Add error/signature handling: Show sendSignature and sendError in the example
  • Add property reference lists: Comprehensive list of available properties for both hooks
  • Document auto-detection: Note that useSendTransaction automatically uses the connected wallet session

Test plan

  • Verify README examples render correctly on GitHub
  • Verify code snippets are syntactically valid

Fixes #120
Fixes #119
Fixes #121

…ok examples

- Fix useTransactionPool: add required authority parameter (#120)
- Add sendSignature/sendError to useTransactionPool example (#119)
- Add comprehensive list of available properties for both hooks
- Add note about useSendTransaction auto-detection (#121)
@GuiBibeau GuiBibeau force-pushed the docs/transaction-hooks-119-120-121 branch from 596d61b to 8cf3a21 Compare January 5, 2026 06:10
@GuiBibeau GuiBibeau merged commit 23bc3ef into main Jan 5, 2026
7 checks passed
@github-actions github-actions bot mentioned this pull request Jan 5, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

2 participants