Reactivate a currency
Activates a previously deactivated currency in Tetrium. Reactivating the currency will make all the currency-specific functions functional again.
Call URL
/currencies/(currencyAddress)/reactivation
Type : POST
Field |
Type |
Required/Optional |
Description |
Accepted values |
wallet-address |
string |
Required |
The sender's wallet address. |
Any valid wallet address |
wallet-key |
string |
Required |
The key of the sender's wallet. |
Any valid wallet key that unlocks the sender's wallet |
Call request URL parameters
Field |
Type |
Required/Optional |
Description |
Accepted values |
currencyAddress |
string |
Required |
The address of the involved currency. |
Any valid currency address |
Sample Call Request
https://api.tetrium.io/currencies/0x29341b674091d600c227B137a457b0573515A7A8/reactivation
Call responses
Success response
Field |
Type |
Description |
Respond Values |
status |
string |
Status of the API call. |
"success" |
message |
string |
Information about the status. |
"reactivate-currency completed" |
Error response
Field |
Type |
Description |
Respond Values |
status |
string |
Status of the API call. |
"fail" |
error |
string |
Information about the error. |
(See below) |
Information contained in error
:
Error Messages |
Description |
"invalid currencyAddress" |
currencyAddress provided was not in the correct format. |
"currency is currently active" |
The currency is already active. |
For any other errors, please refer to List of Common Error Messages
Sample Call Response
{
"status":"success",
"message":"reactivate-currency completed"
}