-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' of https://github.com/nemtech/nem2-openapi
- Loading branch information
Showing
8 changed files
with
61 additions
and
23 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
tags: | ||
- Network routes | ||
summary: Get rental fees information | ||
description: | | ||
Returns the estimated effective rental fees for namespaces and mosaics. | ||
This endpoint is only available if the REST instance has access to catapult-server ``resources/config-network.properties`` file. | ||
To activate this feature, add the setting "network.propertiesFilePath" in the configuration file (rest/resources/rest.json). | ||
operationId: getRentalFees | ||
responses: | ||
"200": | ||
description: success | ||
content: | ||
application/json: | ||
schema: | ||
$ref: "../schemas/RentalFeesDTO.yml" | ||
"409": | ||
$ref: "../../../responses/InvalidArgument.yml" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
tags: | ||
- Network routes | ||
summary: Get transaction fees information | ||
description: | | ||
Returns the average, median, highest and lower fee multiplier over the last "numBlocksTransactionFeeStats". | ||
The setting "numBlocksTransactionFeeStats" is adjustable via the configuration file (rest/resources/rest.json) per REST instance. | ||
operationId: getTransactionFees | ||
responses: | ||
"200": | ||
description: success | ||
content: | ||
application/json: | ||
schema: | ||
$ref: "../schemas/TransactionFeesDTO.yml" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
type: object | ||
required: | ||
- effectiveRootNamespaceRentalFeePerBlock | ||
- effectiveChildNamespaceRentalFee | ||
- effectiveMosaicRentalFee | ||
properties: | ||
effectiveRootNamespaceRentalFeePerBlock: | ||
$ref: "../../../schemas/Amount.yml" | ||
description: Estimated effective rental fee to register/extend a namespace per block. | ||
example: 0 | ||
effectiveChildNamespaceRentalFee: | ||
$ref: "../../../schemas/Amount.yml" | ||
description: Estimated effective rental fee to create a subnamespace. | ||
example: 0 | ||
effectiveMosaicRentalFee: | ||
$ref: "../../../schemas/Amount.yml" | ||
description: Estimated effective rental fee to create a mosaic. | ||
example: 0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters