RegulatedAssetsService class
Constructors
- RegulatedAssetsService(StellarToml tomlData, {Client? httpClient, String? horizonUrl, Network? network})
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- httpClient ↔ Client
-
getter/setter pair
- network ↔ Network
-
getter/setter pair
-
regulatedAssets
↔ List<
RegulatedAsset> -
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- sdk ↔ StellarSDK
-
getter/setter pair
- tomlData ↔ StellarToml
-
getter/setter pair
Methods
- Checks if authorization is required for the given asset. To do so, it loads the issuer account data from the stellar network and checks if the both flags 'authRequired' and 'authRevocable' are set.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
postAction(
String url, Map< String, dynamic> actionFields) → Future<PostActionResponse> -
postTransaction(
String tx, String approvalServer) → Future< PostTransactionResponse> - Sends a transaction to be evaluated and signed by the approval server.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
fromDomain(
String domain, {Client? httpClient, String? horizonUrl, Network? network}) → Future< RegulatedAssetsService> -
Creates an instance of this class by loading the toml data from the given
domain
stellar toml file.