Merge pull request #201 from hermeznetwork/api-amounts More realistic example amounts
a_bennassar arnaubennassar5@gmail.com
Fri, 16 Oct 2020 10:57:34 +0200
1 files changed,
5 insertions(+),
5 deletions(-)
jump to
M
api/swagger.yml
→
api/swagger.yml
@@ -1283,7 +1283,7 @@ amount:
allOf: - $ref: '#/components/schemas/BigInt' - description: Amount of tokens to be sent. - example: "63" + example: "6300000000000000000" fee: $ref: '#/components/schemas/FeeSelector' nonce:@@ -1388,7 +1388,7 @@ amount:
allOf: - $ref: '#/components/schemas/BigInt' - description: Amount of tokens to be sent. - example: "63" + example: "6303020000000000000" fee: $ref: '#/components/schemas/FeeSelector' nonce:@@ -1438,7 +1438,7 @@ requestAmount:
allOf: - $ref: '#/components/schemas/BigInt' - description: Amount of tokens to be sent. - - example: "7" + - example: "700000000000000000" - nullable: true requestFee: allOf:@@ -1606,7 +1606,7 @@ amount:
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.@@ -1643,7 +1643,7 @@ loadAmount:
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.