From ce283d44190212972bd775957a9ae3f9868f3fe9 Mon Sep 17 00:00:00 2001 From: Alberto Elias Date: Thu, 15 Oct 2020 17:39:56 +0200 Subject: [PATCH 1/2] More realistic example amounts --- api/swagger.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/api/swagger.yml b/api/swagger.yml index b709c8e..efcdcf3 100644 --- a/api/swagger.yml +++ b/api/swagger.yml @@ -1388,7 +1388,7 @@ components: allOf: - $ref: '#/components/schemas/BigInt' - description: Amount of tokens to be sent. - example: "63" + example: "6303020000000000000" fee: $ref: '#/components/schemas/FeeSelector' nonce: @@ -1606,7 +1606,7 @@ components: allOf: - $ref: '#/components/schemas/BigInt' - description: Amount of tokens to be sent. - - example: "49" + - example: "4903020000000000000" batchNum: type: integer description: Batch in which the transaction was forged. Null indicates not forged yet. From b2f0b2e314c0a23af0dd97ceacd860a6060cde6f Mon Sep 17 00:00:00 2001 From: Alberto Elias Date: Fri, 16 Oct 2020 10:50:15 +0200 Subject: [PATCH 2/2] Updates request and load amounts --- api/swagger.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/api/swagger.yml b/api/swagger.yml index efcdcf3..159c2c5 100644 --- a/api/swagger.yml +++ b/api/swagger.yml @@ -1283,7 +1283,7 @@ components: allOf: - $ref: '#/components/schemas/BigInt' - description: Amount of tokens to be sent. - example: "63" + example: "6300000000000000000" fee: $ref: '#/components/schemas/FeeSelector' nonce: @@ -1438,7 +1438,7 @@ components: allOf: - $ref: '#/components/schemas/BigInt' - description: Amount of tokens to be sent. - - example: "7" + - example: "700000000000000000" - nullable: true requestFee: allOf: @@ -1643,7 +1643,7 @@ components: allOf: - $ref: '#/components/schemas/BigInt' - description: Tokens transfered from L1 to L2. - - example: "49" + - example: "4900000000000000000" historicLoadAmountUSD: type: number description: Load amount in USD, at the moment the transaction was made.