Merge pull request #201 from hermeznetwork/api-amounts

More realistic example amounts
This commit is contained in:
a_bennassar
2020-10-16 10:57:34 +02:00
committed by GitHub

View File

@@ -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:
@@ -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:
@@ -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:
@@ -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.
@@ -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.