Function near_primitives::utils::create_action_hash[][src]

pub fn create_action_hash(
    protocol_version: ProtocolVersion,
    receipt: &Receipt,
    prev_block_hash: &CryptoHash,
    block_hash: &CryptoHash,
    action_index: usize
) -> CryptoHash

Creates a new action_hash from a given receipt, a block hash and an action index. This method is backward compatible, so it takes the current protocol version.