Implemented types
Implementers
Methods
approveSession ({required int id , required Map <String , Namespace > namespaces , Map <String , String > ? sessionProperties , String ? relayProtocol })
→ Future <ApproveResponse >
inherited
approveSessionAuthenticate ({required int id , List <Cacao > ? auths })
→ Future <ApproveResponse >
inherited
disconnectSession ({required String topic , required WalletConnectError reason })
→ Future <void >
inherited
dispatchEnvelope (String url )
→ Future <void >
inherited
emitSessionEvent ({required String topic , required String chainId , required SessionEventParams event })
→ Future <void >
inherited
extendSession ({required String topic })
→ Future <void >
inherited
find ({required Map <String , RequiredNamespace > requiredNamespaces })
→ SessionData ?
inherited
formatAuthMessage ({required String iss , required CacaoRequestPayload cacaoPayload })
→ String
inherited
getActiveSessions ()
→ Map <String , SessionData >
inherited
getCompletedRequestsForPairing ({required String pairingTopic })
→ Map <int , StoredCacao >
inherited
getPendingAuthRequests ()
→ Map <int , PendingAuthRequest >
inherited
getPendingSessionAuthRequests ()
→ Map <int , PendingSessionAuthRequest >
inherited
getPendingSessionProposals ()
→ Map <String , ProposalData >
inherited
getPendingSessionRequests ()
→ Map <String , SessionRequest >
inherited
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 >
inherited
redirectToDapp ({required String topic , required Redirect ? redirect })
→ Future <bool >
inherited
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.
inherited
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
inherited
registerRequestHandler ({required String chainId , required String method , dynamic handler (String , dynamic )? })
→ void
inherited
rejectSession ({required int id , required WalletConnectError reason })
→ Future <void >
inherited
rejectSessionAuthenticate ({required int id , required WalletConnectError reason })
→ Future <void >
inherited
respondAuthRequest ({required int id , required String iss , CacaoSignature ? signature , WalletConnectError ? error })
→ Future <void >
Construct the Namespaces map for a session proposal.
Uses the registered methods, events, and keys to build them.
If the required namespaces is not satisfied, this function will throw a WalletConnectError .
The optional namespaces are included if they exist in the registered information.
inherited
respondSessionRequest ({required String topic , required JsonRpcResponse response })
→ Future <void >
inherited
toString ()
→ String
A string representation of this object.
inherited
updateSession ({required String topic , required Map <String , Namespace > namespaces })
→ Future <void >
inherited
validateSignedCacao ({required Cacao cacao , required String projectId })
→ Future <bool >
inherited
walletconnect_flutter_v2 2.4.1