TransactionFacade
public protocol TransactionFacade
The interface of the class that allows you to send transactions.
-
sendTransferOperation(fromNameOrId:passwordOrWif:toNameOrId:amount:asset:assetForFee:completion:noticeHandler:)This is a function for sending funds.
Remark
Default asset is
1.3.0
Declaration
Swift
func sendTransferOperation(fromNameOrId: String, passwordOrWif: PassOrWif, toNameOrId: String, amount: UInt, asset: String, assetForFee: String?, completion: @escaping Completion<Bool>, noticeHandler: NoticeHandler?)Parameters
fromNameOrIdSender name or id
passwordOrWifSender password or wif from account
toNameOrIdReceiver name or id
amountAmount
assetId of asset which is sent
assetForFeeId of asset which is pay fee
completionCallback in which the information will return whether the transaction was successful.
View on GitHub
TransactionFacade Protocol Reference