Skip to content

Instantly share code, notes, and snippets.

@luyzdeleon
Created September 7, 2018 14:50
Show Gist options
  • Save luyzdeleon/5e17e911efba818a24418a806281adc7 to your computer and use it in GitHub Desktop.
Save luyzdeleon/5e17e911efba818a24418a806281adc7 to your computer and use it in GitHub Desktop.
Send transaction Pocket
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