useCommitment
Usage
import { } from "@cartesi/wagmi";
function () {
const { , } = ({
: "0x...",
: 1n,
: "0x...",
: "0x...",
});
// render logic
}Return Type
The data is an Commitment:
import {
type ,
type ,
} from "@cartesi/viem";