diff --git a/services/token_dissociate.proto b/services/token_dissociate.proto index e7d9d6d9..304b9f9f 100644 --- a/services/token_dissociate.proto +++ b/services/token_dissociate.proto @@ -33,7 +33,6 @@ import "basic_types.proto"; * If the provided account is not found, the transaction will resolve to INVALID_ACCOUNT_ID. * If the provided account has been deleted, the transaction will resolve to ACCOUNT_DELETED. * If any of the provided tokens is not found, the transaction will resolve to INVALID_TOKEN_REF. - * If any of the provided tokens has been deleted, the transaction will resolve to TOKEN_WAS_DELETED. * If an association between the provided account and any of the tokens does not exist, the * transaction will resolve to TOKEN_NOT_ASSOCIATED_TO_ACCOUNT. * If a token has not been deleted and has not expired, and the user has a nonzero balance, the diff --git a/services/token_service.proto b/services/token_service.proto index fc79c3f9..58699a12 100644 --- a/services/token_service.proto +++ b/services/token_service.proto @@ -104,9 +104,11 @@ service TokenService { rpc getTokenInfo (Query) returns (Response); /** - * Gets info on NFTs N through M on the list of NFTs associated with a given account + * (DEPRECATED) Gets info on NFTs N through M on the list of NFTs associated with a given account */ - rpc getAccountNftInfos (Query) returns (Response); + rpc getAccountNftInfos (Query) returns (Response) { + option deprecated = true; + }; /** * Retrieves the metadata of an NFT by TokenID and serial number @@ -114,7 +116,9 @@ service TokenService { rpc getTokenNftInfo (Query) returns (Response); /** - * Gets info on NFTs N through M on the list of NFTs associated with a given Token of type NON_FUNGIBLE + * (DEPRECATED) Gets info on NFTs N through M on the list of NFTs associated with a given Token of type NON_FUNGIBLE */ - rpc getTokenNftInfos (Query) returns (Response); + rpc getTokenNftInfos (Query) returns (Response) { + option deprecated = true; + }; }