adamant-api / api / TransactionQueryParameters
Interface: TransactionQueryParameters
Defined in: src/api/index.ts:262
Query parameters shared by the transaction-style endpoints: /api/transactions, /api/chats/get, /api/chatrooms, and /api/states/get.
Two things to keep in mind:
- Filter combination. Top-level filter conditions are combined with
andby default — see TransactionQuery to opt intoor. Control and pagination fields (limit,offset,orderBy,returnUnconfirmed) are never treated as filters. - Endpoint support varies. The node does not reject unknown query fields, but each endpoint only applies a subset of these in its SQL, so passing a field an endpoint ignores simply has no effect. The applicable filters were verified against the node's per-module query builders, not just the docs. Amount filters (
minAmount/maxAmount) are honored only by/api/transactionsand are therefore declared on TransactionsOptions rather than here.
See
- https://docs.adamant.im/api/transactions-query-language.html
- https://github.com/Adamant-im/adamant/blob/dev/modules/transactions.js
Extended by
Properties
blockId?
ts
optional blockId?: string;Defined in: src/api/index.ts:264
fromHeight?
ts
optional fromHeight?: number;Defined in: src/api/index.ts:265
fromTimestamp?
ts
optional fromTimestamp?: number;Defined in: src/api/index.ts:267
inId?
ts
optional inId?: string;Defined in: src/api/index.ts:274
isIn?
ts
optional isIn?: string;Defined in: src/api/index.ts:275
limit?
ts
optional limit?: number;Defined in: src/api/index.ts:276
maxFee?
ts
optional maxFee?: number;Defined in: src/api/index.ts:270
minConfirmations?
ts
optional minConfirmations?: number;Defined in: src/api/index.ts:271
minFee?
ts
optional minFee?: number;Defined in: src/api/index.ts:269
offset?
ts
optional offset?: number;Defined in: src/api/index.ts:277
orderBy?
ts
optional orderBy?: string;Defined in: src/api/index.ts:278
recipientId?
ts
optional recipientId?: string;Defined in: src/api/index.ts:273
returnUnconfirmed?
ts
optional returnUnconfirmed?: 0 | 1;Defined in: src/api/index.ts:263
senderId?
ts
optional senderId?: string;Defined in: src/api/index.ts:272
toHeight?
ts
optional toHeight?: number;Defined in: src/api/index.ts:266
toTimestamp?
ts
optional toTimestamp?: number;Defined in: src/api/index.ts:268