diff --git a/packages/library-legacy/src/connection.ts b/packages/library-legacy/src/connection.ts index fb89d00644c9..e3fb1e00d512 100644 --- a/packages/library-legacy/src/connection.ts +++ b/packages/library-legacy/src/connection.ts @@ -3607,6 +3607,8 @@ export class Connection { /** * Returns epoch activation information for a stake account that has been delegated + * + * @deprecated Deprecated in 1.18; will be removed in a future version. */ async getStakeActivation( publicKey: PublicKey, diff --git a/packages/rpc-api/src/getStakeActivation.ts b/packages/rpc-api/src/getStakeActivation.ts index ea24c3d4d404..7c21b68e58ed 100644 --- a/packages/rpc-api/src/getStakeActivation.ts +++ b/packages/rpc-api/src/getStakeActivation.ts @@ -14,6 +14,8 @@ type GetStakeActivationApiResponse = Readonly<{ export interface GetStakeActivationApi extends RpcApiMethods { /** * Returns epoch activation information for a stake account + * + * @deprecated Deprecated in 1.18; will be removed in a future version. */ getStakeActivation( address: Address,