LiquidityPoolsRequestBuilder class

Inheritance

Constructors

LiquidityPoolsRequestBuilder(Client httpClient, Uri serverURI)

Properties

hashCode int
The hash code for this object.
no setterinherited
httpClient ↔ Client
getter/setter pairinherited
queryParameters Map<String, String>
getter/setter pairinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
uriBuilder Uri
getter/setter pairinherited

Methods

buildUri() Uri
inherited
cursor(String token) LiquidityPoolsRequestBuilder
Sets cursor parameter on the request. A cursor is a value that points to a specific location in a collection of resources. The cursor attribute itself is an opaque value meaning that users should not try to parse it.
override
encodeAsset(Asset asset) String
inherited
encodeAssets(List<Asset> assets) String
inherited
execute() Future<Page<LiquidityPoolResponse>>
Build and execute request.
forPoolId(String poolId) Future<LiquidityPoolResponse>
Requests details about the liquidity pool to fetch by poolId. See Claimable Balances
forReserveAssets(Asset reserveAssetA, Asset reserveAssetB) LiquidityPoolsRequestBuilder
limit(int number) LiquidityPoolsRequestBuilder
Sets limit parameter on the request. It defines maximum number of records to return. For range and default values check documentation of the endpoint requested.
override
liquidityPool(Uri uri) Future<LiquidityPoolResponse>
Requests specific uri and returns LiquidityPoolResponse. This method is helpful for getting the links.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
order(RequestBuilderOrder direction) LiquidityPoolsRequestBuilder
Sets order parameter on the request.
override
setSegments(List<String> segments) RequestBuilder
inherited
toString() String
A string representation of this object.
inherited

Operators

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

Static Methods

requestExecute(Client httpClient, Uri uri) Future<Page<LiquidityPoolResponse>>
Requests specific uri and returns Page of LiquidityPoolResponse. This method is helpful for getting the next set of results.

Constants

RESERVES_PARAMETER_NAME → const String