Skip to content
Logo

getBondEvent

Usage

import {  } from "viem";
import {  } from "@cartesi/client";
 
const  = ({
  : ("http://127.0.0.1:6751/rpc"),
});
 
const  = await .({
  : "0x...",
  : "0x...",
  : 0n,
});

Both keys come from listBondEvents. A log index of zero is valid.

Parameters

import type {  } from "@cartesi/client";
// {
//   application: Address | string;
//   txHash: Hash;
//   logIndex: bigint;
// }

Return Type

import type { ,  } from "@cartesi/client";
// GetBondEventReturnType = BondEvent;