Package foundation.icon.icx
Interface Wallet
-
- All Known Implementing Classes:
KeyWallet
public interface Wallet
Wallet class signs the message(a transaction message to send) using own key-pair
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Address
getAddress()
Gets the address corresponding the key of the walletbyte[]
sign(byte[] data)
Signs the data to generate a signature
-
-
-
Method Detail
-
getAddress
Address getAddress()
Gets the address corresponding the key of the wallet- Returns:
- address
-
sign
byte[] sign(byte[] data)
Signs the data to generate a signature- Parameters:
data
- to sign- Returns:
- signature
-
-