To claim a submission, a call to the deBridgeGate.claim() method on the destination chain must be crafted using data taken from various sources. Though deSDK already provides a handy method for this, we explain here where to take and how to prepare this data.Documentation Index
Fetch the complete documentation index at: https://docs.debridge.com/llms.txt
Use this file to discover all available pages before exploring further.
_debridgeId,_amount,_receiver,_noncecan be taken from the corresponding args of the Sent event,_chainIdFromis obviously the ID of the origin chain,_signaturesis the string with the signatures concatenated without a delimiter (don’t forget to strip hexadecimal prefixes from each but the first); signatures can be pulled from the deBridge API,_autoParamsis the encodedSubmissionAutoParamsFromstruct, which is the derivative of theSubmissionAutoParamsTowithnativeSendertaken from the Sent event: so you need to decode_autoParamsagainst theSubmissionAutoParamsTostruct, add the fifth element, and encode back against theSubmissionAutoParamsFrom` struct.

Claimed event. This will
indicate a successful submission.