Enable Trading
Usage
# Step 1: Build the transaction
tx_result = builder.build_enable_trading_tx(safe_address)
# Step 2: User signs the EIP-712 data
signature = user.sign_typed_data(tx_result["eip712_data"])
# Step 3: Submit to backend for relay
result = builder.submit_safe_tx(
wallet_address=user_address, # User's EOA address
safe_tx_result=tx_result,
signature=signature,
)Parameters
build_enable_trading_tx()
build_enable_trading_tx()Parameter
Type
Required
Description
submit_safe_tx()
submit_safe_tx()Parameter
Type
Required
Description