-
public class Web3Wallet
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public interfaceWeb3Wallet.WalletDelegate
-
Field Summary
Fields Modifier and Type Field Description public final static Web3WalletINSTANCE
-
Method Summary
-
-
Method Detail
-
setWalletDelegate
final Unit setWalletDelegate(Web3Wallet.WalletDelegate delegate)
-
initialize
final Unit initialize(Wallet.Params.Init params, Function0<Unit> onSuccess, Function1<Wallet.Model.Error, Unit> onError)
-
registerDeviceToken
final Unit registerDeviceToken(String firebaseAccessToken, Boolean enableEncrypted, Function0<Unit> onSuccess, Function1<Wallet.Model.Error, Unit> onError)
-
decryptMessage
final Unit decryptMessage(Wallet.Params.DecryptMessage params, Function1<Wallet.Model.Message, Unit> onSuccess, Function1<Wallet.Model.Error, Unit> onError)
-
dispatchEnvelope
final Unit dispatchEnvelope(String urlWithEnvelope, Function1<Wallet.Model.Error, Unit> onError)
-
pair
final Unit pair(Wallet.Params.Pair params, Function1<Wallet.Params.Pair, Unit> onSuccess, Function1<Wallet.Model.Error, Unit> onError)
-
approveSession
final Unit approveSession(Wallet.Params.SessionApprove params, Function1<Wallet.Params.SessionApprove, Unit> onSuccess, Function1<Wallet.Model.Error, Unit> onError)
-
generateApprovedNamespaces
final Map<String, Wallet.Model.Namespace.Session> generateApprovedNamespaces(Wallet.Model.SessionProposal sessionProposal, Map<String, Wallet.Model.Namespace.Session> supportedNamespaces)
-
rejectSession
final Unit rejectSession(Wallet.Params.SessionReject params, Function1<Wallet.Params.SessionReject, Unit> onSuccess, Function1<Wallet.Model.Error, Unit> onError)
-
approveSessionAuthenticate
final Unit approveSessionAuthenticate(Wallet.Params.ApproveSessionAuthenticate params, Function1<Wallet.Params.ApproveSessionAuthenticate, Unit> onSuccess, Function1<Wallet.Model.Error, Unit> onError)
-
rejectSessionAuthenticate
final Unit rejectSessionAuthenticate(Wallet.Params.RejectSessionAuthenticate params, Function1<Wallet.Params.RejectSessionAuthenticate, Unit> onSuccess, Function1<Wallet.Model.Error, Unit> onError)
-
generateAuthObject
final Wallet.Model.Cacao generateAuthObject(Wallet.Model.PayloadAuthRequestParams payloadParams, String issuer, Wallet.Model.Cacao.Signature signature)
-
generateAuthPayloadParams
final Wallet.Model.PayloadAuthRequestParams generateAuthPayloadParams(Wallet.Model.PayloadAuthRequestParams payloadParams, List<String> supportedChains, List<String> supportedMethods)
-
updateSession
final Unit updateSession(Wallet.Params.SessionUpdate params, Function1<Wallet.Params.SessionUpdate, Unit> onSuccess, Function1<Wallet.Model.Error, Unit> onError)
-
extendSession
final Unit extendSession(Wallet.Params.SessionExtend params, Function1<Wallet.Params.SessionExtend, Unit> onSuccess, Function1<Wallet.Model.Error, Unit> onError)
-
respondSessionRequest
final Unit respondSessionRequest(Wallet.Params.SessionRequestResponse params, Function1<Wallet.Params.SessionRequestResponse, Unit> onSuccess, Function1<Wallet.Model.Error, Unit> onError)
-
emitSessionEvent
final Unit emitSessionEvent(Wallet.Params.SessionEmit params, Function1<Wallet.Params.SessionEmit, Unit> onSuccess, Function1<Wallet.Model.Error, Unit> onError)
-
disconnectSession
final Unit disconnectSession(Wallet.Params.SessionDisconnect params, Function1<Wallet.Params.SessionDisconnect, Unit> onSuccess, Function1<Wallet.Model.Error, Unit> onError)
-
pingSession
final Unit pingSession(Wallet.Params.Ping params, Wallet.Listeners.SessionPing sessionPing)
-
formatAuthMessage
final String formatAuthMessage(Wallet.Params.FormatAuthMessage params)
Caution: This function is blocking and runs on the current thread. It is advised that this function be called from background operation
-
formatMessage
final String formatMessage(Wallet.Params.FormatMessage params)
Caution: This function is blocking and runs on the current thread. It is advised that this function be called from background operation
-
respondAuthRequest
final Unit respondAuthRequest(Wallet.Params.AuthRequestResponse params, Function1<Wallet.Params.AuthRequestResponse, Unit> onSuccess, Function1<Wallet.Model.Error, Unit> onError)
-
getListOfActiveSessions
final static List<Wallet.Model.Session> getListOfActiveSessions()
Caution: This function is blocking and runs on the current thread. It is advised that this function be called from background operation
-
getActiveSessionByTopic
final Wallet.Model.Session getActiveSessionByTopic(String topic)
Caution: This function is blocking and runs on the current thread. It is advised that this function be called from background operation
-
getPendingSessionRequests
final List<Wallet.Model.PendingSessionRequest> getPendingSessionRequests(String topic)
Caution: This function is blocking and runs on the current thread. It is advised that this function be called from background operation
-
getPendingListOfSessionRequests
final List<Wallet.Model.SessionRequest> getPendingListOfSessionRequests(String topic)
Caution: This function is blocking and runs on the current thread. It is advised that this function be called from background operation
-
getSessionProposals
final List<Wallet.Model.SessionProposal> getSessionProposals()
Caution: This function is blocking and runs on the current thread. It is advised that this function be called from background operation
-
getPendingAuthRequests
final List<Wallet.Model.PendingAuthRequest> getPendingAuthRequests()
Caution: This function is blocking and runs on the current thread. It is advised that this function be called from background operation
-
getVerifyContext
final Wallet.Model.VerifyContext getVerifyContext(Long id)
Caution: This function is blocking and runs on the current thread. It is advised that this function be called from background operation
-
getListOfVerifyContexts
final List<Wallet.Model.VerifyContext> getListOfVerifyContexts()
Caution: This function is blocking and runs on the current thread. It is advised that this function be called from background operation
-
-
-
-