Interface ConnectCallbackData

Callback data for 'connect' command

interface ConnectCallbackData {
    error?: string;
    nodeHost?: string;
    publicKey?: string;
    status: StatusType;
}

Properties

error?: string

If status is 'failed', this field contains the error message.

nodeHost?: string

The wallet's currently selected node host url.

publicKey?: string

Public key returned from connect callback

status: StatusType

Status from sign callback: 'success' | 'rejected' | 'failed'