useBondEvent
Usage
import { } from "@cartesi/react";
function () {
const { , } = ({
: "0x...",
: "0x...",
: 0n,
});
// render logic
}Both keys come from useBondEvents. A log index of zero is valid.
Return Type
The data is a BondEvent:
import {
type ,
type ,
} from "@cartesi/client";