Skip to content
Logo

cartesi_getMatchAdvance

Usage

import {  } from "@cartesi/rpc";
 
const  = ({ : "http://127.0.0.1:6751/rpc" });
 
const { :  } = await .("cartesi_getMatchAdvance", {
    : "0x0974CC873dF893B302f6be7ecf4F9D4b1A15C366",
    : "0x2A",
    : "0x0974CC873dF893B302f6be7ecf4F9D4b1A15C366",
    : "0x0974CC873dF893B302f6be7ecf4F9D4b1A15C366",
    : "0x0974CC873dF893B302f6be7ecf4F9D4b1A15C366",
    : "0x0",
});

An advance is keyed by the transaction hash and block-global log index of its event, both of which cartesi_listMatchAdvances returns: repeated other-parent hashes stay distinct events, so the parent hash alone does not identify one. A log index of zero is valid.

Return Type

import { type  } from "@cartesi/rpc";