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

Last updated