diff --git a/packages/library-legacy/src/connection.ts b/packages/library-legacy/src/connection.ts index 3f4c701ea8bf..e65cb4a5ca94 100644 --- a/packages/library-legacy/src/connection.ts +++ b/packages/library-legacy/src/connection.ts @@ -3640,6 +3640,8 @@ export class Connection { /** * Returns epoch activation information for a stake account that has been delegated + * + * @deprecated Deprecated since RPC v1.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..3727ed60bbbb 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 since RPC v1.18; will be removed in a future version. */ getStakeActivation( address: Address,