This repository was archived by the owner on Jun 12, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 34
API Documentation
mace edited this page Jul 30, 2020
·
17 revisions
configure
configure(configuration: Partial<SnapConfig>): Promise<void>;Configures snap for the specific network. It is possible to send custom configuration or select one from a set of predefined configurations by defining specific networkName.
getPublicKey
getPublicKey(): Promise<string>getAddress
getAddress(): Promise<string>getBalance
getBalance(): Promise<string>exportPrivateKey
exportPrivateKey(): Promise<string>signMessage
signMessage(message: PartialMessage): Promise<SignedMessage>signMessageRaw
signMessageRaw(message: string): Promise<string>sendMessage
sendMessage(signedMessage: SignedMessage): Promise<BlockInfo>getMessages
getMessages(): Promise<MessageStatus[]>