Skip to main content

Module builder_fee

Module builder_fee 

Source
Expand description

Builder fee approval and verification functionality.

Note: Hyperliquid uses non-standard EIP-712 type names with colons (e.g., “HyperliquidTransaction:ApproveBuilderFee”) which cannot be represented using alloy’s sol! macro. The struct hash is computed manually while the domain uses alloy’s Eip712Domain.

Structs§

BuilderFeeApprovalResult
Result of a builder fee approval request.
BuilderFeeInfo
Information about the Nautilus builder fee configuration.
BuilderFeeVerifyResult
Result of a builder fee verification query.

Functions§

approve_builder_fee
Approves the Nautilus builder fee for a wallet.
approve_from_env
Approves the Nautilus builder fee using environment variables.
revoke_builder_fee
Revokes the Nautilus builder fee approval for a wallet.
revoke_from_env
Revokes the Nautilus builder fee using environment variables.
verify_builder_fee
Verifies builder fee approval status for a wallet.
verify_from_env_or_address
Verifies builder fee approval using an optional wallet address or environment variables.