All URIs are relative to http://localhost:12052
Method | HTTP request | Description |
---|---|---|
NodeDeleteWalletPost | Post /node/delete_wallet | Delete a wallet |
NodeExportWalletPost | Post /node/export_wallet | Export wallet secret key |
NodeGenerateWalletPost | Post /node/generate_wallet | Generate a new wallet |
NodeGetAllWalletsPost | Post /node/get_all_wallets | Get all wallet labels |
NodeGetRulesPost | Post /node/get_rules | Get network governance rules |
NodeGetTaskStatusPost | Post /node/get_task_status | Get all tasks in the node |
NodeImportWalletPost | Post /node/import_wallet | Import wallet from secret key |
NodeUnlockWalletPost | Post /node/unlock_wallet | Unlocks a wallet for a given amount of seconds [async call] |
NodeDeleteWalletPost(ctx, deleteWalletRequest) Delete a wallet
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
deleteWalletRequest | DeleteWalletRequest |
(empty response body)
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
ExportWalletResponse NodeExportWalletPost(ctx, exportWalletRequest) Export wallet secret key
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
exportWalletRequest | ExportWalletRequest |
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
NodeGenerateWalletPost(ctx, generateWalletRequest) Generate a new wallet
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
generateWalletRequest | GenerateWalletRequest |
(empty response body)
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
GetAllWalletsResponse NodeGetAllWalletsPost(ctx, ) Get all wallet labels
This endpoint does not need any parameter.
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
GetRulesResponse NodeGetRulesPost(ctx, ) Get network governance rules
This endpoint does not need any parameter.
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
GetTaskStatusResponse NodeGetTaskStatusPost(ctx, getTaskStatusRequest) Get all tasks in the node
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
getTaskStatusRequest | GetTaskStatusRequest |
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
NodeImportWalletPost(ctx, importWalletRequest) Import wallet from secret key
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
importWalletRequest | ImportWalletRequest |
(empty response body)
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
AsyncTaskCreatedResponse NodeUnlockWalletPost(ctx, unlockWalletRequest) Unlocks a wallet for a given amount of seconds [async call]
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
unlockWalletRequest | UnlockWalletRequest |
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]