build_change_pubkey_safe_tx

Documentation for eth_defi.lighter.pubkey.build_change_pubkey_safe_tx function.

build_change_pubkey_safe_tx(web3, safe, account_index, api_key_index, pubkey, zk_lighter='0x3B4D794a66304F130a4Db8F2551B0070dfCf5ca7')

Build an (unsigned) Safe transaction calling ZkLighter.changePubKey.

The Safe is the Lighter account’s L1 owner. Sign and execute the result with the Safe owners, or submit the encoded transaction through the Safe Transaction Service.

Returns

An unsigned SafeTx.

Parameters
Return type

safe_eth.safe.safe_tx.SafeTx