Routing
Get OP hook
Generates OP hook data required for certain cross-chain routes that involve Optimistic bridge withdrawals with ERC-20 token conversion. When the Compute Route response includes required_op_hook: true, you must call this endpoint to obtain the hook payload before generating transaction messages.
Pass the returned hook data to the Generate Transaction endpoint (POST /v2/fungible/msgs) in the signed_op_hook field after signing it.
post/op-hook
Request body
Response
Successful response
Changes
Changed in 2 of the 6 revisions of this API.11
- ○
endpoint added
endpoint-added
- ○
- ▲
api path removed without deprecation
api-path-removed-without-deprecation
- ▲