🚀
HathorPay Developer Documentation
  • USE-HATHORPAY
  • Functions
    • API Reference
      • connect
      • disconnect
      • getBalance
      • getConnectionStatus
      • getSignature
      • getTokenOwnerStatus
      • getWalletVersion
      • isHathorpayAvailable
      • sendToken
      • verifySignature
  • More features coming soon
Powered by GitBook
On this page
  • Parameters
  • Returns in callback function
  1. Functions
  2. API Reference

sendToken

sendToken(address, tokenUid, amount, callbackFunc);

Parameters

address: recipient's address

tokenUid: "", "0" or "00" for HTR, otherwise token uid for specific token.

amount: if empty string, amount will be processed as 1, otherwise input amount (e.g: input 1 for 0.01 HTR)

callbackFunc: callback functions for execute transaction result

Returns in callback function

{
    status: true
}

or

{
    status: false
}
PreviousisHathorpayAvailableNextverifySignature

Last updated 3 years ago