PhantomDesktopBrowserProvider class
Phantom Desktop Browser Provider
- Inheritance
-
- Object
- DesktopBrowserProvider
- PhantomDesktopBrowserProvider
Constructors
- PhantomDesktopBrowserProvider.new(AppInfo info)
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- info → AppInfo
-
The wallet application's information.
finalinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
connect(
{bool? onlyIfTrusted}) → Future< Map< String, dynamic> > -
Makes a request to connect the wallet provider.
inherited
-
disconnect(
) → Future< Map< String, dynamic> > -
Makes a request to disconnect the wallet provider.
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
object(
) → JsObject? -
Returns the provider's javascript object or null if the provider is not installed.
inherited
-
request<
T> (ProviderRequest< T> request) → dynamic -
Makes a JSON RPC request to the wallet provider.
override
-
signAllTransactions(
List< String> messages) → Future<Map< String, dynamic> > -
Makes a request to sign all transaction
messages
.inherited -
signAndSendTransaction(
String message, {int? minContextSlot}) → Future< Map< String, dynamic> > -
Makes a request to sign and send a transaction
message
to the network.inherited -
signMessage(
List< int> message, [String encoding = 'utf8']) → Future<Map< String, dynamic> > -
Makes a request to sign a transaction
message
(hex or UTF-8 encoded string as a Uint8Array).inherited -
signTransaction(
String message) → Future< Map< String, dynamic> > -
Makes a request to sign a transaction
message
.inherited -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited