Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.getpara.com/llms.txt

Use this file to discover all available pages before exploring further.

After sending a transaction, you need to monitor its status and retrieve the receipt to confirm its execution.
Wagmi is not available on React Native. Use Ethers.js or Viem for EVM operations.

Get Transaction Receipt

import { ethers } from "ethers";

async function getTransactionReceipt(
  provider: ethers.Provider,
  txHash: string
) {
  const receipt = await provider.getTransactionReceipt(txHash);
  console.log("Transaction Receipt:", receipt);
  return receipt;
}

async function waitForTransaction(provider: ethers.Provider, txHash: string) {
  const receipt = await provider.waitForTransaction(txHash);
  console.log("Transaction Confirmed:", receipt);
  return receipt;
}

Next Steps