TradesRequestBuilder class

Builds requests connected to trades.

Inheritance

Constructors

TradesRequestBuilder(Client httpClient, Uri serverURI)

Properties

hashCode int
The hash code for this object. [...]
read-only, inherited
httpClient Client
read / write, inherited
queryParameters Map<String, String>
read / write, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
uriBuilder Uri
read / write, inherited

Methods

baseAsset(Asset asset) TradesRequestBuilder
buildUri() Uri
inherited
counterAsset(Asset asset) TradesRequestBuilder
cursor(String cursor) RequestBuilder
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.
inherited
encodeAsset(Asset asset) String
inherited
execute() Future<Page<TradeResponse>>
forAccount(String accountId) TradesRequestBuilder
Returns the trades for a given account by accountId. See: Trades for Account
limit(int number) RequestBuilder
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.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
offerId(String offerId) TradesRequestBuilder
order(RequestBuilderOrder direction) RequestBuilder
Sets order parameter on the request.
inherited
setSegments(List<String> segments) RequestBuilder
inherited
toString() String
Returns a string representation of this object.
inherited

Operators

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

Static Methods

requestExecute(Client httpClient, Uri uri) Future<Page<TradeResponse>>