Methods
approveSession ({required int id , required Map <String , Namespace > namespaces , String ? relayProtocol })
→ Future <ApproveResponse >
disconnectSession ({required String topic , required WalletConnectError reason })
→ Future <void >
inherited
emitSessionEvent ({required String topic , required String chainId , required SessionEventParams event })
→ Future <void >
extendSession ({required String topic })
→ Future <void >
find ({required Map <String , RequiredNamespace > requiredNamespaces })
→ SessionData ?
getActiveSessions ()
→ Map <String , SessionData >
inherited
getPendingSessionProposals ()
→ Map <String , ProposalData >
inherited
getPendingSessionRequests ()
→ Map <String , SessionRequest >
getSessionsForPairing ({required String pairingTopic })
→ Map <String , SessionData >
inherited
init ()
→ Future <void >
inherited
noSuchMethod (Invocation invocation )
→ dynamic
Invoked when a nonexistent method or property is accessed.
inherited
pair ({required Uri uri })
→ Future <PairingInfo >
registerAccount ({required String chainId , required String accountAddress })
→ void
Register accounts for a given namespace or chainId.
Used to construct the Namespaces map for the session proposal.
Each account must follow the namespace:chainId:address format or this will throw an error.
registerEventEmitter ({required String chainId , required String event })
→ void
Register event emitters for a given namespace or chainId
Used to construct the Namespaces map for the session proposal
registerRequestHandler ({required String chainId , required String method , dynamic handler (String , dynamic )? })
→ void
rejectSession ({required int id , required WalletConnectError reason })
→ Future <void >
respondSessionRequest ({required String topic , required JsonRpcResponse response })
→ Future <void >
toString ()
→ String
A string representation of this object.
inherited
updateSession ({required String topic , required Map <String , Namespace > namespaces })
→ Future <void >
walletconnect_dart_v2_i 2.1.9