RevertOptions
Options controlling the ZetaChain revert/abort flow for a cross-chain call.
Verbatim mirror of the canonical RevertOptions struct (zeta-chain/protocol-contracts
contracts/Revert.sol, MIT).
struct RevertOptions {
address revertAddress;
bool callOnRevert;
address abortAddress;
bytes revertMessage;
uint256 onRevertGasLimit;
}Properties
| Name | Type | Description |
|---|---|---|
| revertAddress | address | Address to receive the revert on the source chain. |
| callOnRevert | bool | Whether the onRevert hook should be called. |
| abortAddress | address | Address to receive funds if the message is aborted. |
| revertMessage | bytes | Arbitrary data sent back in onRevert. |
| onRevertGasLimit | uint256 | Gas limit for the revert tx (unused on GatewayZEVM methods). |