ChangePubKey
type ChangePubKeyBuilder
constructor
/**
* @param {number} chain_id
* @param {number} account_id
* @param {number} sub_account_id
* @param {string} new_pubkey_hash
* @param {number} fee_token
* @param {string} fee
* @param {number} nonce
* @param {string | undefined} [eth_signature]
* @param {number | undefined} [ts]
*/
ChangePubKeyBuilder(chain_id, account_id, sub_account_id, new_pubkey_hash, fee_token, fee, nonce, eth_signature, ts)type ChangePubKey
ChangePubkey transaction type.
constructor
func getChangePubkeyMessage
Get the EIP-712 structured data of ChangePubKey
func getEthSignMsg
Get the Ethereum sign message
func setEthAuthData
Set Ethereum authentication data with given EthECDSA signature
func sign
Sign transaction with given ZkLinkSigner
Example
Last updated
Was this helpful?