WcRequest

data class WcRequest(val topic: String, val requestId: Long, val chainId: String, val method: String, val params: JsonElement? = null, val expiresAt: Instant? = null)

One inbound WalletConnect session_request, normalised.

requestId is the WalletConnect envelope id the client responds against; method/params are the CIP-0103 JSON-RPC call it carries.

Constructors

Link copied to clipboard
constructor(topic: String, requestId: Long, chainId: String, method: String, params: JsonElement? = null, expiresAt: Instant? = null)

Properties

Link copied to clipboard
Link copied to clipboard

The envelope's expiry: when the dApp stops waiting for an answer.

Link copied to clipboard
Link copied to clipboard
val params: JsonElement?
Link copied to clipboard
Link copied to clipboard