Skip to Content
Dive DeeperIReactorGateway

Reactor Gateway

The Gateway is the public on-chain message submission interface. Normal integrations use two functions:

interface IReactorGateway { function feeManager() external view returns (address); function send( address _paymentToken, string calldata _destinationName, string calldata _destinationAddress, string calldata _action, bytes calldata _payload, bool _waitForFinality ) external payable; }

feeManager() returns the current pricing contract. send(...) accepts a supported payment token (address(0) for native gas), destination, action, ABI payload, and finality preference. When paying with native gas, attach at least the value returned by getSendFee; token payments require the appropriate allowance.

The public Solidity SDK intentionally omits execution, retry, pause, configuration, role, and other protocol-operator functions. Application contracts should not depend on those administrative surfaces.

See Sending Messages, Fee Manager, and Solidity SDK.

Last updated on