Blocks a call from being executed pallet_name: The name of the pallet as per the runtime file. i.e. FeeProxy call_name: The snake_case name for the call. i.e. set_fee Both pallet and call names are not case sensitiveNamespace
Copy
Ask AI
api.tx.maintenanceMode.blockCall
Type
Copy
Ask AI
function blockCall( pallet_name: Bytes, call_name: Bytes, blocked: bool)
Blocks an entire pallets calls from being executed pallet_name: The name of the pallet as per the runtime file. i.e. FeeProxy Pallet names are not case sensitiveNamespace
Copy
Ask AI
api.tx.maintenanceMode.blockPallet
Type
Copy
Ask AI
function blockPallet( pallet_name: Bytes, blocked: bool)