-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
17ae2d7
commit dbbeff3
Showing
57 changed files
with
98 additions
and
60 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
import { TransactionSignature } from '@solana/web3.js'; | ||
import { SolTransferDetailsResponse } from '..'; | ||
/** | ||
* Fetches the details of a transaction, specifically the token transfer details. | ||
* | ||
* @param rpcUrl - The URL of the Solana RPC endpoint. | ||
* @param signature - The transaction signature. | ||
* @returns {Promise<SolTransferDetailsResponse>} - A promise that resolves with the token transfer details. | ||
* | ||
* @example | ||
* ```typescript | ||
* const rpcUrl = 'https://api.mainnet-beta.solana.com'; | ||
* const signature = '5verv...'; // Example transaction signature | ||
* | ||
* const transferDetails = await getTokenTransferDetails(rpcUrl, signature); | ||
* console.log(transferDetails); | ||
* ``` | ||
*/ | ||
export declare const getSolTransferDetails: (rpcUrl: string, signature: TransactionSignature) => Promise<SolTransferDetailsResponse>; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
export declare const VERSION = "0.2.5"; | ||
export declare const VERSION = "0.2.6"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.