@cityofzion/blockchain-service 1.17.1 → 1.18.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { FullTransactionsByAddressParams } from '../interfaces';
|
|
2
2
|
export declare class BSFullTransactionsByAddressHelper {
|
|
3
|
-
static validateFullTransactionsByAddressParams(params: FullTransactionsByAddressParams): void;
|
|
3
|
+
static validateFullTransactionsByAddressParams(params: Omit<FullTransactionsByAddressParams, 'nextCursor'>): void;
|
|
4
4
|
}
|
package/dist/interfaces.d.ts
CHANGED
|
@@ -122,8 +122,14 @@ export type FullTransactionsByAddressParams = {
|
|
|
122
122
|
address: string;
|
|
123
123
|
dateFrom: string;
|
|
124
124
|
dateTo: string;
|
|
125
|
+
pageSize?: number;
|
|
125
126
|
nextCursor?: string;
|
|
126
127
|
};
|
|
128
|
+
export type ExportTransactionsByAddressParams = {
|
|
129
|
+
address: string;
|
|
130
|
+
dateFrom: string;
|
|
131
|
+
dateTo: string;
|
|
132
|
+
};
|
|
127
133
|
export type FullTransactionNftEvent = {
|
|
128
134
|
eventType: 'nft';
|
|
129
135
|
amount: string;
|
|
@@ -192,6 +198,7 @@ export interface BlockchainDataService {
|
|
|
192
198
|
getTransaction(txid: string): Promise<TransactionResponse>;
|
|
193
199
|
getTransactionsByAddress(params: TransactionsByAddressParams): Promise<TransactionsByAddressResponse>;
|
|
194
200
|
getFullTransactionsByAddress(params: FullTransactionsByAddressParams): Promise<FullTransactionsByAddressResponse>;
|
|
201
|
+
exportFullTransactionsByAddress(params: ExportTransactionsByAddressParams): Promise<string>;
|
|
195
202
|
getContract(contractHash: string): Promise<ContractResponse>;
|
|
196
203
|
getTokenInfo(tokenHash: string): Promise<Token>;
|
|
197
204
|
getBalance(address: string): Promise<BalanceResponse[]>;
|