SignEngine class
Methods
approveSession ({required int id , required Map <String , Namespace > namespaces , Map <String , String > ? sessionProperties , String ? relayProtocol })
→ Future <ApproveResponse >
Approves a proposal with the id provided in the parameters.
Assumes the proposal is already created.
override
checkAndExpire ()
→ Future <void >
override
connect ({Map <String , RequiredNamespace > ? requiredNamespaces , Map <String , RequiredNamespace > ? optionalNamespaces , Map <String , String > ? sessionProperties , String ? pairingTopic , List <Relay > ? relays , List <List <String > > ? methods = DEFAULT_METHODS })
→ Future <ConnectResponse >
override
disconnectSession ({required String topic , required WalletConnectError reason })
→ Future <void >
override
emitSessionEvent ({required String topic , required String chainId , required SessionEventParams event })
→ Future <void >
override
extendSession ({required String topic })
→ Future <void >
override
find ({required Map <String , RequiredNamespace > requiredNamespaces })
→ SessionData ?
override
getActiveSessions ()
→ Map <String , SessionData >
override
getPendingSessionProposals ()
→ Map <String , ProposalData >
override
getPendingSessionRequests ()
→ Map <String , SessionRequest >
override
getSessionsForPairing ({required String pairingTopic })
→ Map <String , SessionData >
override
init ()
→ Future <void >
override
noSuchMethod (Invocation invocation )
→ dynamic
Invoked when a nonexistent method or property is accessed.
inherited
pair ({required Uri uri })
→ Future <PairingInfo >
override
ping ({required String topic })
→ Future <void >
override
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.
override
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
override
registerEventHandler ({required String chainId , required String event , dynamic handler (String , dynamic )? })
→ void
override
registerRequestHandler ({required String chainId , required String method , dynamic handler (String , dynamic )? })
→ void
override
rejectSession ({required int id , required WalletConnectError reason })
→ Future <void >
override
request ({required String topic , required String chainId , required SessionRequestParams request })
→ Future
override
respondSessionRequest ({required String topic , required JsonRpcResponse response })
→ Future <void >
override
toString ()
→ String
A string representation of this object.
inherited
updateSession ({required String topic , required Map <String , Namespace > namespaces })
→ Future <void >
override
walletconnect_dart_v2_i 2.1.9