Skip to content

Need an example of how to wait for confirmations #89

@akuanti

Description

@akuanti

I would like to be able to call a function on a contract, wait until the transaction is confirmed, and then do something with the result. I have a feeling this is relatively straight-forward, but the documentation isn't clear.

There is wait_for_confirmations and send_transaction_with_confirmation, but neither of these are part of the contract interface, and I'm not sure what I should be passing to these. A simple example would be much appreciated.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions