Usage
Parameters
burnTxHash(string | null | undefined): the source-chain burn to follow. The query is idle without one.getBearerToken(() => Promise<string | null | undefined>): asked on every refetch.pollIntervalMs(optional, default 15000): how often to ask while the deposit isPENDING. Polling stops once it isMINTED,FAILEDorUNREGISTERED.queryOptions(optional): extra TanStack Query options.
Return Value
A TanStackUseQueryResult<CctpDepositStatus>. data.status is PENDING while Circle attests and Chipi’s delivery runs, MINTED with data.mintTx (the Starknet receive_message transaction), FAILED (support can finish it; the burn is safe), or UNREGISTERED (call registerCctpDeposit).
