• Fetches the details of a transaction, specifically the token transfer details.

    Parameters

    • rpcUrl: string

      The URL of the Solana RPC endpoint.

    • signature: string

      The transaction signature.

    Returns Promise<SolTransferDetailsResponse>

    • A promise that resolves with the token transfer details.

    Example

    const rpcUrl = 'https://api.mainnet-beta.solana.com';
    const signature = '5verv...'; // Example transaction signature

    const transferDetails = await getSolTransferDetails(rpcUrl, signature);
    console.log(transferDetails);

Generated using TypeDoc