buyingAsset

fun buyingAsset(assetType: String, assetCode: String? = null, assetIssuer: String? = null): OrderBookRequestBuilder

Sets the buying asset for the order book query.

Return

This request builder instance

Parameters

assetType

The asset type (native, credit_alphanum4, credit_alphanum12)

assetCode

The asset code (null for native)

assetIssuer

The asset issuer account ID (null for native)

See also


Sets the buying asset for the order book query.

Return

This request builder instance

Parameters

asset

The asset being bought

See also