IWeb3Wallet class abstract

Implemented types
Implementers

Constructors

IWeb3Wallet()

Properties

authEngine IAuthEngine
final
authKeys IGenericStore<AuthPublicKey>
finalinherited
authRequests IGenericStore<PendingAuthRequest>
finalinherited
completeRequests IGenericStore<StoredCacao>
finalinherited
core ICore
finalinherited
hashCode int
The hash code for this object.
no setterinherited
metadata PairingMetadata
finalinherited
onAuthRequest → Event<AuthRequest>
finalinherited
onProposalExpire → Event<SessionProposalEvent>
finalinherited
onSessionConnect → Event<SessionConnect>
finalinherited
onSessionDelete → Event<SessionDelete>
finalinherited
onSessionExpire → Event<SessionExpire>
finalinherited
onSessionPing → Event<SessionPing>
finalinherited
onSessionProposal → Event<SessionProposalEvent>
finalinherited
onSessionProposalError → Event<SessionProposalErrorEvent>
finalinherited
onSessionRequest → Event<SessionRequestEvent>
finalinherited
pairings IPairingStore
finalinherited
pairingTopics IGenericStore<String>
finalinherited
pendingRequests IGenericStore<SessionRequest>
finalinherited
proposals IGenericStore<ProposalData>
finalinherited
protocol String
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sessions ISessions
finalinherited
signEngine ISignEngine
final
version int
final

Methods

approveSession({required int id, required Map<String, Namespace> namespaces, String? relayProtocol}) Future<ApproveResponse>
inherited
disconnectSession({required String topic, required WalletConnectError reason}) 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
format payload to message string
inherited
getActiveSessions() Map<String, SessionData>
inherited
getCompletedRequestsForPairing({required String pairingTopic}) Map<int, StoredCacao>
inherited
getPendingAuthRequests() Map<int, PendingAuthRequest>
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
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
respondAuthRequest({required int id, required String iss, CacaoSignature? signature, WalletConnectError? error}) Future<void>
respond wallet authentication
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

Operators

operator ==(Object other) bool
The equality operator.
inherited