listTrades

fun listTrades(partyATokenType: String? = null, partyATokenAddress: String? = null, partyATokenId: String? = null, partyBTokenType: String? = null, partyBTokenAddress: String? = null, partyBTokenId: String? = null, pageSize: Int? = null, cursor: String? = null, orderBy: String? = null, direction: String? = null, minTimestamp: String? = null, maxTimestamp: String? = null): ListTradesResponse

Get a list of trades Get a list of trades

Return

ListTradesResponse

Parameters

partyATokenType

Party A's sell token type (optional)

partyATokenAddress

Party A's sell token address (optional)

partyATokenId

Party A's sell token id (optional)

partyBTokenType

Party B's sell token type (optional)

partyBTokenAddress

Party B's sell token address (optional)

partyBTokenId

Party B's sell token id (optional)

pageSize

Page size of the result (optional)

cursor

Cursor (optional)

orderBy

Property to sort by (optional)

direction

Direction to sort (asc/desc) (optional)

minTimestamp

Minimum timestamp for this trade, in ISO 8601 UTC format. Example: '2022-05-27T00:10:22Z' (optional)

maxTimestamp

Maximum timestamp for this trade, in ISO 8601 UTC format. Example: '2022-05-27T00:10:22Z' (optional)

Throws

If the API returns an informational or redirection response

org.openapitools.client.infrastructure.ClientException

If the API returns a client error response

org.openapitools.client.infrastructure.ServerException

If the API returns a server error response