AlgoSignerPlugin class Null safety

A web implementation of the AlgoSigner plugin.

Inheritance

Constructors

AlgoSignerPlugin()

Properties

hashCode int
The hash code for this object. [...]
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

accounts({required String ledger}) Future<List>
Returns an array of accounts present in the Wallet for the given Network.
algod({required String ledger, required String path, String? body, String? method, String? contentType}) Future<Map<String, dynamic>>
Proxies the requested path to the Algod v2 API. Is limited to endpoints made available by the API server. By default, all calls to the AlgoSigner.algod method are GET.
connect() Future<Map<String, dynamic>>
Requests access to the Wallet for the dApp, may be rejected or approved. Every access to the extension begins with a connect request, which if approved by the user, allows the dApp to follow-up with other requests.
indexer({required String ledger, required String path}) Future<Map<String, dynamic>>
Proxies the requested path to the Indexer v2 API. Is limited to endpoints made available by the API server. The API backend may be configured by advanced users and is not guaranteed to respond as expected.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
send({required String ledger, required String transaction}) Future<String>
Send a base64 encoded signed transaction blob to AlgoSigner to transmit to the Network.
signTransactions({required List<Map<String, dynamic>> transactions}) Future<List<Map<String, dynamic>>>
Send transaction objects to AlgoSigner for approval. The Network is determined from the 'genesis-id' property. If approved, the response is an array of signed transaction objects, with the binary blob field base64 encoded to prevent transmission issues.
toString() String
A string representation of this object. [...]
inherited

Operators

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

Static Methods

registerWith(Registrar registrar) → void