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
42
43
44
45
46
47
48
49
50
51
52
53
// Code generated by tygo. DO NOT EDIT.
//////////
// source: models.go
/**
* DepositItem ... Deposit item model for API responses
*/
export interface DepositItem {
guid: string;
from: string;
to: string;
timestamp: number /* uint64 */;
l1BlockHash: string;
l1TxHash: string;
l2TxHash: string;
amount: string;
l1TokenAddress: string;
l2TokenAddress: string;
}
/**
* DepositResponse ... Data model for API JSON response
*/
export interface DepositResponse {
cursor: string;
hasNextPage: boolean;
items: DepositItem[];
}
/**
* WithdrawalItem ... Data model for API JSON response
*/
export interface WithdrawalItem {
guid: string;
from: string;
to: string;
transactionHash: string;
messageHash: string;
timestamp: number /* uint64 */;
l2BlockHash: string;
amount: string;
proofTransactionHash: string;
claimTransactionHash: string;
l1TokenAddress: string;
l2TokenAddress: string;
}
/**
* WithdrawalResponse ... Data model for API JSON response
*/
export interface WithdrawalResponse {
cursor: string;
hasNextPage: boolean;
items: WithdrawalItem[];
}