-
Notifications
You must be signed in to change notification settings - Fork 49
Expand file tree
/
Copy pathtransaction.ts
More file actions
41 lines (40 loc) · 982 Bytes
/
transaction.ts
File metadata and controls
41 lines (40 loc) · 982 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
import { ElasticSortable } from "./elastic.sortable";
export interface Transaction extends ElasticSortable {
hash: string;
miniBlockHash: string;
nonce: number;
round: number;
value: string;
receiver: string;
receiverUserName: string;
receiverUsername: string; // for newer ES indexer versions
sender: string;
senderUserName: string;
senderUsername: string; // for newer ES indexer versions
receiverShard: number;
senderShard: number;
gasPrice: string;
gasLimit: string;
gasUsed: string;
fee: string;
data: string;
signature: string;
timestamp: number;
status: string;
searchOrder: number;
hasScResults: boolean;
hasOperations: boolean;
tokens: string[];
esdtValues: string[];
receivers: string[];
receiversShardIDs: number[];
operation: string;
scResults: any[];
version: number;
relayerAddr: string;
relayer: string;
relayerSignature: string;
isRelayed: boolean;
isScCall: boolean;
timestampMs: number;
}