arnaucube
arnaucube/hermez-nodePublic Self-hosted repository
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
commit

c67b1df8cd3d997c3c9f331bb380420ae32fe291

parent

b6ebbbaf9516bf0f99f27ba0989a555babc9ba18

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.