DappRequestContext

data class DappRequestContext(val expiresAt: Instant? = null)

What a transport knows about an inbound request beyond the frame itself.

A JSON-RPC frame carries no deadline, but the envelope around it often does: a WalletConnect session_request names when the dApp stops waiting for an answer. The wallet needs that to run the same clock the dApp runs, so a request it parks for later is declined when the dApp gives up, not on a guess.

Constructors

Link copied to clipboard
constructor(expiresAt: Instant? = null)

Types

Link copied to clipboard
object Companion

Holds the shared NONE context.

Properties

Link copied to clipboard

when the dApp stops waiting for an answer, if the transport carries it.