Wallet API
Properties
window.havah
Example
if (window.havah) {
console.log('HAVAH wallet is installed!');
}Methods
havah.accounts()
Interface
interface AccountResult {
address: string;
nid: string;
error?: string;
}
havah.accounts(): Promise<AccountResult>;Example
havah.connect()
Interface
Example
havah.sign()
Interface
Example
havah.sendTransaction()
Interface
Parameter
Example - Contract Call
Example - HVH Transfer
Events
accountsChanged
networkChanged
Last updated