-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: Get transactions #9
Conversation
Pull Request Test Coverage Report for Build 10828383584Details
💛 - Coveralls |
… input parameter
Why not to have only 1 hook useTransactions with an optional parameter safeTxHash instead 2? |
You mean, combining |
This PR adds the following hooks which are wrapped by the top-level
useSafe()
hook.Resolves #4.
usePendingTransactions
Fetches all pending multisig transactions for the connected Safe which have not been executed on-chain yet.
useTransactions
Fetches all transactions for the connected Safe which have been executed on-chain.
useTransaction
Fetches the status of a specific transaction by a Safe transaction hash or an Ethereum transaction hash.
Demo
To see the new hooks in action, check out the corresponding demo app PR.