Browse Source

Merge pull request #201 from hermeznetwork/api-amounts

More realistic example amounts
feature/sql-semaphore1
a_bennassar 4 years ago
committed by GitHub
parent
commit
c67b1df8cd
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 5 deletions
  1. +5
    -5
      api/swagger.yml

+ 5
- 5
api/swagger.yml

@ -1283,7 +1283,7 @@ components:
allOf: allOf:
- $ref: '#/components/schemas/BigInt' - $ref: '#/components/schemas/BigInt'
- description: Amount of tokens to be sent. - description: Amount of tokens to be sent.
example: "63"
example: "6300000000000000000"
fee: fee:
$ref: '#/components/schemas/FeeSelector' $ref: '#/components/schemas/FeeSelector'
nonce: nonce:
@ -1388,7 +1388,7 @@ components:
allOf: allOf:
- $ref: '#/components/schemas/BigInt' - $ref: '#/components/schemas/BigInt'
- description: Amount of tokens to be sent. - description: Amount of tokens to be sent.
example: "63"
example: "6303020000000000000"
fee: fee:
$ref: '#/components/schemas/FeeSelector' $ref: '#/components/schemas/FeeSelector'
nonce: nonce:
@ -1438,7 +1438,7 @@ components:
allOf: allOf:
- $ref: '#/components/schemas/BigInt' - $ref: '#/components/schemas/BigInt'
- description: Amount of tokens to be sent. - description: Amount of tokens to be sent.
- example: "7"
- example: "700000000000000000"
- nullable: true - nullable: true
requestFee: requestFee:
allOf: allOf:
@ -1606,7 +1606,7 @@ components:
allOf: allOf:
- $ref: '#/components/schemas/BigInt' - $ref: '#/components/schemas/BigInt'
- description: Amount of tokens to be sent. - description: Amount of tokens to be sent.
- example: "49"
- example: "4903020000000000000"
batchNum: batchNum:
type: integer type: integer
description: Batch in which the transaction was forged. Null indicates not forged yet. description: Batch in which the transaction was forged. Null indicates not forged yet.
@ -1643,7 +1643,7 @@ components:
allOf: allOf:
- $ref: '#/components/schemas/BigInt' - $ref: '#/components/schemas/BigInt'
- description: Tokens transfered from L1 to L2. - description: Tokens transfered from L1 to L2.
- example: "49"
- example: "4900000000000000000"
historicLoadAmountUSD: historicLoadAmountUSD:
type: number type: number
description: Load amount in USD, at the moment the transaction was made. description: Load amount in USD, at the moment the transaction was made.

Loading…
Cancel
Save