DesktopBrowserSession class
Desktop Browser Session
Connects a web dApp to a desktop browser wallet extension.
Constructors
- DesktopBrowserSession.new(DesktopBrowserProvider provider)
-
Creates a desktop browser session for
provider
.const
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- provider → DesktopBrowserProvider
-
The web browser's wallet extension.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
Non-privileged method
-
cloneAuthorization(
) → Future< CloneAuthorizationResult> -
Privileged Methods
-
Non-privileged method
-
generateAuthToken(
) → String - Generates a random string to be used as an auth token.
-
getCapabilities(
) → Future< GetCapabilitiesResult> -
Non-privileged method
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
Non-privileged method
-
signAndSendTransactions(
SignAndSendTransactionsParams params) → Future< SignAndSendTransactionsResult> -
Privileged Methods
-
signMessages(
SignMessagesParams params) → Future< SignMessagesResult> -
Privileged Methods
-
signTransactions(
SignTransactionsParams params) → Future< SignTransactionsResult> -
Privileged Methods
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Properties
- payloadKey → String
-
The payload's JSON key value.
no setter
- payloadsKey → String
-
The payloads' JSON key value.
no setter
- pubkeyKey → String
-
The public key's JSON key value.
no setter
- signatureKey → String
-
The signature's JSON key value.
no setter
- signaturesKey → String
-
The signatures' JSON key value.
no setter
- transactionKey → String
-
The transaction's JSON key value.
no setter