Web3App class
- Implemented types
Constructors
- Web3App({required ICore core, required PairingMetadata metadata})
Properties
- authEngine ↔ IAuthEngine
-
getter/setter pairoverride-getter
-
authKeys
→ IGenericStore<
AuthPublicKey> -
no setteroverride
-
completeRequests
→ IGenericStore<
StoredCacao> -
no setteroverride
- core → ICore
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- metadata → PairingMetadata
-
final
-
onAuthResponse
→ Event<
AuthResponse> -
---------- AUTH ENGINE ----------///
no setteroverride
-
onProposalExpire
→ Event<
SessionProposalEvent> -
no setteroverride
-
onSessionConnect
→ Event<
SessionConnect> -
---------- SIGN ENGINE ----------///
no setteroverride
-
onSessionDelete
→ Event<
SessionDelete> -
no setteroverride
-
onSessionEvent
→ Event<
SessionEvent> -
no setteroverride
-
onSessionExpire
→ Event<
SessionExpire> -
no setteroverride
-
onSessionExtend
→ Event<
SessionExtend> -
no setteroverride
-
onSessionPing
→ Event<
SessionPing> -
no setteroverride
-
onSessionUpdate
→ Event<
SessionUpdate> -
no setteroverride
- pairings → IPairingStore
-
no setteroverride
-
pairingTopics
→ IGenericStore<
String> -
no setteroverride
-
pendingRequests
→ IGenericStore<
SessionRequest> -
no setteroverride
-
proposals
→ IGenericStore<
ProposalData> -
no setteroverride
- protocol → String
-
---------- GENERIC ----------///
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- sessions → ISessions
-
no setteroverride
- signEngine ↔ ISignEngine
-
getter/setter pairoverride-getter
- version → int
-
final
Methods
-
connect(
{Map< String, RequiredNamespace> ? requiredNamespaces, Map<String, RequiredNamespace> ? optionalNamespaces, Map<String, String> ? sessionProperties, String? pairingTopic, List<Relay> ? relays, List<List< ? methods = DEFAULT_METHODS}) → Future<String> >ConnectResponse> -
override
-
disconnectSession(
{required String topic, required WalletConnectError reason}) → Future< void> -
override
-
formatAuthMessage(
{required String iss, required CacaoRequestPayload cacaoPayload}) → String -
format payload to message string
override
-
getActiveSessions(
) → Map< String, SessionData> -
override
-
getCompletedRequestsForPairing(
{required String pairingTopic}) → Map< int, StoredCacao> -
override
-
getPendingSessionProposals(
) → Map< String, ProposalData> -
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
-
ping(
{required String topic}) → Future< void> -
override
-
registerEventHandler(
{required String chainId, required String event, void handler(String, dynamic)?}) → void -
override
-
request(
{required String topic, required String chainId, required SessionRequestParams request}) → Future -
override
-
requestAuth(
{required AuthRequestParams params, String? pairingTopic, List< List< ? methods = DEFAULT_METHODS}) → Future<String> >AuthRequestResponse> -
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
createInstance(
{required String projectId, String relayUrl = WalletConnectConstants.DEFAULT_RELAY_URL, required PairingMetadata metadata, IStore< Map< ? store, LogLevel logLevel = LogLevel.nothing, HttpWrapper httpClient = const HttpWrapper()}) → Future<String, dynamic> >Web3App>
Constants
-
DEFAULT_METHODS
→ const List<
List< String> >