l2_getL2MMRProof

Return the MMR proof of message that send from L2 to L1.

Parameters

  • msgIndex: uint64|QUANTITY - specified cross chain msg, enable hex-encoded and original string.

  • size: uint64|QUANTITY - MMR tree size

Returns

Array: Hash Array - MMR proof

Example

Request

{
    "jsonrpc": "2.0",
    "method": "l2_getL2MMRProof",
    "id": 0,
    "params": [
        "0x1",
        "0x5"
    ]
}

Result

{
    "jsonrpc": "2.0",
    "id": 0,
    "result": [
        "0xb5e35054842f48bde929a99d84f8163b7b617133e52764c15240fafa442d461f",
        "0x1e219662760f97600f27a64080c6082edf480373f16385a6b2f8ace58e23187a",
        "0x4ffab73a1f643f1de3d69e1a7dad96b3544852fb24d88f1984b4cb326039e375"
    ]
}

Last updated