CanDeleteCurrency
Checks whether a specific account is authorized to delete a given currency.
Request
GET /nxt?requestType=canDeleteCurrency
Parameters
| Name | Type | Description | Required |
|---|---|---|---|
currency | long | Currency ID | Yes |
account | string | Account ID or NXT address | Yes |
Response
{
"canDelete": true
}
Response Fields Description
| Field | Type | Description |
|---|---|---|
canDelete | boolean | true if the account can delete the currency |
Example
curl "http://localhost:22024/nxt?requestType=canDeleteCurrency¤cy=987654321&account=1234567890"