pub fn hash_remittance_parameters(
nonce: u64,
amount: u64,
address: &str,
chain_id: &str,
dc_canister_id: &str,
token_address: &str,
) -> Vec<u8> ⓘExpand description
Hashes the parameters needed for a remittance transaction.
§Parameters
nonce: A unique number to ensure the transaction is unique.amount: The amount to be remitted.address: The recipient’s Ethereum address.chain_id: The ID of the blockchain network.dc_canister_id: The ID of the DC canister.token_address: The address of the token being transferred.
§Returns
A vector of bytes representing the hashed parameters.