import { CIRCOM_P as e } from "../../constants/protocol.constants.mjs";
import { ethers as t } from "ethers";
//#region libs/shared/common/src/functions/utils/external-action.utils.ts
var n = (n) => n === 0n ? 0n : BigInt(t.id(n)) % e;
//#endregion
export { n as getExternalActionIdHash };
