We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0eb0519 commit f3cc2baCopy full SHA for f3cc2ba
src/aleph/sdk/connectors/superfluid.py
@@ -49,6 +49,7 @@ async def _execute_operation_with_account(self, operation: Operation) -> str:
49
return await self.account._sign_and_send_transaction(populated_transaction)
50
51
def can_start_flow(self, flow: Decimal, block=True) -> bool:
52
+ """Check if the account has enough funds to start a Superfluid flow of the given size."""
53
valid = False
54
if self.account.can_transact(block=block):
55
balance = self.account.get_super_token_balance()
0 commit comments