Submit Ticket
Here is a detailed explanation of the parameters for the submitTicket API:
Header
Body
Signature:
To obtain a correct interface signature, we need to follow these 5 steps:
Construct the body parameter object correctly according to the requirements.
Concatenate the parameters of the complete body parameter object, sorted alphabetically, using '&' as a separator. For example:
chan=FSN&hash=0x4190dc4627cb4e97292...
Prefix the string generated in
step 2
withEvmAddress=...&{result of step 2}
, for example:EvmAddress=0x42a6685ef29886Cbcb595Aa903f00dea0d1787d8&chan=FSN&hash=0x4190dc4627...
Apply
keccak256
hashing to the result ofstep 3
.Sign the result of
step 4
with the wallet.
get Signature examples:
Last updated