Type alias KeyringResponse

KeyringResponse: Infer<typeof KeyringResponseStruct>

Response to a call to submitRequest.

Keyring implementations must return a response with pending: true if the request will be handled asynchronously. Otherwise, the response must contain the result of the request and pending: false.

In the asynchronous case, the keyring can return a redirect URL and message to be shown to the user. The user can choose to follow the link or cancel the request. The main use case for this is to redirect the user to the snap dapp to review the request.