-
Notifications
You must be signed in to change notification settings - Fork 16
Open
Labels
enhancementNew feature or requestNew feature or request
Description
The unstable API is described here:
https://input-output-hk.github.io/cardano-wallet/api/edge/#tag/Transactions-New
Our top-level API could consist of:
Wallet.transfer()
acceptsbrodacast=True
argument, which preserves current behavior by defaultTransaction.body
can hold the serialized transaction, and call toWallet.transfer(..., broadcast=False)
always returns such objectsWallet.sign(tx: Transaction) -> Transaction
will accept only those withbody
and return signed onesWallet.submit(tx: Transaction) -> None
will attempt to submit the transaction and raise exceptions on failure
Questions:
- How to broadcast signed transaction? There's Submit External Transaction method which even mentions regular
submitTransaction
in the doc, however the latter is not present anywhere right now. - What is the balance method?
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request