Created
September 7, 2018 14:50
-
-
Save luyzdeleon/5e17e911efba818a24418a806281adc7 to your computer and use it in GitHub Desktop.
Send transaction Pocket
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Pocket.shared.sendTransaction(transaction: transaction) { (transactionResponse, error) in | |
if error != nil { | |
return | |
} | |
guard let txHash = transactionResponse?.hash else { | |
return | |
} | |
// Do something with the txHash | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment