ReownWalletKit class
Implemented types
Mixed-in types
Methods
approveSession ({required int id , required Map <String , Namespace > namespaces , Map <String , String > ? sessionProperties , String ? relayProtocol })
→ Future <ApproveResponse >
override
approveSessionAuthenticate ({required int id , List <Cacao > ? auths })
→ Future <ApproveResponse >
override
didChangeAccessibilityFeatures ()
→ void
Called when the system changes the set of currently active accessibility
features.
inherited
didChangeAppLifecycleState (AppLifecycleState state )
→ void
Called when the system puts the app in the background or returns
the app to the foreground.
override
didChangeLocales (List <Locale > ? locales )
→ void
Called when the system tells the app that the user's locale has
changed. For example, if the user changes the system language
settings.
inherited
didChangeMetrics ()
→ void
Called when the application's dimensions change. For example,
when a phone is rotated.
inherited
didChangePlatformBrightness ()
→ void
Called when the platform brightness changes.
inherited
didChangeTextScaleFactor ()
→ void
Called when the platform's text scale factor changes.
inherited
didChangeViewFocus (ViewFocusEvent event )
→ void
Called whenever the PlatformDispatcher receives a notification that the
focus state on a view has changed.
inherited
didHaveMemoryPressure ()
→ void
Called when the system is running low on memory.
inherited
didPopRoute ()
→ Future <bool >
Called when the system tells the app to pop the current route, such as
after a system back button press or back gesture.
inherited
didPushRoute (String route )
→ Future <bool >
Called when the host tells the application to push a new route onto the
navigator.
inherited
didPushRouteInformation (RouteInformation routeInformation )
→ Future <bool >
Called when the host tells the application to push a new
RouteInformation and a restoration state onto the router.
inherited
didRequestAppExit ()
→ Future <AppExitResponse >
Called when a request is received from the system to exit the application.
inherited
disconnectSession ({required String topic , required ReownSignError reason })
→ Future <void >
override
dispatchEnvelope (String url )
→ Future <void >
override
emitSessionEvent ({required String topic , required String chainId , required SessionEventParams event })
→ Future <void >
override
erc20TokenBalance ({required String chainId , required String token , required String owner })
→ Future <String >
override
estimateFees ({required String chainId })
→ Future <Eip1559EstimationCompat >
override
execute ({required UiFieldsCompat uiFields , required List <String > routeTxnSigs , required String initialTxnSig })
→ Future <ExecuteDetailsCompat >
override
extendSession ({required String topic })
→ Future <void >
override
find ({required Map <String , RequiredNamespace > requiredNamespaces })
→ SessionData ?
override
formatAuthMessage ({required String iss , required CacaoRequestPayload cacaoPayload })
→ String
override
getActiveSessions ()
→ Map <String , SessionData >
override
getPendingSessionAuthRequests ()
→ Map <int , PendingSessionAuthRequest >
override
getPendingSessionProposals ()
→ Map <String , ProposalData >
override
getPendingSessionRequests ()
→ Map <String , SessionRequest >
override
getSessionsForPairing ({required String pairingTopic })
→ Map <String , SessionData >
override
handleCancelBackGesture ()
→ void
Called when a predictive back gesture is canceled, indicating that no
navigation should occur.
inherited
handleCommitBackGesture ()
→ void
Called when a predictive back gesture is finished successfully, indicating
that the current route should be popped.
inherited
handleStartBackGesture (PredictiveBackEvent backEvent )
→ bool
Called at the start of a predictive back gesture.
inherited
handleUpdateBackGestureProgress (PredictiveBackEvent backEvent )
→ void
Called when a predictive back gesture moves.
inherited
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
prepare ({required String chainId , required String from , required CallCompat call , Currency ? localCurrency })
→ Future <PrepareDetailedResponseCompat >
override
redirectToDapp ({required String topic , required Redirect ? redirect })
→ Future <bool >
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
registerRequestHandler ({required String chainId , required String method , dynamic handler (String , dynamic )? })
→ void
override
rejectSession ({required int id , required ReownSignError reason })
→ Future <void >
override
rejectSessionAuthenticate ({required int id , required ReownSignError reason })
→ Future <void >
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
validateSignedCacao ({required Cacao cacao , required String projectId })
→ Future <bool >
override