-
Notifications
You must be signed in to change notification settings - Fork 217
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Display Shelley migrations in Api doc #1687
Changes from 1 commit
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -1660,6 +1660,7 @@ x-tagGroups: | |
- Addresses | ||
- Coin Selections | ||
- Transactions | ||
- Migrations | ||
- Stake Pools | ||
|
||
- name: Byron (Random) | ||
|
@@ -1967,26 +1968,32 @@ paths: | |
/wallets/{walletId}/migrations: | ||
get: | ||
operationId: getShelleyWalletMigrationInfo | ||
tags: ["Shelley Migrations"] | ||
tags: ["Migrations"] | ||
summary: Calculate Cost | ||
description: | | ||
<p align="right">status: <strong>stable</strong></p> | ||
<p align="right">status: <strong>in development</strong></p> | ||
|
||
Calculate the exact cost of migrating from a Shelley wallet to | ||
the specified set of addresses. | ||
Calculate the exact cost of sending all funds from particular Shelley wallet | ||
to a set of addresses. | ||
parameters: | ||
- <<: *parametersWalletId | ||
name: walletId | ||
responses: *responsesGetWalletMigrationInfo | ||
|
||
post: | ||
operationId: migrateShelleyWallet | ||
tags: ["Shelley Migrations"] | ||
tags: ["Migrations"] | ||
summary: Migrate | ||
description: | | ||
<p align="right">status: <strong>stable</strong></p> | ||
<p align="right">status: <strong>in development</strong></p> | ||
|
||
Migrate all funds from a Shelley wallet to a specified set of addresses. | ||
Create one or several transactions sending all funds from a Shelley wallet to set of addresses. | ||
This operation tries to preserve as much as possible the current UTxO shape of a wallet (hence | ||
why several transactions may be needed). | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I wonder whether word There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. How about this
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Reworded in 508e41b. |
||
|
||
A typical usage would be when one wants to move all funds from an old wallet to another | ||
by providing addresses coming from the new wallet. | ||
parameters: | ||
- <<: *parametersWalletId | ||
name: walletId | ||
|
@@ -2212,8 +2219,8 @@ paths: | |
description: | | ||
<p align="right">status: <strong>stable</strong></p> | ||
|
||
Calculate the exact cost of migrating from a Byron wallet to | ||
the specified set of addresses. | ||
Calculate the exact cost of sending all funds from particular Byron wallet to | ||
a set of addresses. | ||
parameters: | ||
- <<: *parametersWalletId | ||
name: walletId | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Shelley migrations were not displayed in api doc because of this 👆