Skip to content

Commit

Permalink
fix: update deprecated rpc methods (#335)
Browse files Browse the repository at this point in the history
  • Loading branch information
ZYJLiu authored Aug 21, 2024
1 parent 207d23e commit 3e78e1c
Show file tree
Hide file tree
Showing 5 changed files with 48 additions and 1 deletion.
13 changes: 13 additions & 0 deletions docs/rpc/deprecated/confirmTransaction.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
---
sidebarLabel: confirmTransaction
title: confirmTransaction RPC Method
hideTableOfContents: true
---

Fetch the current status of a transaction signature (processed, confirmed,
finalized).

<Callout type={"warning"} title={"Deprecated Method"}>
This method is expected to be removed in `solana-core` v2.0. Please use
[getSignatureStatuses](/docs/rpc/http/getSignatureStatuses) instead.
</Callout>
3 changes: 2 additions & 1 deletion docs/rpc/deprecated/getFeeRateGovernor.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@ altRoutes:
Returns the fee rate governor information from the root bank

<Callout type={"warning"} title={"Deprecated Method"}>
This method is expected to be removed in `solana-core` v2.0.
This method is expected to be removed in `solana-core` v2.0. Please use
[getFeeForMessage](/docs/rpc/http/getFeeForMessage) instead.
</Callout>

<DocSideBySide>
Expand Down
13 changes: 13 additions & 0 deletions docs/rpc/deprecated/getSignatureConfirmation.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
---
sidebarLabel: getSignatureConfirmation
title: getSignatureConfirmation RPC Method
hideTableOfContents: true
---

Fetch the current status of a transaction signature (processed, confirmed,
finalized).

<Callout type={"warning"} title={"Deprecated Method"}>
This method is expected to be removed in `solana-core` v2.0. Please use
[getSignatureStatuses](/docs/rpc/http/getSignatureStatuses) instead.
</Callout>
13 changes: 13 additions & 0 deletions docs/rpc/deprecated/getSignatureStatus.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
---
sidebarLabel: getSignatureStatus
title: getSignatureStatus RPC Method
hideTableOfContents: true
---

Fetch the current status of a transaction signature (processed, confirmed,
finalized).

<Callout type={"warning"} title={"Deprecated Method"}>
This method is expected to be removed in `solana-core` v2.0. Please use
[getSignatureStatuses](/docs/rpc/http/getSignatureStatuses) instead.
</Callout>
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,13 @@ altRoutes:

Returns epoch activation information for a stake account

<Callout type={"warning"} title={"Deprecated Method"}>
This method is expected to be removed in `solana-core` v2.0. Please use [this
alternative
approach](https://gist.github.com/joncinque/ccd5166a857d629f30b2c01cd010041d)
instead.
</Callout>

<DocSideBySide>

<DocLeftSide>
Expand Down

0 comments on commit 3e78e1c

Please sign in to comment.