l2_getL2RelayMsgParams
Return the params to invoke relayMessage
or replayMessage
of L2 cross witness contract
.
Parameters
msgIndex
: uint64|QUANTITY - specified cross chain msg, enable hex-encoded and original string.
Returns
Object - A object with the following fields:
target
: Address -to
address of messagesender
: Address -from
address of messagemessage
: byte array - message contentmessageIndex
: QUANTITY - the index of messagemmrSize
: QUANTITY - the size of MMR treeproof
: Hash Array - refer MMR proof
Example
Request
Result
Last updated