Federation class
Implements Federation protocol. See Federation Protocol
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
resolveForward(
Map< String, String> forwardQueryParameters, String federationServerUrl) → Future<FederationResponse> -
Resolves a stellar forward.
The url of the federation server and the forward query parameters have to be provided.
Returns a
FederationResponse
object. -
resolveStellarAccountId(
String accountId, String federationServerUrl) → Future< FederationResponse> -
Resolves a stellar account id such as GBVPKXWMAB3FIUJB6T7LF66DABKKA2ZHRHDOQZ25GBAEFZVHTBPJNOJI
The url of the federation server has to be provided.
Returns a
FederationResponse
object. -
resolveStellarAddress(
String address) → Future< FederationResponse> -
Resolves a stellar address such as bob*soneso.com.
Returns a
FederationResponse
object. -
resolveStellarTransactionId(
String txId, String federationServerUrl) → Future< FederationResponse> -
Resolves a stellar account transaction id such as c1b368c00e9852351361e07cc58c54277e7a6366580044ab152b8db9cd8ec52a
The url of the federation server has to be provided.
Returns a
FederationResponse
object.