Fix API types (why are they broken again?)
@@ -45,30 +45,34 @@ type ChangePubKey = {
feeToken: number;
fee: string;
nonce: number;
+ signature: {
+ pubKey: string;
+ signature: string;
+ };
type: "ChangePubKey";
};
created_at: string;
};
type Withdraw = {
- "tx_hash": string,
- "block_number": number,
- "op": {
- "amount": string,
- "fee": string,
- "from": string,
- "accountId": number,
- "nonce": number,
- "signature": {
- "pubKey": string,
- "signature": string,
- },
- "to": string,
- "token": number,
- "type": "Withdraw",
- "fast": boolean
- },
- "created_at": string,
+ tx_hash: string;
+ block_number: number;
+ op: {
+ amount: string;
+ fee: string;
+ from: string;
+ accountId: number;
+ nonce: number;
+ signature: {
+ pubKey: string;
+ signature: string;
+ };
+ to: string;
+ token: number;
+ type: "Withdraw";
+ fast: boolean;
+ };
+ created_at: string;
};
type FullExit = {
